修改bug

master
Cui YongXing 2024-09-04 19:34:28 +08:00
parent 18f05206bf
commit 012a066e21
2 changed files with 2 additions and 1 deletions

View File

@ -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) {

View File

@ -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);