diff --git a/mybatis-plus-join-core/src/main/java/com/github/yulichang/interceptor/MPJInterceptor.java b/mybatis-plus-join-core/src/main/java/com/github/yulichang/interceptor/MPJInterceptor.java index cb8b61a..88d6bd9 100644 --- a/mybatis-plus-join-core/src/main/java/com/github/yulichang/interceptor/MPJInterceptor.java +++ b/mybatis-plus-join-core/src/main/java/com/github/yulichang/interceptor/MPJInterceptor.java @@ -377,11 +377,18 @@ public class MPJInterceptor implements Interceptor { @Override public Object plugin(Object target) { - return Plugin.wrap(target, this); + try { + return Interceptor.super.plugin(target); + } catch (Exception e) { + return Plugin.wrap(target, this); + } } @Override public void setProperties(Properties properties) { - // NOP + try { + Interceptor.super.setProperties(properties); + } catch (Exception ignored) { + } } }