去掉DataPermissionDatabaseInterceptor空行

This commit is contained in:
1351515658@qq.com 2024-01-03 18:53:18 +08:00
parent 1382c71298
commit df564909ff

View File

@ -495,7 +495,6 @@ public class DataPermissionDatabaseInterceptor extends JsqlParserSupport impleme
// 生成条件 // 生成条件
Expression allExpression = null; Expression allExpression = null;
for (DataPermissionRule rule : ContextHolder.getRules()) { for (DataPermissionRule rule : ContextHolder.getRules()) {
String tableName = MyBatisUtils.getTableName(table); String tableName = MyBatisUtils.getTableName(table);
// 判断表名是否匹配 // 判断表名是否匹配
if (!rule.getTableNames().contains(tableName)) { if (!rule.getTableNames().contains(tableName)) {