diff --git a/yudao-module-alert/yudao-module-alert-biz/src/main/java/cn/iocoder/yudao/module/alert/service/warn/WarnServiceImpl.java b/yudao-module-alert/yudao-module-alert-biz/src/main/java/cn/iocoder/yudao/module/alert/service/warn/WarnServiceImpl.java index a9e34bf..6a46083 100644 --- a/yudao-module-alert/yudao-module-alert-biz/src/main/java/cn/iocoder/yudao/module/alert/service/warn/WarnServiceImpl.java +++ b/yudao-module-alert/yudao-module-alert-biz/src/main/java/cn/iocoder/yudao/module/alert/service/warn/WarnServiceImpl.java @@ -268,11 +268,11 @@ public class WarnServiceImpl implements WarnService { EXAUtils exaUtils = new EXAUtils(); exaHistoryReqVO.setItemName(point); - // 3. 获取历史数据 - exaHistoryReqVO.setItemName("SYG1_10BBA20ECMS501"); - exaHistoryReqVO.setStartTime("2023-10-28 17:00:00"); - exaHistoryReqVO.setEndTime("2023-10-28 23:00:00"); - exaHistoryReqVO.setInterval(60L); + // 3. 获取历史数据-这是为了测试用的假数据 +// exaHistoryReqVO.setItemName("SYG1_10BBA20ECMS501"); +// exaHistoryReqVO.setStartTime("2023-10-28 17:00:00"); +// exaHistoryReqVO.setEndTime("2023-10-28 23:00:00"); +// exaHistoryReqVO.setInterval(60L); List> inputData = exaUtils.getHistory(EXA_IP, exaHistoryReqVO); List> outputData = exaUtils.getHistory(EXA_IP, exaHistoryReqVO); // 4. 数据校验