From 8d6398bb4da847cd6ee704897b1b8e9a0ffda850 Mon Sep 17 00:00:00 2001 From: liwen <794511863@qq.com> Date: Tue, 26 May 2020 08:14:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4DataScopeInterceptor=E4=B8=AD?= =?UTF-8?q?=E7=9A=84plugin=E5=92=8CsetProperties=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E9=87=8D=E5=86=99=E6=96=B9=E6=B3=95=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../data/datascope/DataScopeInterceptor.java | 26 +------------------ 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/pigx-common/pigx-common-data/src/main/java/com/pig4cloud/pigx/common/data/datascope/DataScopeInterceptor.java b/pigx-common/pigx-common-data/src/main/java/com/pig4cloud/pigx/common/data/datascope/DataScopeInterceptor.java index 7b0b262d6..16d1fc916 100644 --- a/pigx-common/pigx-common-data/src/main/java/com/pig4cloud/pigx/common/data/datascope/DataScopeInterceptor.java +++ b/pigx-common/pigx-common-data/src/main/java/com/pig4cloud/pigx/common/data/datascope/DataScopeInterceptor.java @@ -83,31 +83,7 @@ public class DataScopeInterceptor extends AbstractSqlParserHandler implements In metaObject.setValue("delegate.boundSql.sql", originalSql); return invocation.proceed(); } - - - /** - * 生成拦截对象的代理 - * - * @param target 目标对象 - * @return 代理对象 - */ - @Override - public Object plugin(Object target) { - if (target instanceof StatementHandler) { - return Plugin.wrap(target, this); - } - return target; - } - - /** - * mybatis配置的属性 - * - * @param properties mybatis配置的属性 - */ - @Override - public void setProperties(Properties properties) { - - } + /** * 查找参数是否包括DataScope对象