优化测试
This commit is contained in:
parent
38decf8e91
commit
9749cad480
@ -737,7 +737,7 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
|
||||
resultRecordService.insertResultRecord(resultRecord);
|
||||
staffInfo.setRecordId(resultRecord.getId());
|
||||
//下面生成实际的考核流程
|
||||
List<Flow> flows = flowService.selectByFlowId(resultRecord.getEvaluationId(),resultRecord.getStartId());
|
||||
/*List<Flow> flows = flowService.selectByFlowId(resultRecord.getEvaluationId(),resultRecord.getStartId());
|
||||
List<Long> flowIds = new ArrayList<>();
|
||||
for(Flow flow:flows){
|
||||
flowIds.add(flow.getId());
|
||||
@ -791,7 +791,7 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
|
||||
}
|
||||
i++;
|
||||
}
|
||||
resultRecordService.updateResultRecordById(resultRecord);
|
||||
resultRecordService.updateResultRecordById(resultRecord);*/
|
||||
|
||||
/*ExecutorService executor = Executors.newFixedThreadPool(10);
|
||||
List<ResultRecord> resultRecords = Lists.newArrayList();
|
||||
@ -802,7 +802,9 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
|
||||
e.printStackTrace();
|
||||
}*/
|
||||
|
||||
//resultRecordService.initFlowRecord(resultRecord.getId());
|
||||
log.info("开始时间{}", System.currentTimeMillis());
|
||||
resultRecordService.initFlowRecord(resultRecord.getId());
|
||||
log.info("结束时间{}", System.currentTimeMillis());
|
||||
//下面生成ResultDetail对象
|
||||
for (ResultModelDto modelDto:resultModelDtos
|
||||
) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user