Class PageInnerInterceptorWrapper
java.lang.Object
com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor
com.github.yulichang.interceptor.pagination.PageInnerInterceptorWrapper
- All Implemented Interfaces:
com.baomidou.mybatisplus.extension.plugins.inner.InnerInterceptor
public class PageInnerInterceptorWrapper
extends com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor
- Since:
- 1.5.0
- Author:
- yulichang
-
Field Summary
Fields inherited from class com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor
COUNT_SELECT_ITEM, countMsCache, logger, maxLimit, optimizeJoin, overflow -
Constructor Summary
ConstructorsConstructorDescriptionPageInnerInterceptorWrapper(com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor pagination) -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeQuery(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) 添加分页方言booleanwillDoQuery(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) 执行countMethods inherited from class com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor
addOrderByElements, autoCountSql, buildAutoCountMappedStatement, buildCountMappedStatement, canEqual, concatOrderBy, continuePage, equals, findIDialect, getDbType, getDialect, getLogger, getMaxLimit, handlerLimit, handlerOverflow, hashCode, isOptimizeJoin, isOverflow, lowLevelCountSql, setDbType, setDialect, setMaxLimit, setOptimizeJoin, setOverflow, setProperties, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.baomidou.mybatisplus.extension.plugins.inner.InnerInterceptor
beforeGetBoundSql, beforePrepare, beforeUpdate, willDoUpdate
-
Constructor Details
-
PageInnerInterceptorWrapper
public PageInnerInterceptorWrapper(com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor pagination)
-
-
Method Details
-
willDoQuery
public boolean willDoQuery(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 执行count- Specified by:
willDoQueryin interfacecom.baomidou.mybatisplus.extension.plugins.inner.InnerInterceptor- Overrides:
willDoQueryin classcom.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor- Throws:
SQLException
-
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) 添加分页方言- Specified by:
beforeQueryin interfacecom.baomidou.mybatisplus.extension.plugins.inner.InnerInterceptor- Overrides:
beforeQueryin classcom.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor
-