|
|
@@ -471,7 +471,7 @@ public class AppPlanServiceImpl extends ServiceImpl<AppPlanMapper, AppPlan> impl
|
|
|
resumptionMapper.delete(new LambdaQueryWrapper<Resumption>().eq(Resumption::getPlanId, ap.getId()));
|
|
|
} else {
|
|
|
//否则代表编辑名称,需要同步未进行的任务名称
|
|
|
- resumptionMapper.updateNameByPlanId(app.getPlanName(), ap.getId());
|
|
|
+ resumptionMapper.updateNameByPlanId(existPlan.getPlanName(),app.getPlanName(), ap.getId());
|
|
|
}
|
|
|
|
|
|
}
|
|
|
@@ -534,7 +534,7 @@ public class AppPlanServiceImpl extends ServiceImpl<AppPlanMapper, AppPlan> impl
|
|
|
appPlanToExecOrgMapper.insert(execOrg);
|
|
|
}
|
|
|
//更新任务的名称
|
|
|
- resumptionMapper.updateNameByPlanId(app.getPlanName(), app.getId());
|
|
|
+ resumptionMapper.updateNameByPlanId(existPlan.getPlanName(),app.getPlanName(), app.getId());
|
|
|
|
|
|
//最后处理本计划
|
|
|
plan.setUpdateTime(new Date());
|