From 120abc8092ea044a6e79aab24a7de05d1309d414 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期一, 20 一月 2025 18:28:36 +0800
Subject: [PATCH] 预测消息

---
 shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/consumer/ModelPredictFinishConsumer.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/consumer/ModelPredictFinishConsumer.java b/shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/consumer/ModelPredictFinishConsumer.java
index 0deb39e..062e42e 100644
--- a/shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/consumer/ModelPredictFinishConsumer.java
+++ b/shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/consumer/ModelPredictFinishConsumer.java
@@ -100,6 +100,8 @@
                 // 生成预警信息
                 AlarmMessageRespDTO alarmMessage = new AlarmMessageRespDTO();
                 alarmMessage.setConfigId(configItem.getId());
+                alarmMessage.setTitle(configItem.getTitle());
+                alarmMessage.setAlarmObj(configItem.getAlarmObj());
                 log.info("对比累计值是否超限");
                 StringBuilder content = new StringBuilder();
                 if (configItem.getCulUpper() != null && culValue.compareTo(configItem.getCulUpper()) > 0) {

--
Gitblit v1.9.3