Commit 8fd4ae12 authored by RuoYi's avatar RuoYi

优化druid开启wall过滤器出现的异常问题

parent eab1b450
...@@ -118,7 +118,7 @@ public class DataScopeAspect ...@@ -118,7 +118,7 @@ public class DataScopeAspect
else else
{ {
// 数据权限为仅本人且没有userAlias别名不查询任何数据 // 数据权限为仅本人且没有userAlias别名不查询任何数据
sqlString.append(" OR 1=0 "); sqlString.append(StringUtils.format(" OR {}.dept_id = 0 ", deptAlias));
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment