去掉DataPermissionDatabaseInterceptor空行
This commit is contained in:
parent
1382c71298
commit
df564909ff
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user