Browse Source

解决 事件收费站 设施id 获取异常

develop
王兴琳 7 months ago
parent
commit
6eded5fa88
  1. 4
      zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java

4
zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java

@ -168,8 +168,8 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl
dcEvent.setStakeMark( extracted(facilityId));
}
//交通管制
if (eventType ==3 && dcEvent.getDcEventTrafficControl().getFacilityId() != null) {
String facilityId = String.valueOf(dcEvent.getDcEventTrafficControl().getFacilityId());
if (eventType ==3 && dcEvent.getDcEventTrafficControl().getFacilityIds() != null) {
String facilityId = String.valueOf(dcEvent.getDcEventTrafficControl().getFacilityIds()[0]);
dcEvent.setStakeMark( extracted(facilityId));
}
//交通拥堵

Loading…
Cancel
Save