沙钢智慧能源系统后端代码
Jay
5 天以前 d8b11ed9e5cc50b3f8e45ae4defa2a47064b8477
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);
            }