大批连
This commit is contained in:
parent
a4da7a6ebe
commit
1bc743ac42
@ -106,6 +106,8 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
|
|||||||
List<ThreadInitFlowRecord> threadInitFlowRecords = new ArrayList<>();
|
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){
|
private void initFlowRecordAnsy(List<ResultRecord> resultRecords, List<StaffSimpleInfo> noticeStaff){
|
||||||
if(resultRecords.size() > 0){
|
if(resultRecords.size() > 0){
|
||||||
ThreadInitFlowRecord threadInitFlowRecord = new ThreadInitFlowRecord(resultRecords, noticeStaff);
|
threadInitFlowRecord = new ThreadInitFlowRecord(resultRecords, noticeStaff);
|
||||||
threadInitFlowRecords.add(threadInitFlowRecord);//防止提前回收
|
threadInitFlowRecords.add(threadInitFlowRecord);//防止提前回收
|
||||||
Thread thread = new Thread(threadInitFlowRecord);
|
thread = new Thread(threadInitFlowRecord);
|
||||||
thread.start();
|
thread.start();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user