Merge remote-tracking branch 'origin/fourthStage' into fourthStage

This commit is contained in:
yjz
2024-02-07 11:26:13 +08:00
2 changed files with 4 additions and 0 deletions
@@ -131,6 +131,7 @@ public class ProcessESInitChangeEndListener implements ExecutionListener {
espService.deleteById(processEsInitChange.getStandardIdTwo());
// 生成新企标计划
EnterpriseStandardPlan plan = BeanCopyUtils.copyBean(processEsInitChange, EnterpriseStandardPlan.class);
plan.setApplicationCategory(ESPProjectType.ENACT.getValue());
espService.save(plan);
//发起制修订流程
esRevisionService.autoStartProcess(getRevisionDataVO(plan));
@@ -210,6 +210,9 @@ public class EsRevisionServiceImpl extends ServiceImpl<EsRevisionMapper, Process
if (esp == null) {
throw new JeroBootException(ResultCommon.INVALID_ESP);
}
// 设置状态为运行中
esp.setProjectStatus(ESPProjectStatus.IN_PROGRESS.getValue());
espService.updateById(esp);
}
@Override