update 优化数据权限sql 解决MP apply注入附带 AND 语法问题

This commit is contained in:
疯狂的狮子li
2021-05-29 18:41:32 +08:00
parent ead1136e31
commit b7bd67b4cb
4 changed files with 6 additions and 6 deletions

View File

@ -145,7 +145,7 @@ public class DataScopeAspect
if (StrUtil.isNotBlank(sqlString.toString()))
{
putDataScope(joinPoint, " AND (" + sqlString.substring(4) + ")");
putDataScope(joinPoint, sqlString.substring(4));
}
}