|
|
@ -210,7 +210,6 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
|
|
|
|
|
int i1 = dcEventAccidentMapper.insertDcEventAccident(dcEvent.getDcEventAccident()); |
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
//车辆事故
|
|
|
|
case 2: |
|
|
@ -218,7 +217,6 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
|
dcEvent.getDcEventVehicleAccident().setId(uuid); |
|
|
|
int i5 = dcEventVehicleAccidentMapper.insertDcEventVehicleAccident(dcEvent.getDcEventVehicleAccident()); |
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
//交通管制
|
|
|
|
case 3: |
|
|
@ -959,9 +957,11 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
|
|
|
|
|
@Override |
|
|
|
public int updateDcEventState(String id, int state) { |
|
|
|
|
|
|
|
|
|
|
|
int i = dcEventMapper.updateDcEventState(id,state); |
|
|
|
if (i > 0){ |
|
|
|
DcEvent dcEvent = dcEventMapper.selectDcEventById(id); |
|
|
|
DcEvent dcEvent = dcEventMapper.selectDcEventMainById(id); |
|
|
|
|
|
|
|
//中间库
|
|
|
|
MdEvent mdEvent = new MdEvent(dcEvent); |
|
|
|