From 268c71b4154956daddfb7cd17d5baade9e59d46d Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期一, 06 一月 2025 15:16:46 +0800
Subject: [PATCH] 获取调度执行结果,不保存记录

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/MdkApiController.java |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/MdkApiController.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/MdkApiController.java
index 4be5711..11e2b3b 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/MdkApiController.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/MdkApiController.java
@@ -1,5 +1,6 @@
 package com.iailab.module.model.api.controller.admin;
 import com.iailab.module.model.api.mdk.MdkApi;
+import com.iailab.module.model.api.mdk.dto.MdkScheduleReqDTO;
 import com.iailab.module.model.api.mdk.dto.MdkScheduleRespDTO;
 import com.iailab.module.model.common.utils.ApiSecurityUtils;
 import io.swagger.v3.oas.annotations.Operation;
@@ -36,4 +37,12 @@
         apiSecurityUtils.validate(request);
         return mdkApi.scheduleModelOut(dto);
     }
+
+    @PostMapping("/schedule-result")
+    @Operation(summary = "获取调度执行结果,不保存记录")
+    public MdkScheduleRespDTO runSchedule(HttpServletResponse response, HttpServletRequest
+            request, @RequestBody MdkScheduleReqDTO reqDTO) throws Exception {
+        apiSecurityUtils.validate(request);
+        return mdkApi.runSchedule(reqDTO);
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3