优化测试

This commit is contained in:
wulin 2020-11-17 14:50:30 +08:00
parent f3bfabbf35
commit 247968b9a8

View File

@ -708,12 +708,8 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
roleJSON += "]";
roleJSON = roleJSON.replace(",]", "]");
resultRecord.setFlowStaffIdRole(roleJSON);
resultRecords.add(resultRecord);
}
resultRecordService.saveBatch(resultRecords);
for (ResultRecord resultRecord:
resultRecords) {
//resultRecordService.insertResultRecord(resultRecord);
resultRecordService.insertResultRecord(resultRecord);
//staffInfo.setRecordId(resultRecord.getId());
//下面生成实际的考核流程
//resultRecordService.initFlowRecord(resultRecord.getId());