|
|
@@ -19,7 +19,6 @@ import com.xunmei.common.core.constant.SecurityConstants;
|
|
|
import com.xunmei.common.core.domain.DateRange;
|
|
|
import com.xunmei.common.core.domain.IdName;
|
|
|
import com.xunmei.common.core.domain.compensate.dto.CompensateDto;
|
|
|
-import com.xunmei.common.core.domain.drill.domain.CoreDrillPlan;
|
|
|
import com.xunmei.common.core.domain.edu.domain.CoreEduTrainingPlan;
|
|
|
import com.xunmei.common.core.domain.edu.domain.CoreEduTrainingPlanToExecOrg;
|
|
|
import com.xunmei.common.core.domain.edu.domain.CoreEduTrainingPlanToRole;
|
|
|
@@ -326,7 +325,7 @@ public class CoreEduTrainingPlanServiceImpl extends ServiceImpl<CoreEduTrainingP
|
|
|
.intValue();
|
|
|
//不存在已完成任务,本次修改内容将立即生成
|
|
|
//存在已完成任务,本次修改内容将从下周期生效
|
|
|
- if (ObjectUtil.notEqual(isExecute, 1)) {
|
|
|
+ if (isExecute < 1) {
|
|
|
coreEduTrainingTaskService.delByStartTimeAndEndTimeAndPlanIdList(list, null, null);
|
|
|
//使用中 状态,支持编辑名称,所以这里只需要修改计划名称就行了
|
|
|
this.update(new LambdaUpdateWrapper<CoreEduTrainingPlan>().in(CoreEduTrainingPlan::getId, list)
|