Commit 5da041d3 by “zcwang”

modify: 批量插入

parent 18b7845f
...@@ -142,7 +142,6 @@ public class ChangeFlowBiz { ...@@ -142,7 +142,6 @@ public class ChangeFlowBiz {
changeFlowService.saveRecord(changeRecord); changeFlowService.saveRecord(changeRecord);
// 保存变更行动方案记录 // 保存变更行动方案记录
List<ChangeExecRecord> changeExecRecords = buildChangeExecRecord(changeRecord.getId(), changeExecProject); List<ChangeExecRecord> changeExecRecords = buildChangeExecRecord(changeRecord.getId(), changeExecProject);
changeFlowExecService.batchSaveRecord(changeExecRecords);
changeExecRecords.forEach(exec->changeFlowExecService.saveRecord(exec)); changeExecRecords.forEach(exec->changeFlowExecService.saveRecord(exec));
// 保存附件 // 保存附件
List<ChangeFlowFile> files = changeFlowCreateReq.getFiles(); List<ChangeFlowFile> files = changeFlowCreateReq.getFiles();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment