|
@ -647,14 +647,14 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { |
|
|
// 车辆故障
|
|
|
// 车辆故障
|
|
|
DcEventVehicleAccident dcEventVehicleAccident = dcEvent.getDcEventVehicleAccident(); |
|
|
DcEventVehicleAccident dcEventVehicleAccident = dcEvent.getDcEventVehicleAccident(); |
|
|
int locationType = Integer.parseInt(dcEventVehicleAccident.getLocationType().toString()); |
|
|
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) { |
|
|
if (locationType == 1) { |
|
|
content = "前方*高速主线发生车辆故障"; |
|
|
content = "前方*高速主线发生车辆故障"; |
|
|
} else if (locationType == 2 || locationType == 3 || locationType == 4) { |
|
|
} 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+"发生车辆故障"; |
|
|
content = "前方*"+facilityName+"发生车辆故障"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|