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 2c61d4ff..91002624 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 @@ -298,7 +298,7 @@ public class DcEventServiceImpl extends ServiceImpl 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 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();