|
|
@ -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);
|
|
|
|