From 6cce675bb26ab0ffbdc19fe7f48cb3fcbd9890e3 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期二, 07 一月 2025 16:01:18 +0800 Subject: [PATCH] 压缩空气优化调度 --- shasteel-biz/src/main/java/com/iailab/module/shasteel/job/task/RunScheduleOnaOptTask.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/task/RunScheduleOnaOptTask.java b/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/task/RunScheduleOnaOptTask.java index d53b1b9..365de8a 100644 --- a/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/task/RunScheduleOnaOptTask.java +++ b/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/task/RunScheduleOnaOptTask.java @@ -96,7 +96,7 @@ return; } for (Map.Entry<String, MdkScheduleRespDTO> entry : resultMap.entrySet()) { - if (CommonConstant.MDK_STATUS_100.equals(entry.getValue().getStatusCode())) { + if (!CommonConstant.MDK_STATUS_100.equals(entry.getValue().getStatusCode())) { logger.info("调度结果异常,STATUS=" + entry.getValue().getStatusCode()); continue; } @@ -116,7 +116,7 @@ String runAdvice = entry.getValue().getResult().get("RunAdvice").toString(); saveScheduleSuggest("宏昌建议调整量", runAdvice, scheduleObj, scheduleTime); } else if (entry.getKey().equals(CODE01)) { - String scheduleObj = schemeMap.get(CODE05).getScheduleObj(); + String scheduleObj = schemeMap.get(CODE01).getScheduleObj(); String advice = entry.getValue().getResult().get("advice").toString(); saveScheduleSuggest("氮气预警", advice, scheduleObj, scheduleTime); } -- Gitblit v1.9.3