添加实现

This commit is contained in:
yulichang 2023-03-27 11:19:12 +08:00
parent b6dcc7c1c6
commit 3c3fb3272c

View File

@ -20,10 +20,7 @@ import org.apache.ibatis.mapping.MappedStatement;
import org.apache.ibatis.mapping.ResultFlag; import org.apache.ibatis.mapping.ResultFlag;
import org.apache.ibatis.mapping.ResultMap; import org.apache.ibatis.mapping.ResultMap;
import org.apache.ibatis.mapping.ResultMapping; import org.apache.ibatis.mapping.ResultMapping;
import org.apache.ibatis.plugin.Interceptor; import org.apache.ibatis.plugin.*;
import org.apache.ibatis.plugin.Intercepts;
import org.apache.ibatis.plugin.Invocation;
import org.apache.ibatis.plugin.Signature;
import org.apache.ibatis.session.Configuration; import org.apache.ibatis.session.Configuration;
import org.apache.ibatis.session.ResultHandler; import org.apache.ibatis.session.ResultHandler;
import org.apache.ibatis.session.RowBounds; import org.apache.ibatis.session.RowBounds;
@ -377,4 +374,14 @@ public class MPJInterceptor implements Interceptor {
return str.replaceAll("\\.", StringPool.DASH); return str.replaceAll("\\.", StringPool.DASH);
} }
} }
@Override
public Object plugin(Object target) {
return Plugin.wrap(target, this);
}
@Override
public void setProperties(Properties properties) {
// NOP
}
} }