From 0a10ce9e1eb3245eb0970ea9c0c9720017cb44c1 Mon Sep 17 00:00:00 2001
From: Jay <csj123456>
Date: 星期五, 14 三月 2025 14:19:26 +0800
Subject: [PATCH] 修改post请求方法

---
 shasteel-biz/src/main/java/com/iailab/module/shasteel/job/task/RunPredictModuleTask.java |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/task/RunPredictModuleTask.java b/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/task/RunPredictModuleTask.java
index a99a554..02cbe8f 100644
--- a/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/task/RunPredictModuleTask.java
+++ b/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/task/RunPredictModuleTask.java
@@ -56,14 +56,17 @@
                 msg.put("moduleType", type);
                 msg.put("predictTime", DateUtils.format(predictTime, DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND));
                 rabbitTemplate.convertAndSend(RoutingConstant.EXCHANGE, RoutingConstant.Iailab_Model_PredictFinish, msg);
+                if (type.equals(CommonConstant.NET_LDG)) {
+                    //转炉管网预测完成发送单独消息,执行转炉调度
+                    rabbitTemplate.convertAndSend(RoutingConstant.EXCHANGE, RoutingConstant.Iailab_Model_PredictFinish_LDG, msg);
+                }
                 if (type.equals(CommonConstant.TRIGGER_CONDITION_ELEC)) {
                     //电力管网预测完成发送单独消息,执行电力调度
                     rabbitTemplate.convertAndSend(RoutingConstant.EXCHANGE, RoutingConstant.Iailab_Model_PredictFinish_Elec, msg);
                 }
             });
         } catch (Exception ex) {
-            logger.error("runPredictModuleTask运行异常");
-            ex.printStackTrace();
+            logger.error("runPredictModuleTask运行异常",ex);
         }
         logger.info("runPredictModuleTask运行完成");
     }

--
Gitblit v1.9.3