子线程
This commit is contained in:
parent
6f36d0698a
commit
8b9c08ea80
@ -839,15 +839,15 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
|
||||
while(i > 0){
|
||||
for (ResultRecord resultRecord:resultRecords
|
||||
) {
|
||||
|
||||
resultRecordService.initFlowRecord(resultRecord.getId());
|
||||
|
||||
}
|
||||
log.info("批量{}", i);
|
||||
try {
|
||||
Thread.sleep(1000);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
i--;
|
||||
}
|
||||
|
||||
//ch.qos.logback.classic.Logger.threadLocalNo.set(oldNo);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user