Browse Source

过滤护栏碰撞

develop
wangsixiang 2 months ago
parent
commit
fa88a11971
  1. 2
      zc-business/src/main/java/com/zc/business/service/impl/DcWarningServiceImpl.java

2
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 事件源+事件类型+策略

Loading…
Cancel
Save