|
|
@ -298,7 +298,7 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
|
dcEventProcess.setEventId(dcEventId); |
|
|
|
dcEventProcess.setSource(1); |
|
|
|
String context = "新增管制事件:"; |
|
|
|
if ("3-1".equals(dcEvent.getSubclass())){ |
|
|
|
if ("3-1".equals(dcEvent.getEventSubclass())){ |
|
|
|
context += dcEvent.getStakeMark(); |
|
|
|
if ("1".equals(dcEvent.getDirection())){ |
|
|
|
context += "菏泽方向"; |
|
|
@ -310,7 +310,7 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
|
} else { |
|
|
|
context += "主线限行"; |
|
|
|
} |
|
|
|
} else if ("3-3".equals(dcEvent.getSubclass()) || "3-4".equals(dcEvent.getSubclass())){ |
|
|
|
} else if ("3-3".equals(dcEvent.getEventSubclass()) || "3-4".equals(dcEvent.getEventSubclass())){ |
|
|
|
String facilityId = String.valueOf(dcEvent.getDcEventTrafficControl().getFacilityId()); |
|
|
|
DcFacility facility = dcFacilityService.getFacility(facilityId); |
|
|
|
context += facility.getFacilityName(); |
|
|
|