沙钢智慧能源系统后端代码
dongyukun
5 天以前 3da3dda8fe9ab520cac2675fb1e1e63a725d44ef
shasteel-biz/src/main/java/com/iailab/module/shasteel/api/controller/admin/DataController.java
@@ -11,9 +11,9 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayList;
@@ -47,7 +47,8 @@
                    "空压机预警",
                    "大新预警",
                    "法液空合同执行度",
                    "盈德合同执行度"
                    "盈德合同执行度",
                    "BFG应急预案"
            )
    );
@@ -59,15 +60,13 @@
                    "空压机跳机",
                    "大新浦项蒸汽压力",
                    "法液空运行优化指标",
                    "盈德运行优化指标"
                    "盈德运行优化指标",
                    "应急方案"
            )
    );
    @GetMapping("/alarm-suggest/page")
    @PostMapping("/alarm-suggest/page")
    @Operation(summary = "预警与建议信息")
    public CommonResult<PageResult<StAlarmAndSuggestRespVO>> queryAlarmAndSuggestPage(@RequestParam("pageNo") Integer pageNo, @RequestParam("pageSize") Integer pageSize) {
        StAlarmAndSuggestPageReqVO reqVO = new StAlarmAndSuggestPageReqVO();
        reqVO.setPageNo(pageNo);
        reqVO.setPageSize(pageSize);
    public CommonResult<PageResult<StAlarmAndSuggestRespVO>> queryAlarmAndSuggestPage(@RequestBody StAlarmAndSuggestPageReqVO reqVO) {
        reqVO.setTitle(titleList);
        reqVO.setContentKey(contentKeyList);
        PageResult<StAlarmAndSuggestRespVO> page = mcsApi.getAlarmAndSuggestPage(reqVO);