接口 QueryInterceptor
- 所有超级接口:
org.springframework.core.Ordered
public interface QueryInterceptor
extends org.springframework.core.Ordered
自定义 mybatis plus 查询拦截器
-
字段概要
从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
方法概要
修饰符和类型方法说明default intgetOrder()排序voidintercept(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) 拦截处理
-
方法详细资料
-
intercept
void intercept(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) 拦截处理- 参数:
executor-ms-parameter-rowBounds-resultHandler-boundSql-
-
getOrder
default int getOrder()排序- 指定者:
getOrder在接口中org.springframework.core.Ordered- 返回:
- int
-