Browse Source

非法上路、路障、设备设施隐患、其他事件,提交后,状态不是处置中

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

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

@ -471,9 +471,13 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl
break; break;
//非法上路 //非法上路
case 5: case 5:
updateDcEventState(uuid,1);//直接确认
break; break;
//路障清除 //路障清除
case 6: case 6:
updateDcEventState(uuid,1);//直接确认
break; break;
//施工建设 //施工建设
case 7: case 7:
@ -496,6 +500,8 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl
break; break;
//设施设备隐患 //设施设备隐患
case 9: case 9:
updateDcEventState(uuid,1);//直接确认
break; break;
//异常天气 //异常天气
case 10: case 10:
@ -508,7 +514,6 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl
break; break;
//其他事件 //其他事件
case 11: case 11:
if (dcEventId != null) {//首页进入 if (dcEventId != null) {//首页进入
DcEvent dcEvent1 = new DcEvent(); DcEvent dcEvent1 = new DcEvent();
dcEvent1.setId(dcEventId);//事件id dcEvent1.setId(dcEventId);//事件id
@ -518,6 +523,8 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl
dcEvent.setEventNature(2l); dcEvent.setEventNature(2l);
dcEventMapper.updateDcEventLinkId(dcEvent);//修改 新添加的 事件性质 dcEventMapper.updateDcEventLinkId(dcEvent);//修改 新添加的 事件性质
updateDcEventState(uuid,1);//直接确认 updateDcEventState(uuid,1);//直接确认
}else {
updateDcEventState(uuid,1);//直接确认
} }
break; break;

Loading…
Cancel
Save