|
|
@ -232,9 +232,10 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
|
case 1: |
|
|
|
if (dcEvent.getDcEventAccident() != null) { |
|
|
|
dcEvent.getDcEventAccident().setId(uuid); |
|
|
|
|
|
|
|
int i1 = dcEventAccidentMapper.insertDcEventAccident(dcEvent.getDcEventAccident()); |
|
|
|
|
|
|
|
if (dcEvent.getEventState() == 1) { |
|
|
|
updateDcEventState(uuid,1);//直接确认
|
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
//车辆事故
|
|
|
@ -242,6 +243,9 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
|
if (dcEvent.getDcEventVehicleAccident() != null) { |
|
|
|
dcEvent.getDcEventVehicleAccident().setId(uuid); |
|
|
|
int i5 = dcEventVehicleAccidentMapper.insertDcEventVehicleAccident(dcEvent.getDcEventVehicleAccident()); |
|
|
|
if (dcEvent.getEventState() ==1) { |
|
|
|
updateDcEventState(uuid,1);//直接确认
|
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
//交通管制
|
|
|
|