From f8dad021d852021d0a979ca821336fa82ac04ef4 Mon Sep 17 00:00:00 2001 From: 25604 Date: Mon, 25 Aug 2025 11:48:56 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=BD=93=E9=87=87=E9=9B=86=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=B0=8F=E4=BA=8E=E7=AD=89=E4=BA=8E0=EF=BC=8C?= =?UTF-8?q?=E5=88=99=E5=8F=91=E9=80=81=E5=88=B0=E5=BB=B6=E8=BF=9F=E9=98=9F?= =?UTF-8?q?=E5=88=97=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/service/operation/impl/AlarmRecordsServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mh-system/src/main/java/com/mh/system/service/operation/impl/AlarmRecordsServiceImpl.java b/mh-system/src/main/java/com/mh/system/service/operation/impl/AlarmRecordsServiceImpl.java index 6edc69c..daa1e14 100644 --- a/mh-system/src/main/java/com/mh/system/service/operation/impl/AlarmRecordsServiceImpl.java +++ b/mh-system/src/main/java/com/mh/system/service/operation/impl/AlarmRecordsServiceImpl.java @@ -225,7 +225,7 @@ public class AlarmRecordsServiceImpl implements IAlarmRecordsService { Date curTime = collectionParamsManage.getCurTime(); // 阈值 String threshold1 = alarmRule.getThreshold1(); - if (curValue.compareTo(BigDecimal.ZERO) == 0) { + if (curValue.compareTo(BigDecimal.ZERO) <= 0) { // 发送到延迟队列 result.append(",").append(collectionParamsManage.getId()); } else {