Commit 3677df74 by levphon

共享数据拦截器

1 parent c1bbbfce
......@@ -114,7 +114,7 @@ public class DataPermitLinkInterceptor implements Interceptor {
String linkPermitSql = assembleLinkPermitSql(originSql, dataAuth, ShieldContextHolder.getUserId()); //绝对数据权限过滤组装
//合并查询sql
String linkUnionSql = relativePertSql + " union all " + linkPermitSql;
String linkUnionSql = relativePertSql + " UNION " + linkPermitSql;
if (dataAuth.showSql()) {
log.info("\nrelativePertSql:{}\nlinkPermitSql:{}\nlinkUnionSql:{}", relativePertSql, linkPermitSql, linkUnionSql);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!