From fa88a11971dee49182240574559493eed10f5982 Mon Sep 17 00:00:00 2001 From: wangsixiang <2970484253@qq.com> Date: Mon, 23 Sep 2024 09:33:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=87=E6=BB=A4=E6=8A=A4=E6=A0=8F=E7=A2=B0?= =?UTF-8?q?=E6=92=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/zc/business/service/impl/DcWarningServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcWarningServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcWarningServiceImpl.java index 50cbcf1c..c7307f7d 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcWarningServiceImpl.java +++ b/zc-business/src/main/java/com/zc/business/service/impl/DcWarningServiceImpl.java @@ -162,7 +162,7 @@ public class DcWarningServiceImpl implements IDcWarningService { return UniversalEnum.ZERO.getNumber(); } //目前护栏碰撞触发的事件先进行过滤掉,后续可能会放开 - if ("4".equals(dcWarning.getWarningSource())&&("4-7".equals(dcWarning.getWarningSubclass())||"4-8".equals(dcWarning.getWarningSubclass()))){ + if ("4".equals(dcWarning.getWarningSource().toString())){ return 1; } String redisKye = dcWarning.getWarningSource().toString() + dcWarning.getWarningType().toString() + dcWarning.getWarningSubclass();//配置数据的key 事件源+事件类型+策略