优化测试
This commit is contained in:
parent
4fa8416e78
commit
b0503b22cd
@ -447,10 +447,15 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
|
||||
//设置当前审批员工姓名 current_approval_staff_name
|
||||
resultRecord.setCurrentApprovalStaffName(staffInfo.getName());
|
||||
resultRecords.add(resultRecord);
|
||||
}
|
||||
resultRecordService.saveBatch(resultRecords);
|
||||
for (ResultRecord resultRecord:
|
||||
resultRecords) {
|
||||
|
||||
|
||||
resultRecordService.insertResultRecord(resultRecord);
|
||||
//下面生成实际的考核流程
|
||||
//resultRecordService.initFlowRecord(resultRecord.getId());
|
||||
staffInfo.setRecordId(resultRecord.getId());
|
||||
//staffInfo.setRecordId(resultRecord.getId());
|
||||
|
||||
for (ResultModelDto modelDto:resultModelDtos
|
||||
) {
|
||||
@ -466,7 +471,7 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
|
||||
resultDetail.setType(modelDto.getType());
|
||||
resultDetail.setKeyResult(libDto.getKeyResult());
|
||||
resultDetail.setCheckWeight(libDto.getWeight());
|
||||
resultDetail.setStaffId(staffInfo.getId());
|
||||
resultDetail.setStaffId(resultRecord.getStaffId());
|
||||
resultDetail.setPriority(libDto.getOrderBy());
|
||||
resultDetail.setModelId(modelDto.getId());
|
||||
resultDetails.add(resultDetail);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user