修改bug
parent
18f05206bf
commit
012a066e21
|
@ -285,6 +285,7 @@ public class TaskInfoServiceImpl extends ServiceImpl<TaskInfoMapper, TaskInfo> i
|
|||
private void getString(Long pageNum,String fieName,String joint,Long basicId,Long newBasicId,Long tableId,HashMap<String, String> map ) {
|
||||
|
||||
String sql = " SELECT " + fieName + " FROM " + joint +" limit "+pageNum +",10000 ";
|
||||
log.info(sql);
|
||||
Result<List<List<DataValue>>> tableValueResult = datasourceFeign.findTableValue(basicId, sql);
|
||||
List<List<DataValue>> tableValue = tableValueResult.getData();
|
||||
for (List<DataValue> dataValues : tableValue) {
|
||||
|
|
|
@ -32,7 +32,7 @@ public class OptimizedPrioritizedThreadPool {
|
|||
// 创建固定大小的线程池
|
||||
executor = new ThreadPoolExecutor(
|
||||
totalThreads, totalThreads,
|
||||
300, TimeUnit.SECONDS,
|
||||
300L, TimeUnit.SECONDS,
|
||||
new LinkedBlockingQueue<Runnable>() // 使用无界的阻塞队列
|
||||
);
|
||||
highPrioritySemaphore = new Semaphore(defaultHighThreads);
|
||||
|
|
Loading…
Reference in New Issue