寻找报错
parent
d47e8e59f7
commit
d3bd8c27cc
|
@ -344,8 +344,16 @@ public class TaskInfoServiceImpl extends ServiceImpl<TaskInfoMapper, TaskInfo> i
|
||||||
|
|
||||||
DataValue[][] data = tableValueResult.getData();
|
DataValue[][] data = tableValueResult.getData();
|
||||||
log.info("执行{}查询的方法结束", sqlSelect);
|
log.info("执行{}查询的方法结束", sqlSelect);
|
||||||
|
for (DataValue[] datum : data) {
|
||||||
executeTheRule(data,map,newBasicId,tableId);
|
for (DataValue dataValue : datum) {
|
||||||
|
String key = dataValue.getKey();
|
||||||
|
String newKey = map.get(key);
|
||||||
|
dataValue.setKey(newKey);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Result result = datasourceFeign.addProduct(newBasicId, tableId, data);
|
||||||
|
log.info("{}添加结束", result);
|
||||||
|
//executeTheRule(data,map,newBasicId,tableId);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -389,15 +397,7 @@ public class TaskInfoServiceImpl extends ServiceImpl<TaskInfoMapper, TaskInfo> i
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
DataValue[][] afterFilteringDataValue = currentFuture.get();
|
DataValue[][] afterFilteringDataValue = currentFuture.get();
|
||||||
for (DataValue[] datum : afterFilteringDataValue) {
|
|
||||||
for (DataValue dataValue : datum) {
|
|
||||||
String key = dataValue.getKey();
|
|
||||||
String newKey = map.get(key);
|
|
||||||
dataValue.setKey(newKey);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Result result = datasourceFeign.addProduct(newBasicId, tableId, afterFilteringDataValue);
|
|
||||||
log.info("{}添加结束", result);
|
|
||||||
|
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
|
|
Loading…
Reference in New Issue