forked from github/dataease
feat: 行权限取并集
This commit is contained in:
parent
56c0e8a635
commit
f41392c258
@ -44,7 +44,7 @@ public class WhereTree2Str {
|
||||
res.add(treeExp);
|
||||
}
|
||||
}
|
||||
meta.setWhereTrees(CollectionUtils.isNotEmpty(res) ? "(" + String.join(" AND ", res) + ")" : null);
|
||||
meta.setWhereTrees(CollectionUtils.isNotEmpty(res) ? "(" + String.join(" OR ", res) + ")" : null);
|
||||
meta.setWhereTreesDialect(fieldsDialect);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user