From 0e56737f10479d25d83864bb51af50602b476b40 Mon Sep 17 00:00:00 2001 From: lau572 <1010031226@qq.com> Date: Fri, 31 May 2024 18:43:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=AF=94=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/zc/business/enums/ValueConverter.java | 6 +++--- .../service/impl/DcEventServiceImpl.java | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/zc-business/src/main/java/com/zc/business/enums/ValueConverter.java b/zc-business/src/main/java/com/zc/business/enums/ValueConverter.java index 0d0ae47b..06f255cc 100644 --- a/zc-business/src/main/java/com/zc/business/enums/ValueConverter.java +++ b/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.otherConstructionName","其他施工名称"); eventLabel.put("dcEventConstruction.constructionMeasurement","施工措施"); - eventLabel.put("dcEventConstruction.facilityId","设施id"); +// eventLabel.put("dcEventConstruction.facilityId","设施id"); eventLabel.put("dcEventConstruction.exitsInlets","出入口"); eventLabel.put("dcEventConstruction.laneOccupancy","占用车道"); eventLabel.put("dcEventConstruction.trafficCondition","通行情况"); @@ -194,7 +194,7 @@ public class ValueConverter { eventLabel.put("dcEventTrafficCongestion.congestionMileage","拥堵里程(公里)"); eventLabel.put("dcEventTrafficCongestion.maxCongestionMileage","最大拥堵里程(公里)"); eventLabel.put("dcEventTrafficCongestion.congestionCause","拥堵原因"); - eventLabel.put("dcEventTrafficCongestion.facilityId","设施id"); +// eventLabel.put("dcEventTrafficCongestion.facilityId","设施id"); // eventLabel.put("dcEventTrafficCongestion.rampId","匝道"); eventLabel.put("dcEventTrafficCongestion.location","地点"); eventLabel.put("dcEventTrafficCongestion.detailedReasons","详细原因"); @@ -223,7 +223,7 @@ public class ValueConverter { eventLabel.put("dcEventTrafficControl.controlType","管制分类"); eventLabel.put("dcEventTrafficControl.controlCause","管制原因"); eventLabel.put("dcEventTrafficControl.exitsInlets","出入口"); - eventLabel.put("dcEventTrafficControl.facilityId","设施id"); +// eventLabel.put("dcEventTrafficControl.facilityId","设施id"); // eventLabel.put("dcEventTrafficControl.rampId","匝道"); eventLabel.put("dcEventTrafficControl.causeType","原因类型"); eventLabel.put("dcEventTrafficControl.measure","措施"); diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java index 9f23efb8..d263d7f9 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java +++ b/zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java @@ -1673,6 +1673,24 @@ public class DcEventServiceImpl extends ServiceImpl impl result.setRight("主线并道"); } else if ("5".equals(result.getRight())) { 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())) { if ("1".equals(result.getRight())) {