Browse Source

Merge remote-tracking branch 'origin/develop' into develop

develop
lau572 5 months ago
parent
commit
e8e4c2fb03
  1. 8
      zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java

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

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

Loading…
Cancel
Save