From 45ce1ff761dc5438c4a49e53c28ec50126d6023d Mon Sep 17 00:00:00 2001
From: liriming <1343021927@qq.com>
Date: 星期一, 24 三月 2025 14:15:32 +0800
Subject: [PATCH] 接收参数修改

---
 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/McsApi.java |   56 +++++++++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 43 insertions(+), 13 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 22cb6eb..fcb8ff0 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
@@ -13,6 +13,7 @@
 import org.springframework.web.bind.annotation.RequestParam;
 
 import java.math.BigDecimal;
+import java.util.Date;
 import java.util.List;
 import java.util.Map;
 
@@ -36,7 +37,7 @@
     PreDataBarLineRespVO getPreDataCharts(@RequestBody PreDataBarLineReqVO reqVO);
 
     @PostMapping(PREFIX + "/predict-data/item-chart")
-    @Operation(summary = "预测数据图表")
+    @Operation(summary = "预测数据图表-预测项首页图表")
     PreDataItemChartRespVO getPreDataItemChart(@RequestBody PreDataItemChartReqVO reqVO);
 
     @PostMapping(PREFIX + "/predict-data/single-chart")
@@ -71,9 +72,9 @@
     @Operation(summary = "添加调度建议")
     Boolean createScheduleSuggest(@RequestBody ScheduleSuggestRespDTO dto);
 
-    @GetMapping(PREFIX + "/schedule-suggest/list")
+    @PostMapping(PREFIX + "/schedule-suggest/list")
     @Operation(summary = "获取调度建议列表")
-    List<ScheduleSuggestRespDTO> listScheduleSuggest(@RequestParam Map<String, Object> params);
+    List<ScheduleSuggestRespDTO> listScheduleSuggest(@RequestBody ScheduleSuggestReqDTO vo);
 
     @PostMapping(PREFIX + "/predict-model-setting/modify")
     @Operation(summary = "修改预测模型设置参数")
@@ -107,19 +108,48 @@
     @Operation(summary = "获取最后预测值")
     Map<String, BigDecimal> getPredictLastValue(@RequestBody PredictLastValueReqVO reqVO);
 
-    @GetMapping("/predict-data/electric")
-    @Operation(summary = "电力功率因数预测结果查询")
-    Map<String,List<Object[]>> getElectricPredictData(String itemCode);
-
     @GetMapping("/schedule-data/last")
     @Operation(summary = "调度模型最新结果查询")
-    List<StScheduleRecordVO> getLastScheduleData(String scheduleCode, Integer limit);
-
-    @GetMapping("/machineRealTimeStatus")
-    @Operation(summary = "发电机组实时状态查询")
-    List<Map<String, Object>> getRealTimeStatus(@RequestBody List<Map<String, Object>> machines);
+    List<StScheduleRecordVO> getLastScheduleData(@RequestParam("scheduleCode") String scheduleCode,@RequestParam("limit") Integer limit);
 
     @PostMapping("/predict-data/itemNo")
     @Operation(summary = "查询时间范围内预测结果")
-    Map<String,List<Object[]>> getPredictDataItemNo(PreDataItemNoReqVO reqVO);
+    Map<String,List<Object[]>> getPredictDataItemNo(@RequestBody PreDataItemNoReqVO reqVO);
+
+    @GetMapping(PREFIX + "/electricityPrice/list")
+    @Operation(summary = "电价时段配置列表")
+    List<ElectricityPriceSegmentedDTO> getElectricityPriceList(@RequestParam("year") String year, @RequestParam("time") String time);
+
+    @PostMapping(PREFIX + "/electricityPrice/create")
+    @Operation(summary = "添加电价时段配置列表")
+    Boolean createElectricityPrice(@RequestBody List<ElectricityPriceSegmentedDTO> list);
+
+    @GetMapping(PREFIX + "/schedule/model/setting/update")
+    @Operation(summary = "修改调度模型配置")
+    Boolean updateScheduleModelSetting(@RequestParam("modelCode") String modelCode, @RequestParam("key") String key, @RequestParam("value") String value);
+
+    @GetMapping(PREFIX + "/alarm-config/update")
+    @Operation(summary = "修改预警配置")
+    Boolean updateAlarmConfig(@RequestParam("alarmObj")String alarmObj, @RequestParam("upperLimit")String upperLimit, @RequestParam("lowerLimit")String lowerLimit);
+
+    @PostMapping(PREFIX + "/chart/param/update")
+    @Operation(summary = "修改图表参数配置")
+    Boolean updateChartParam(@RequestBody ChartDTO chartDTO);
+
+    @GetMapping(PREFIX + "/item/output/itemId")
+    @Operation(summary = "获取")
+    MmItemOutputDTO getItemOutputByItemid(@RequestParam("itemid") String itemid, @RequestParam("resultstr")String resultstr, @RequestParam("resultIndex")String resultIndex);
+
+
+    @PostMapping(PREFIX + "/item/result")
+    @Operation(summary = "获取")
+    List<Object[]> getItemResult(@RequestBody PreItemResultReqVO reqVO);
+
+    @GetMapping(PREFIX + "/predict-item/itemNo")
+    @Operation(summary = "获取")
+    PredictItemVO getPredictItemByItemNo(@RequestParam("itemNo") String itemNo);
+
+    @PostMapping(PREFIX + "/item/result/last-point")
+    @Operation(summary = "获取")
+    List<Object[]> getItemResultLastPoint(@RequestBody PreItemResultReqVO reqVO);
 }
\ No newline at end of file

--
Gitblit v1.9.3