大批连

This commit is contained in:
wulin 2020-11-18 18:07:34 +08:00
parent a4da7a6ebe
commit 1bc743ac42

View File

@ -106,6 +106,8 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
List<ThreadInitFlowRecord> threadInitFlowRecords = new ArrayList<>();
ThreadInitFlowRecord threadInitFlowRecord;
Thread thread;
@ -810,9 +812,9 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
private void initFlowRecordAnsy(List<ResultRecord> resultRecords, List<StaffSimpleInfo> noticeStaff){
if(resultRecords.size() > 0){
ThreadInitFlowRecord threadInitFlowRecord = new ThreadInitFlowRecord(resultRecords, noticeStaff);
threadInitFlowRecord = new ThreadInitFlowRecord(resultRecords, noticeStaff);
threadInitFlowRecords.add(threadInitFlowRecord);//防止提前回收
Thread thread = new Thread(threadInitFlowRecord);
thread = new Thread(threadInitFlowRecord);
thread.start();
}