|
@@ -696,6 +696,9 @@ public class CheckJobServiceImpl extends BaseServiceImpl<CheckJobMapper, CheckJo
|
|
CheckJob nextCheckJob = BeanConverterUtil.copyObjectProperties(checkJob,CheckJob.class);
|
|
CheckJob nextCheckJob = BeanConverterUtil.copyObjectProperties(checkJob,CheckJob.class);
|
|
if(!CheckPlanPeriodTypeEnum.MILES.getValue().equals(checkStandard.getPeriodType()) && !CheckPlanPeriodTypeEnum.TAISHI.getValue().equals(checkStandard.getPeriodType()) ){
|
|
if(!CheckPlanPeriodTypeEnum.MILES.getValue().equals(checkStandard.getPeriodType()) && !CheckPlanPeriodTypeEnum.TAISHI.getValue().equals(checkStandard.getPeriodType()) ){
|
|
nextCheckJob.setId(IdGeneratorUtils.getObjectId());
|
|
nextCheckJob.setId(IdGeneratorUtils.getObjectId());
|
|
|
|
+ nextCheckJob.setStatus(CheckJobStatusEnum.NOT_EXECUTE.getValue());
|
|
|
|
+ nextCheckJob.setActualStartTime(null);
|
|
|
|
+ nextCheckJob.setActualEndTime(null);
|
|
calcTime(nextCheckJob,now,checkStandard);
|
|
calcTime(nextCheckJob,now,checkStandard);
|
|
mapper.insert(nextCheckJob);
|
|
mapper.insert(nextCheckJob);
|
|
}
|
|
}
|