|
|
@ -105,7 +105,7 @@ public class MaintenanceTaskCreateTask { |
|
|
|
//当所有的任务生成后,才会更新计划的时间状态
|
|
|
|
//当所有的任务生成后,才会更新计划的时间状态
|
|
|
|
LambdaUpdateWrapper<OperMaintenancePlanEntity> planEntityLambdaUpdateWrapper = new LambdaUpdateWrapper<>(); |
|
|
|
LambdaUpdateWrapper<OperMaintenancePlanEntity> planEntityLambdaUpdateWrapper = new LambdaUpdateWrapper<>(); |
|
|
|
planEntityLambdaUpdateWrapper.set(OperMaintenancePlanEntity::getCreateTaskTime, new Date()); |
|
|
|
planEntityLambdaUpdateWrapper.set(OperMaintenancePlanEntity::getCreateTaskTime, new Date()); |
|
|
|
planEntityLambdaUpdateWrapper.eq(OperMaintenancePlanEntity::getId, planEntities.get(i)); |
|
|
|
planEntityLambdaUpdateWrapper.eq(OperMaintenancePlanEntity::getId, planEntities.get(i).getId()); |
|
|
|
maintenancePlanService.update(planEntityLambdaUpdateWrapper); |
|
|
|
maintenancePlanService.update(planEntityLambdaUpdateWrapper); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|