From 2f819543eb259a142a78d19d333db66dcda4c7ea Mon Sep 17 00:00:00 2001 From: "Mr.Wang" Date: Tue, 21 May 2024 15:12:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=99=BA=E8=83=BD=E5=8F=91=E5=B8=83=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=8C=B9=E9=85=8D=E4=BB=A3=E7=A0=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/DcEmergencyPlansServiceImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java index 8fea891a..c6d7ec98 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java +++ b/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java @@ -647,14 +647,14 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { // 车辆故障 DcEventVehicleAccident dcEventVehicleAccident = dcEvent.getDcEventVehicleAccident(); int locationType = Integer.parseInt(dcEventVehicleAccident.getLocationType().toString()); - // 路广设施id - Integer facilityId = dcEventVehicleAccident.getFacilityId(); - DcFacility facility = dcFacilityService.getFacility(facilityId.toString()); - String facilityName = facility.getFacilityName(); if (locationType == 1) { content = "前方*高速主线发生车辆故障"; } else if (locationType == 2 || locationType == 3 || locationType == 4) { // 服务区、立交、收费站 + // 路广设施id + Integer facilityId = dcEventVehicleAccident.getFacilityId(); + DcFacility facility = dcFacilityService.getFacility(facilityId.toString()); + String facilityName = facility.getFacilityName(); content = "前方*"+facilityName+"发生车辆故障"; }