fix: 变更流程结束以后制定的计划出现原企标编号字段
This commit is contained in:
+2
@@ -114,6 +114,7 @@ public class ProcessESInitChangeEndListener implements ExecutionListener {
|
||||
processEsInitChange.setChangeStatus(ESPChangeType.COMPLETE_TIME_CHANGE.getValue());
|
||||
}
|
||||
enterpriseStandardPlans = BeanCopyUtils.copyBeanList(processEsInitChanges, EnterpriseStandardPlan.class);
|
||||
enterpriseStandardPlans.forEach(esp -> esp.setOriginEnStandardNo(null));
|
||||
espService.updateBatchById(enterpriseStandardPlans);
|
||||
}
|
||||
|
||||
@@ -140,6 +141,7 @@ public class ProcessESInitChangeEndListener implements ExecutionListener {
|
||||
processEsInitChange.setMainDraftingUnit(processEsInitChange.getNewMainDraftingUnit());
|
||||
}
|
||||
enterpriseStandardPlans = BeanCopyUtils.copyBeanList(processEsInitChanges, EnterpriseStandardPlan.class);
|
||||
enterpriseStandardPlans.forEach(esp -> esp.setOriginEnStandardNo(null));
|
||||
espService.updateBatchById(enterpriseStandardPlans);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user