feat: 行权限取并集

This commit is contained in:
junjun 2024-07-11 15:16:43 +08:00
parent 56c0e8a635
commit f41392c258

View File

@ -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);
}