forked from github/dataease
Merge pull request #9974 from dataease/pr@dev-v2@fix_ds
fix(数据集): 修复数据集预览报错的问题
This commit is contained in:
commit
b9308ddb8e
@ -231,7 +231,7 @@ public class DatasetDataManage {
|
|||||||
map.put("allFields", fieldList);
|
map.put("allFields", fieldList);
|
||||||
}
|
}
|
||||||
map.put("sql", Base64.getEncoder().encodeToString(querySQL.getBytes()));
|
map.put("sql", Base64.getEncoder().encodeToString(querySQL.getBytes()));
|
||||||
String replaceSql = SqlUtils.rebuildSQL(SQLProvider.createQuerySQL(sqlMeta, false, needOrder, false), sqlMeta, crossDs, dsMap);
|
String replaceSql = SqlUtils.rebuildSQL(SQLProvider.createQuerySQL(sqlMeta, false, false, false), sqlMeta, crossDs, dsMap);
|
||||||
map.put("total", getDatasetTotal(datasetGroupInfoDTO, replaceSql, null));
|
map.put("total", getDatasetTotal(datasetGroupInfoDTO, replaceSql, null));
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user