Browse Source

修改事件 信息比对

develop
lau572 6 months ago
parent
commit
0e56737f10
  1. 6
      zc-business/src/main/java/com/zc/business/enums/ValueConverter.java
  2. 18
      zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java

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

@ -180,7 +180,7 @@ public class ValueConverter {
eventLabel.put("dcEventConstruction.specialConstruction","专项施工"); eventLabel.put("dcEventConstruction.specialConstruction","专项施工");
eventLabel.put("dcEventConstruction.otherConstructionName","其他施工名称"); eventLabel.put("dcEventConstruction.otherConstructionName","其他施工名称");
eventLabel.put("dcEventConstruction.constructionMeasurement","施工措施"); eventLabel.put("dcEventConstruction.constructionMeasurement","施工措施");
eventLabel.put("dcEventConstruction.facilityId","设施id"); // eventLabel.put("dcEventConstruction.facilityId","设施id");
eventLabel.put("dcEventConstruction.exitsInlets","出入口"); eventLabel.put("dcEventConstruction.exitsInlets","出入口");
eventLabel.put("dcEventConstruction.laneOccupancy","占用车道"); eventLabel.put("dcEventConstruction.laneOccupancy","占用车道");
eventLabel.put("dcEventConstruction.trafficCondition","通行情况"); eventLabel.put("dcEventConstruction.trafficCondition","通行情况");
@ -194,7 +194,7 @@ public class ValueConverter {
eventLabel.put("dcEventTrafficCongestion.congestionMileage","拥堵里程(公里)"); eventLabel.put("dcEventTrafficCongestion.congestionMileage","拥堵里程(公里)");
eventLabel.put("dcEventTrafficCongestion.maxCongestionMileage","最大拥堵里程(公里)"); eventLabel.put("dcEventTrafficCongestion.maxCongestionMileage","最大拥堵里程(公里)");
eventLabel.put("dcEventTrafficCongestion.congestionCause","拥堵原因"); eventLabel.put("dcEventTrafficCongestion.congestionCause","拥堵原因");
eventLabel.put("dcEventTrafficCongestion.facilityId","设施id"); // eventLabel.put("dcEventTrafficCongestion.facilityId","设施id");
// eventLabel.put("dcEventTrafficCongestion.rampId","匝道"); // eventLabel.put("dcEventTrafficCongestion.rampId","匝道");
eventLabel.put("dcEventTrafficCongestion.location","地点"); eventLabel.put("dcEventTrafficCongestion.location","地点");
eventLabel.put("dcEventTrafficCongestion.detailedReasons","详细原因"); eventLabel.put("dcEventTrafficCongestion.detailedReasons","详细原因");
@ -223,7 +223,7 @@ public class ValueConverter {
eventLabel.put("dcEventTrafficControl.controlType","管制分类"); eventLabel.put("dcEventTrafficControl.controlType","管制分类");
eventLabel.put("dcEventTrafficControl.controlCause","管制原因"); eventLabel.put("dcEventTrafficControl.controlCause","管制原因");
eventLabel.put("dcEventTrafficControl.exitsInlets","出入口"); eventLabel.put("dcEventTrafficControl.exitsInlets","出入口");
eventLabel.put("dcEventTrafficControl.facilityId","设施id"); // eventLabel.put("dcEventTrafficControl.facilityId","设施id");
// eventLabel.put("dcEventTrafficControl.rampId","匝道"); // eventLabel.put("dcEventTrafficControl.rampId","匝道");
eventLabel.put("dcEventTrafficControl.causeType","原因类型"); eventLabel.put("dcEventTrafficControl.causeType","原因类型");
eventLabel.put("dcEventTrafficControl.measure","措施"); eventLabel.put("dcEventTrafficControl.measure","措施");

18
zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java

@ -1673,6 +1673,24 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl
result.setRight("主线并道"); result.setRight("主线并道");
} else if ("5".equals(result.getRight())) { } else if ("5".equals(result.getRight())) {
result.setRight("主线限速"); result.setRight("主线限速");
} else if ("6".equals(result.getRight())) {
result.setRight("收费站关闭");
} else if ("7".equals(result.getRight())) {
result.setRight("收费站限行");
} else if ("8".equals(result.getRight())) {
result.setRight("收费站分流");
} else if ("9".equals(result.getRight())) {
result.setRight("收费站间隔放行");
} else if ("10".equals(result.getRight())) {
result.setRight("立交匝道关闭");
} else if ("11".equals(result.getRight())) {
result.setRight("立交限行");
} else if ("12".equals(result.getRight())) {
result.setRight("立交匝道限行");
} else if ("13".equals(result.getRight())) {
result.setRight("立交分流");
} else if ("14".equals(result.getRight())) {
result.setRight("服务区关闭");
} }
} else if ("dcEventTrafficControl.limitedType".equals(result.getRightPath())) { } else if ("dcEventTrafficControl.limitedType".equals(result.getRightPath())) {
if ("1".equals(result.getRight())) { if ("1".equals(result.getRight())) {

Loading…
Cancel
Save