类 SchemaInterceptor
java.lang.Object
top.tangyh.basic.database.plugins.SchemaInterceptor
- 所有已实现的接口:
com.baomidou.mybatisplus.extension.plugins.inner.InnerInterceptor
public class SchemaInterceptor
extends Object
implements com.baomidou.mybatisplus.extension.plugins.inner.InnerInterceptor
SCHEMA模式插件
- 作者:
- zuihou
-
构造器概要
构造器构造器说明SchemaInterceptor(String tenantDatabasePrefix, String owner, com.baomidou.mybatisplus.annotation.DbType dbType) -
方法概要
修饰符和类型方法说明voidbeforePrepare(org.apache.ibatis.executor.statement.StatementHandler sh, Connection connection, Integer transactionTimeout) voidbeforeQuery(org.apache.ibatis.executor.Executor executor, org.apache.ibatis.mapping.MappedStatement ms, Object parameter, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.session.ResultHandler resultHandler, org.apache.ibatis.mapping.BoundSql boundSql) protected StringchangeTable(String sql) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.baomidou.mybatisplus.extension.plugins.inner.InnerInterceptor
beforeGetBoundSql, beforeUpdate, setProperties, willDoQuery, willDoUpdate
-
构造器详细资料
-
SchemaInterceptor
-
-
方法详细资料
-
changeTable
-
beforeQuery
public void beforeQuery(org.apache.ibatis.executor.Executor executor, org.apache.ibatis.mapping.MappedStatement ms, Object parameter, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.session.ResultHandler resultHandler, org.apache.ibatis.mapping.BoundSql boundSql) throws SQLException - 指定者:
beforeQuery在接口中com.baomidou.mybatisplus.extension.plugins.inner.InnerInterceptor- 抛出:
SQLException
-
beforePrepare
public void beforePrepare(org.apache.ibatis.executor.statement.StatementHandler sh, Connection connection, Integer transactionTimeout) - 指定者:
beforePrepare在接口中com.baomidou.mybatisplus.extension.plugins.inner.InnerInterceptor
-