|
@ -77,6 +77,9 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
@Autowired |
|
|
@Autowired |
|
|
private IDcEventProcessService dcEventProcessService; |
|
|
private IDcEventProcessService dcEventProcessService; |
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
private DcPublishManageMapper dcPublishManageMapper; |
|
|
|
|
|
|
|
|
private final String HAPPEN = "发生"; |
|
|
private final String HAPPEN = "发生"; |
|
|
private final String EVENT = "事件"; |
|
|
private final String EVENT = "事件"; |
|
|
private final String SUBEVENT = "0"; |
|
|
private final String SUBEVENT = "0"; |
|
@ -216,7 +219,7 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
//交通管制
|
|
|
//交通管制
|
|
|
case 3: |
|
|
case 3: |
|
|
if (dcEvent.getDcEventTrafficControl() != null) { |
|
|
if (dcEvent.getDcEventTrafficControl() != null) { |
|
|
//TODO 插入多个收费站
|
|
|
// 插入多个收费站
|
|
|
if (dcEvent.getDcEventTrafficControl().getFacilityIds().length == 1) {//facilityIds==1 说明只选择了一个收费站
|
|
|
if (dcEvent.getDcEventTrafficControl().getFacilityIds().length == 1) {//facilityIds==1 说明只选择了一个收费站
|
|
|
|
|
|
|
|
|
if (dcEventId != null && !dcEventId.equals("")) {//不等于空 事件处置页面 修改
|
|
|
if (dcEventId != null && !dcEventId.equals("")) {//不等于空 事件处置页面 修改
|
|
@ -748,6 +751,8 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
if (dcEvent==null){ |
|
|
if (dcEvent==null){ |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
|
|
|
|
// 删除信息发布记录
|
|
|
|
|
|
dcPublishManageMapper.deleteDcPublishManageEventId(id); |
|
|
int eventType = Math.toIntExact(dcEvent.getEventType()); |
|
|
int eventType = Math.toIntExact(dcEvent.getEventType()); |
|
|
i7 = dcEventMapper.deleteDcEventById(id); |
|
|
i7 = dcEventMapper.deleteDcEventById(id); |
|
|
|
|
|
|
|
@ -830,7 +835,7 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
*/ |
|
|
*/ |
|
|
@Override |
|
|
@Override |
|
|
public DcEvent selectEventSubclassById(int eventType, String id) { |
|
|
public DcEvent selectEventSubclassById(int eventType, String id) { |
|
|
//todo
|
|
|
//
|
|
|
DcEvent dcEvent = dcEventMapper.selectDcEventById(id); |
|
|
DcEvent dcEvent = dcEventMapper.selectDcEventById(id); |
|
|
List<DcProcessConfig> processConfigList = dcProcessConfigMapper.selectDcProcessConfigByEventType(Math.toIntExact(dcEvent.getEventType())); |
|
|
List<DcProcessConfig> processConfigList = dcProcessConfigMapper.selectDcProcessConfigByEventType(Math.toIntExact(dcEvent.getEventType())); |
|
|
dcEvent.setProcessConfigList(processConfigList); |
|
|
dcEvent.setProcessConfigList(processConfigList); |
|
|