|
|
@ -36,6 +36,7 @@ import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.apache.commons.lang3.math.NumberUtils; |
|
|
|
import org.apache.commons.lang3.math.NumberUtils; |
|
|
|
import org.springblade.core.log.exception.ServiceException; |
|
|
|
import org.springblade.core.log.exception.ServiceException; |
|
|
|
import org.springblade.core.mp.base.BaseServiceImpl; |
|
|
|
import org.springblade.core.mp.base.BaseServiceImpl; |
|
|
|
|
|
|
|
import org.springblade.core.mp.support.Condition; |
|
|
|
import org.springblade.core.secure.utils.AuthUtil; |
|
|
|
import org.springblade.core.secure.utils.AuthUtil; |
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
import org.springblade.core.tool.support.Kv; |
|
|
|
import org.springblade.core.tool.support.Kv; |
|
|
@ -115,7 +116,8 @@ public class DefectCheckServiceImpl extends BaseServiceImpl<OperPhenomenonMapper |
|
|
|
throw new ServiceException("保存现象失败!"); |
|
|
|
throw new ServiceException("保存现象失败!"); |
|
|
|
} |
|
|
|
} |
|
|
|
// 步骤2.开启缺陷流程
|
|
|
|
// 步骤2.开启缺陷流程
|
|
|
|
this.startDefectCheckV2(entity); |
|
|
|
OperPhenomenonEntity operPhenomenon = this.getOne(Condition.getQueryWrapper(entity)); |
|
|
|
|
|
|
|
this.startDefectCheckV2(operPhenomenon); |
|
|
|
return entity; |
|
|
|
return entity; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|