添加联查信息方法

master
陈思豪 2024-09-06 17:44:41 +08:00
parent fbef7fc857
commit c074e17487
1 changed files with 3 additions and 2 deletions

View File

@ -45,8 +45,9 @@ public class SegmentTask implements Runnable, Comparable<SegmentTask> {
log.info("开始执行任务:" + basicId + " " + sql + " " + weight + " " + tableId, tableId);
// 查询数据
Result<List<List<DataValue>>> tableValue = dataValueClient.findTableValue(basicId, sql);
List<List<DataValue>> data = tableValue.getData();
Result tableValue = dataValueClient.findTableValue(basicId, sql);
log.info("远程调用完毕,调用的值为{}",tableValue);
List<List<DataValue>> data = (List<List<DataValue>>) tableValue.getData();
log.info("查询结果:" + data);
for (List<DataValue> datum : data) {
for (DataValue dataValue : datum) {