Compare commits
2 Commits
d05503724e
...
f77645a954
Author | SHA1 | Date |
---|---|---|
|
f77645a954 | |
|
3eaa65b3b0 |
|
@ -125,13 +125,14 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, TaskInfo> implement
|
||||||
String[] tableAsFieldList = taskInputList.get(i).getTableAsField().split(",");
|
String[] tableAsFieldList = taskInputList.get(i).getTableAsField().split(",");
|
||||||
for (int j = 0; j < tableAsFieldList.length; j++) {
|
for (int j = 0; j < tableAsFieldList.length; j++) {
|
||||||
for (int o = 0; o < newFileName.length; o++) {
|
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])){
|
if(tableAsFieldList[j].equals(outPutFileName[o])){
|
||||||
sql += ","+taskInputList.get(i).getTableAsName() + "." + tableFieldList[j] +" " +
|
sql += ","+taskInputList.get(i).getTableAsName() + "." + tableFieldList[j] +" " +
|
||||||
tableAsFieldList[j] + " ";
|
tableAsFieldList[j] + " ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fieldAsNameMap.put(tableAsFieldList[j], tableFieldList[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();
|
List<List<DataValue>> data = (List<List<DataValue>>) tableValue.getData();
|
||||||
log.info("远程调用完毕,调用数量{}",data.size());
|
log.info("远程调用完毕,调用数量{}",data.size());
|
||||||
for (List<DataValue> datum : data) {
|
for (List<DataValue> datum : data) {
|
||||||
|
log.info(datum.toString());
|
||||||
for (DataValue dataValue : datum) {
|
for (DataValue dataValue : datum) {
|
||||||
String key = dataValue.getKey();
|
String key = dataValue.getKey();
|
||||||
String newKey = fieldAsNameMap.get(key);
|
String newKey = fieldAsNameMap.get(key);
|
||||||
|
|
Loading…
Reference in New Issue