|
@@ -264,6 +264,9 @@ public class CheckStandardServiceImpl extends BaseServiceImpl<CheckStandardMappe
|
|
|
List<CheckStandardParam> paramList = paramMapper.selectByExample(weekend);
|
|
|
checkStandard.setParamList(paramList);*/
|
|
|
|
|
|
+ if(checkStandard == null){
|
|
|
+ throw new BusinessException("保养标准已经删除,该任务无需执行,请删除该任务");
|
|
|
+ }
|
|
|
Weekend<SysFile> weekendFile = new Weekend<>(SysFile.class);
|
|
|
weekendFile.weekendCriteria().andEqualTo(SysFile::getTargetId, checkStandard.getId());
|
|
|
List<SysFile> sysFiles = sysFileMapper.selectByExample(weekendFile);
|