|
|
@ -1426,6 +1426,10 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
|
if (i > 0) { |
|
|
|
return AjaxResult.error("已跳过清障,无法重复操作!"); |
|
|
|
} |
|
|
|
DcEvent dcEvent = dcEventMapper.selectDcEventById(eventId); |
|
|
|
if (dcEvent.getEventType() == null || (dcEvent.getEventType() != 1 && dcEvent.getEventType() != 2 && dcEvent.getEventType() != 6)){ |
|
|
|
return AjaxResult.error("该事件类型无需清障!"); |
|
|
|
} |
|
|
|
|
|
|
|
//事件处置流程记录
|
|
|
|
DcEventProcess dcEventProcess = new DcEventProcess(); |
|
|
|