fix: 年度制修订-标准化发起
最后归档提交不了
This commit is contained in:
+5
@@ -53,6 +53,11 @@ public class ProcessESAnnualInitEndListener implements ExecutionListener {
|
|||||||
annualInits.forEach(annualInit -> annualInit.setId(null));
|
annualInits.forEach(annualInit -> annualInit.setId(null));
|
||||||
// 转换为企标计划数据并入库
|
// 转换为企标计划数据并入库
|
||||||
enterpriseStandardPlans = BeanCopyUtils.copyBeanList(annualInits, EnterpriseStandardPlan.class);
|
enterpriseStandardPlans = BeanCopyUtils.copyBeanList(annualInits, EnterpriseStandardPlan.class);
|
||||||
|
// 设置一些字段
|
||||||
|
// 制修订类型字段
|
||||||
|
for (EnterpriseStandardPlan esp : enterpriseStandardPlans) {
|
||||||
|
esp.setApplicationCategory(esp.getProjectType());
|
||||||
|
}
|
||||||
espService.saveBatch(enterpriseStandardPlans);
|
espService.saveBatch(enterpriseStandardPlans);
|
||||||
log.info("数据存入企标计划数据库");
|
log.info("数据存入企标计划数据库");
|
||||||
// 自动发起制修订流程
|
// 自动发起制修订流程
|
||||||
|
|||||||
Reference in New Issue
Block a user