Browse Source

配置转换

develop
wangsixiang 9 months ago
parent
commit
605427c032
  1. 2
      zc-business/src/main/java/com/zc/business/domain/DcWarning.java
  2. 3
      zc-business/src/main/java/com/zc/business/enums/ValueConverter.java

2
zc-business/src/main/java/com/zc/business/domain/DcWarning.java

@ -56,7 +56,7 @@ public class DcWarning extends BaseEntity
private Integer warningType; private Integer warningType;
/** 事件子类:1-1 拥堵1-2 缓行 */ /** 事件子类:1-1 拥堵1-2 缓行 */
@Excel(name = "事件子类", readConverterExp ="1-1=拥堵,1-2=缓行,2-1=普通行人,2-2=工作人员,3-1=摩托车,3-2=自行车,3-3=三轮车,4-1=非工程车,4-2=工程车,4-3=主路有车,4-4=匝道有车,4-5=车辆故障(弃用),4-6=交通事故(弃用),4-7=应急车道被占用,4-8=车离开应急车道,4-9=其他,4-10=未知车辆,5-1=倒车/逆行,5-2=压线,5-3=掉头,5-4=超速,5-5=低速,5-6=违规变道,5-7=未保持安全距离,6-1=烟火,6-2=火灾,6-3=障碍物,6-4=抛洒物,7-1=道路施工,8-1=雨,8-2=冰雹,8-3=风,8-4=雾,8-5=高温,8-6=积水,8-7=路面湿滑,8-8=路面结冰,8-9=道路能见度低,8-10=道路团雾,9-1=只碰撞不倾斜,9-2=只倾斜无碰撞,9-3=碰撞后倾斜,10-1=未知,10-2单车事故,10-3=多车事故,11-1=车辆抛锚,11-2=车辆炸胎(有备胎),11-2=车辆炸胎(无备胎),99-1=其它") @Excel(name = "事件子类", readConverterExp ="1-1=拥堵,1-2=缓行,2-1=普通行人,2-2=工作人员,3-1=摩托车,3-2=自行车,3-3=三轮车,4-1=非工程车,4-2=工程车,4-3=主路有车,4-4=匝道有车,4-5=车辆故障(弃用),4-6=交通事故(弃用),4-7=应急车道被占用,4-8=车离开应急车道,4-9=其他,4-10=未知车辆,5-1=倒车/逆行,5-2=压线,5-3=掉头,5-4=超速,5-5=低速,5-6=违规变道,5-7=未保持安全距离,6-1=烟火,6-2=火灾,6-3=障碍物,6-4=抛洒物,7-1=道路施工,8-1=雨,8-2=冰雹,8-3=风,8-4=雾,8-5=高温,8-6=积水,8-7=路面湿滑,8-8=路面结冰,8-9=道路能见度低,8-10=道路团雾,9-1=只碰撞不倾斜,9-2=只倾斜无碰撞,9-3=碰撞后倾斜,10-1=未知,10-2单车事故,10-3=多车事故,11-1=车辆抛锚,11-2=车辆炸胎(有备胎),11-3=车辆炸胎(无备胎),99-1=其它")
private String warningSubclass; private String warningSubclass;
/** 事件解除原因 */ /** 事件解除原因 */

3
zc-business/src/main/java/com/zc/business/enums/ValueConverter.java

@ -94,6 +94,9 @@ public class ValueConverter {
valueMappingSon.put("9-1", "1-3"); valueMappingSon.put("9-1", "1-3");
valueMappingSon.put("9-2", "1-3"); valueMappingSon.put("9-2", "1-3");
valueMappingSon.put("9-3", "1-3"); valueMappingSon.put("9-3", "1-3");
valueMappingSon.put("10-1", "1-5");
valueMappingSon.put("10-2", "1-5");
valueMappingSon.put("10-3", "1-5");
valueMappingSon.put("11-1", "2-1"); valueMappingSon.put("11-1", "2-1");
valueMappingSon.put("11-2", "2-1"); valueMappingSon.put("11-2", "2-1");
valueMappingSon.put("11-3", "2-1"); valueMappingSon.put("11-3", "2-1");

Loading…
Cancel
Save