From a8f2f4e6f1a9173d7eb9779c7879674015c8cda0 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期四, 10 十月 2024 14:07:31 +0800
Subject: [PATCH] 项目启动加载已发布的dll和jar 先判断文件是否存在

---
 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/McsApi.java |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/McsApi.java b/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/McsApi.java
index abb31a0..99d264b 100644
--- a/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/McsApi.java
+++ b/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/McsApi.java
@@ -1,10 +1,7 @@
 package com.iailab.module.model.api.mcs;
 
 import com.iailab.framework.common.pojo.CommonResult;
-import com.iailab.module.model.api.mcs.dto.AlarmMessageDTO;
-import com.iailab.module.model.api.mcs.dto.PredictItemInfoDTO;
-import com.iailab.module.model.api.mcs.dto.PredictItemTreeDTO;
-import com.iailab.module.model.api.mcs.dto.ScheduleSuggestDTO;
+import com.iailab.module.model.api.mcs.dto.*;
 import com.iailab.module.model.enums.ApiConstants;
 import io.swagger.v3.oas.annotations.Operation;
 import io.swagger.v3.oas.annotations.tags.Tag;
@@ -23,7 +20,7 @@
  * @createTime 2024年08月26日
  */
 @FeignClient(name = ApiConstants.NAME)
-@Tag(name = "RPC 服务 - MCS")
+@Tag(name = "RPC 服务 - 模型配置接口")
 public interface McsApi {
 
     String PREFIX = ApiConstants.PREFIX + "/mcs";
@@ -38,18 +35,25 @@
 
     @PostMapping(PREFIX + "/alarm-message/create")
     @Operation(summary = "添加预警信息")
-    CommonResult<Boolean> createAlarmMessage(@RequestBody AlarmMessageDTO dto);
+    CommonResult<Boolean> createAlarmMessage(@RequestBody AlarmMessageRespDTO dto);
 
     @GetMapping(PREFIX + "/alarm-message/list")
-    @Operation(summary = "获取预警信息")
-    CommonResult<AlarmMessageDTO> listAlarmMessage(@RequestParam Map<String, Object> params);
+    @Operation(summary = "获取预警信息列表")
+    CommonResult<AlarmMessageRespDTO> listAlarmMessage(@RequestParam Map<String, Object> params);
 
     @PostMapping(PREFIX + "/schedule-suggest/create")
     @Operation(summary = "添加调度建议")
-    CommonResult<Boolean> createScheduleSuggest(@RequestBody ScheduleSuggestDTO dto);
+    CommonResult<Boolean> createScheduleSuggest(@RequestBody ScheduleSuggestRespDTO dto);
 
     @GetMapping(PREFIX + "/alarm-message/list")
-    @Operation(summary = "获取调度建议")
-    CommonResult<ScheduleSuggestDTO> listScheduleSuggest(@RequestParam Map<String, Object> params);
+    @Operation(summary = "获取调度建议列表")
+    CommonResult<ScheduleSuggestRespDTO> listScheduleSuggest(@RequestParam ScheduleSuggestReqDTO params);
 
+    @PostMapping(PREFIX + "/predict-model-setting/modify")
+    @Operation(summary = "修改预测模型设置参数")
+    CommonResult<Boolean> modifyPredictModelSetting(@RequestBody List<PredictModelSettingReqDTO> dtos);
+
+    @PostMapping(PREFIX + "/schedule-model-setting/modify")
+    @Operation(summary = "修改调度模型设置参数")
+    CommonResult<Boolean> modifyScheduleModelSetting(@RequestBody List<ScheduleModelSettingReqDTO> dtos);
 }
\ No newline at end of file

--
Gitblit v1.9.3