沙钢智慧能源系统后端代码
Jay
6 天以前 b50a43845b2b05198c93b573a2e1bdc0c80a6b8c
shasteel-biz/src/main/java/com/iailab/module/shasteel/job/task/RunScheduleAirTask.java
@@ -47,7 +47,7 @@
            }
            // 根据条件查找方案
            List<StScheduleSchemeDTO> schemeList = mcsApi.listScheduleScheme(ScheduleTriggerMethodEnum.EVENT.getCode(), params);
            List<StScheduleSchemeDTO> schemeList = mcsApi.listScheduleScheme(ScheduleTriggerMethodEnum.JOB.getCode(), params);
            if (CollectionUtils.isEmpty(schemeList)) {
                logger.info("方案为空");
                return;
@@ -57,10 +57,8 @@
                dto.setScheduleTime(scheduleTime);
                dto.setScheduleCode(scheme.getCode());
                MdkScheduleRespDTO mdkScheduleRespDTO = mdkApi.doSchedule(dto);
                // 结果写入测点
                mdkApi.scheduleModelOut(mdkScheduleRespDTO);
            }
            logger.info(params + "调度方案执行完成");
        } catch (Exception ex) {