|
|
@ -1387,7 +1387,7 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
|
|
|
|
|
DcEvent dcEvent = dcEventMapper.selectDcEventById(eventId); |
|
|
|
if (dcEvent.getEventState() != null && dcEvent.getEventState().equals(2L)){ |
|
|
|
return AjaxResult.error("无法重复解除"); |
|
|
|
return AjaxResult.error("事件已解除,无法进行操作!"); |
|
|
|
} |
|
|
|
|
|
|
|
boolean flag = dcEventMapper.completeEvent(eventId); |
|
|
@ -1427,7 +1427,7 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
|
|
|
|
|
int i = dcEventMapper.selectClearInfo(eventId); |
|
|
|
if (i > 0){ |
|
|
|
return AjaxResult.error("无法重复跳过清障"); |
|
|
|
return AjaxResult.error("已跳过清障,无法重复操作!"); |
|
|
|
} |
|
|
|
|
|
|
|
//事件处置流程记录
|
|
|
|