fix 修复数据权限编写错误

feature/model
疯狂的狮子Li 4 years ago committed by Gitee
parent 06513446a0
commit d2b077af35

@ -184,7 +184,7 @@ public class DataScopeAspect
{ {
if(params instanceof BaseEntity) { if(params instanceof BaseEntity) {
BaseEntity baseEntity = (BaseEntity) params; BaseEntity baseEntity = (BaseEntity) params;
baseEntity.getParams().put(DATA_SCOPE, ""); baseEntity.getParams().put(DATA_SCOPE, sql);
} else { } else {
try { try {
Method getParams = params.getClass().getDeclaredMethod("getParams", null); Method getParams = params.getClass().getDeclaredMethod("getParams", null);

Loading…
Cancel
Save