From e254b9c0fc53a401d8a2dd0aaae8ba0fee163b0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E7=90=B3?= <1911390090@qq.com> Date: Wed, 15 Jan 2025 08:43:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A4=E6=A0=8F=E7=A2=B0=E6=92=9E=E4=BF=9D?= =?UTF-8?q?=E7=95=99=E7=A2=B0=E6=92=9E=E5=80=BE=E6=96=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/zc/business/service/impl/DcWarningServiceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 4c301e29..f96c7800 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 @@ -171,8 +171,7 @@ public class DcWarningServiceImpl implements IDcWarningService { return UniversalEnum.ZERO.getNumber(); } //目前护栏碰撞触发的事件,有关应急车道的先进行过滤掉,后续可能会放开 - if ("4".equals(dcWarning.getWarningSource().toString()) && ("4-7".equals(dcWarning.getWarningSubclass()) || - "4-8".equals(dcWarning.getWarningSubclass()))) { + if ("4".equals(dcWarning.getWarningSource().toString()) && (!"9-3".equals(dcWarning.getWarningSubclass()))) { return 1; } String redisKye = dcWarning.getWarningSource().toString() + dcWarning.getWarningType().toString() + dcWarning.getWarningSubclass();//配置数据的key 事件源+事件类型+策略