测试线程池

master
陈思豪 2024-09-09 01:54:04 +08:00
parent 07212c55e1
commit b6ac6354c4
1 changed files with 2 additions and 1 deletions

View File

@ -129,7 +129,7 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, TaskInfo> implement
newAndOldMap.put(fieldAsNameMap.get(outPutFileName[o]), newFileName[o]); newAndOldMap.put(fieldAsNameMap.get(outPutFileName[o]), newFileName[o]);
if(tableAsFieldList[j].equals(outPutFileName[o])){ if(tableAsFieldList[j].equals(outPutFileName[o])){
sql += ","+taskInputList.get(i).getTableAsName() + "." + tableFieldList[j] +" " + sql += ","+taskInputList.get(i).getTableAsName() + "." + tableFieldList[j] +" " +
tableAsFieldList[j] + " "; tableAsFieldList[j] ;
} }
} }
@ -238,6 +238,7 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, TaskInfo> implement
private void selectAndAdd(Long databaseId,Long basicId,String sql,Long tableId, private void selectAndAdd(Long databaseId,Long basicId,String sql,Long tableId,
HashMap<String,String> newAndOldMap,Long finalFirstArray ,Integer two) { HashMap<String,String> newAndOldMap,Long finalFirstArray ,Integer two) {
log.info("开始查询数据"); log.info("开始查询数据");
log.info("sql{}",sql);
log.info("数组为{}{}",finalFirstArray ,two); log.info("数组为{}{}",finalFirstArray ,two);
DataValue[][] tableValue = dataValueClient.findTableValueToArray(databaseId, sql, finalFirstArray,two); DataValue[][] tableValue = dataValueClient.findTableValueToArray(databaseId, sql, finalFirstArray,two);
log.info("远程调用完毕,调用数量{}",tableValue.length); log.info("远程调用完毕,调用数量{}",tableValue.length);