From 75c07ca9482f40eea62ab67f9505cc0247393354 Mon Sep 17 00:00:00 2001
From: dongyukun <1208714201@qq.com>
Date: 星期一, 24 三月 2025 20:00:53 +0800
Subject: [PATCH] point天频率采集

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/McsApiController.java |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 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..8197392 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,36 @@
         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);
+    }
+
+    @PostMapping("/item/result")
+    public CommonResult<List<Object[]>> getItemResult(@RequestBody  PreItemResultReqVO reqVO){
+        List<Object[]> list = mcsApi.getItemResult(reqVO);
+        return CommonResult.success(list);
+    }
+
+    @GetMapping("/predict-item/itemNo")
+    public CommonResult<PredictItemVO> getPredictItemByItemNo(@RequestParam("itemNo") String itemNo){
+        PredictItemVO proVo = mcsApi.getPredictItemByItemNo(itemNo);
+        return CommonResult.success(proVo);
+    }
+
+    @PostMapping("/item/result/last-point")
+    public CommonResult<List<Object[]>> getItemResultLastPoint(@RequestBody  PreItemResultReqVO reqVO){
+        List<Object[]> list = mcsApi.getItemResultLastPoint(reqVO);
+        return CommonResult.success(list);
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3