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+"发生车辆故障"; }