线程等待
parent
42da1a6d84
commit
366a3e613e
|
@ -285,6 +285,11 @@ public class TaskInfoServiceImpl extends ServiceImpl<TaskInfoMapper, TaskInfo> i
|
|||
getString(pageNum, finalFieName, finalJoint,basicId,newBasicId,tableId,map,num);
|
||||
});
|
||||
}
|
||||
try {
|
||||
Thread.sleep(2000);
|
||||
} catch (InterruptedException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
// 任务完成后恢复默认线程分配
|
||||
restoreDefaults();
|
||||
}
|
||||
|
@ -307,6 +312,7 @@ public class TaskInfoServiceImpl extends ServiceImpl<TaskInfoMapper, TaskInfo> i
|
|||
dataValue.setKey(newKey);
|
||||
}
|
||||
}
|
||||
|
||||
Result result = datasourceFeign.addProduct(newBasicId, tableId, data);
|
||||
log.info(result);
|
||||
// for (List<DataValue> dataValues : tableValue) {
|
||||
|
|
Loading…
Reference in New Issue