liriming
2024-12-05 4072bc2ecbe3494359f4a64bd8598205d0638764
iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/McsApiImpl.java
@@ -19,6 +19,7 @@
import com.iailab.module.model.mcs.pre.service.*;
import com.iailab.module.model.mcs.pre.vo.MmPredictAlarmMessageSaveReqVO;
import com.iailab.module.model.mcs.sche.entity.StScheduleSuggestEntity;
import com.iailab.module.model.mcs.sche.service.StScheduleSchemeService;
import com.iailab.module.model.mcs.sche.service.StScheduleSuggestService;
import com.iailab.module.model.mdk.vo.ItemVO;
import com.iailab.module.model.mpk.service.ChartService;
@@ -79,6 +80,8 @@
    @Autowired
    private MmPredictAlarmConfigService mmPredictAlarmConfigService;
    @Autowired
    private StScheduleSchemeService stScheduleSchemeService;
    private int HOUR_MINS = 60;
@@ -516,7 +519,7 @@
    }
    @Override
    public List<ScheduleSuggestRespDTO> listScheduleSuggest(ScheduleSuggestReqDTO params) {
    public List<ScheduleSuggestRespDTO> listScheduleSuggest(Map<String, Object> params) {
        return Collections.emptyList();
    }
@@ -536,6 +539,11 @@
        return true;
    }
    @Override
    public List<StScheduleSchemeDTO> listScheduleScheme(Map<String, Object> params) {
        return stScheduleSchemeService.list(params);
    }
    private Date[] calResultTime(ItemVO predictItem, Date startTimeReq, Date endTimeReq, int lengthLeft, int lengthRight) {
        Date[] result = new Date[3];