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