|
|
@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
|
|
import com.ruoyi.common.core.domain.AjaxResult; |
|
|
|
import com.ruoyi.common.utils.DateUtils; |
|
|
|
import com.ruoyi.common.utils.SecurityUtils; |
|
|
|
import com.ruoyi.common.utils.StringUtils; |
|
|
|
import com.ruoyi.common.utils.uuid.IdUtils; |
|
|
|
import com.ruoyi.system.service.ISysDeptService; |
|
|
|
import com.zc.business.domain.*; |
|
|
@ -1430,6 +1431,9 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
|
if (dcEvent.getEventType() == null || (dcEvent.getEventType() != 1 && dcEvent.getEventType() != 2 && dcEvent.getEventType() != 6)){ |
|
|
|
return AjaxResult.error("该事件类型无需清障!"); |
|
|
|
} |
|
|
|
if (dcEvent.getEventState() != null && dcEvent.getEventState() == 2){ |
|
|
|
return AjaxResult.error("该事件已结束,无法进行操作!"); |
|
|
|
} |
|
|
|
|
|
|
|
//事件处置流程记录
|
|
|
|
DcEventProcess dcEventProcess = new DcEventProcess(); |
|
|
|