From e87ef2d7437cad2e76cf2fedcd974b0b742ce6b9 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期一, 17 三月 2025 16:36:25 +0800
Subject: [PATCH] 结束时间+1

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

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/McsApiController.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/McsApiController.java
index 85882ac..4d2a470 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/McsApiController.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/McsApiController.java
@@ -229,4 +229,25 @@
         List<ElectricityPriceSegmentedDTO> electricityPriceSegmentedList = mcsApi.getElectricityPriceList(year, time);
         return CommonResult.success(electricityPriceSegmentedList);
     }
+
+    @GetMapping("/schedule/model/setting/update")
+    @Operation(summary = "修改调度模型配置")
+    public CommonResult<Boolean> updateScheduleModelSetting(@RequestParam("modelCode") String modelCode, @RequestParam("key") String key, @RequestParam("value") String value){
+        mcsApi.updateScheduleModelSetting(modelCode, key, value);
+        return success( true);
+    }
+
+    @GetMapping("/alarm-config/update")
+    @Operation(summary = "修改预警配置列表")
+    public CommonResult<Boolean> updateAlarmConfig(@RequestParam("alarmObj")String alarmObj, @RequestParam("upperLimit")String upperLimit, @RequestParam("lowerLimit")String lowerLimit){
+        mcsApi.updateAlarmConfig(alarmObj, upperLimit, lowerLimit);
+        return success( true);
+    }
+
+    @PostMapping("/chart/param/update")
+    @Operation(summary = "修改图表参数配置")
+    public CommonResult<Boolean> updateChartParam(@RequestBody ChartDTO chartDTO){
+        mcsApi.updateChartParam(chartDTO);
+        return success( true);
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3