沙钢智慧能源系统后端代码
dongyukun
2025-02-08 af2d5942652584c65579894c4a4a680bc37dad20
shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/consumer/ModelPredictFinishConsumer.java
@@ -106,7 +106,6 @@
                    }).collect(Collectors.toList()).stream().mapToDouble(Double::doubleValue).sum());
                    log.info("culValue:" + culValue);
                    // 生成预警信息
                    AlarmMessageRespDTO alarmMessage = new AlarmMessageRespDTO();
                    alarmMessage.setConfigId(configItem.getId());
@@ -131,7 +130,6 @@
                        alarmList.add(alarmMessage);
                        continue;
                    }
                    log.info("对比预测值是否超限");
                    int toIndex = result.size();
@@ -158,6 +156,7 @@
                        alarmMessage.setContent(content.toString());
                        mcsApi.createAlarmMessage(alarmMessage);
                        alarmList.add(alarmMessage);
                        break;
                    }
                }
            }