Commit 510d14d8 by huangfusuper

解决补批数据重复添加

parent a3d0064a
......@@ -59,6 +59,12 @@ public class MakeUpFlowThreadRunHelper extends BaseThreadRunHelper {
nextRunFlow.forEach((key,value) ->{
/*保证数据为串行*/
try {
Thread.sleep(100);
} catch (InterruptedException e) {
e.printStackTrace();
}
boolean runRecordingIsRunning = runRecordingService.findRunRecordingIsRunning(value.getFlowId());
if(!runRecordingIsRunning){
runRecordingAndJobTaskService.updateRunRecordingAndTask(value);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment