Merge pull request #10481 from dataease/pr@dev-v2@feat_filter_tree

feat(仪表板): 新增下拉树接口
This commit is contained in:
Junjun 2024-06-25 10:15:22 +08:00 committed by GitHub
commit 8438de9e09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -810,11 +810,7 @@ public class DatasetDataManage {
// 重新构造data
Set<String> pkSet = new HashSet<>();
// if (org.apache.commons.collections4.CollectionUtils.isNotEmpty(rows) && existExtSortField && originSize > 0) {
// rows = rows.stream().map(row -> ArrayUtils.subarray(row, 0, originSize)).collect(Collectors.toList());
// }
rows = rows.stream().filter(row -> {
int length = row.length;
boolean allEmpty = true;
for (String s : row) {
if (StringUtils.isNotBlank(s)) {