fix: 企标计划修改 责任部门变更流程结束后不更新数据

This commit is contained in:
2024-05-15 18:49:50 +08:00
parent e25565b4fd
commit e1997a74b8
@@ -136,6 +136,9 @@ public class ProcessESInitChangeEndListener implements ExecutionListener {
// 将企标计划变更状态设为变更
for (ProcessEsInitChange processEsInitChange : processEsInitChanges) {
processEsInitChange.setChangeStatus(ESPChangeType.CHANGE.getValue());
processEsInitChange.setMainDraftingUser(processEsInitChange.getNewMainDraftingUser());
processEsInitChange.setMainDraftingUnitResponsiblePerson(processEsInitChange.getNewMainDraftingUnitResponsiblePerson());
processEsInitChange.setMainDraftingUnit(processEsInitChange.getNewMainDraftingUnit());
}
enterpriseStandardPlans = BeanCopyUtils.copyBeanList(processEsInitChanges, EnterpriseStandardPlan.class);
espService.updateBatchById(enterpriseStandardPlans);