From d537e430c3019f98afd89b03be0d4dfa03b5bc51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=82=96=E6=99=8B=E9=A3=9E?= <378266566@qq.com> Date: Tue, 23 Dec 2025 17:17:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=9B=86=E4=B8=AD=E5=91=8A=E8=AD=A6?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=81=87=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/alert/service/warn/WarnServiceImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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. 数据校验