From 45ccb96b7a3a9929e8beb6a2c5793eff6170b56d Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期日, 23 三月 2025 14:12:40 +0800
Subject: [PATCH] curData + T+L

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/McsApiController.java |   14 ++++++++++++++
 1 files changed, 14 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 1e97f5f..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
@@ -236,4 +236,18 @@
         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