Compare commits

...

2 Commits

Author SHA1 Message Date
lwj f77645a954 测试线程池 2024-09-08 02:38:41 +08:00
lwj 3eaa65b3b0 测试线程池 2024-09-08 02:35:46 +08:00
1 changed files with 3 additions and 1 deletions

View File

@ -125,13 +125,14 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, TaskInfo> implement
String[] tableAsFieldList = taskInputList.get(i).getTableAsField().split(",");
for (int j = 0; j < tableAsFieldList.length; j++) {
for (int o = 0; o < newFileName.length; o++) {
newAndOldMap.put(outPutFileName[j], newFileName[j]);
newAndOldMap.put(outPutFileName[o], newFileName[o]);
if(tableAsFieldList[j].equals(outPutFileName[o])){
sql += ","+taskInputList.get(i).getTableAsName() + "." + tableFieldList[j] +" " +
tableAsFieldList[j] + " ";
}
}
fieldAsNameMap.put(tableAsFieldList[j], tableFieldList[j]);
fieldAsNameMap.put(tableAsFieldList[j], tableFieldList[j]);
}
}
@ -249,6 +250,7 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, TaskInfo> implement
List<List<DataValue>> data = (List<List<DataValue>>) tableValue.getData();
log.info("远程调用完毕,调用数量{}",data.size());
for (List<DataValue> datum : data) {
log.info(datum.toString());
for (DataValue dataValue : datum) {
String key = dataValue.getKey();
String newKey = fieldAsNameMap.get(key);