From d8b11ed9e5cc50b3f8e45ae4defa2a47064b8477 Mon Sep 17 00:00:00 2001
From: Jay <csj123456>
Date: 星期五, 03 一月 2025 11:44:00 +0800
Subject: [PATCH] 增加压缩空气月指标执行任务

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

diff --git a/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/task/RunScheduleAirClassMonthTask.java b/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/task/RunScheduleAirClassMonthTask.java
index e35e6d1..5f30c33 100644
--- a/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/task/RunScheduleAirClassMonthTask.java
+++ b/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/task/RunScheduleAirClassMonthTask.java
@@ -62,7 +62,6 @@
                 MdkScheduleReqDTO dto = new MdkScheduleReqDTO();
                 dto.setScheduleTime(scheduleTime);
                 dto.setScheduleCode(scheme.getCode());
-                MdkScheduleRespDTO mdkScheduleRespDTO = mdkApi.doSchedule(dto);
                 LocalDateTime now = LocalDateTime.now();
                 LocalDate startOfMonth = LocalDate.now().withDayOfMonth(1);
                 LocalDateTime startOfMonthAtMidnight = startOfMonth.atStartOfDay();
@@ -75,6 +74,7 @@
                 Map<String, String> dynamicSettings = new HashMap<>();
                 dynamicSettings.put("embedDim", String.valueOf(timeDifference));
                 dto.setDynamicSettings(dynamicSettings);
+                MdkScheduleRespDTO mdkScheduleRespDTO = mdkApi.doSchedule(dto);
                 // 结果写入测点
                 mdkApi.scheduleModelOut(mdkScheduleRespDTO);
             }

--
Gitblit v1.9.3