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

    Constructors
    Constructor
    Description
    PageInnerInterceptorWrapper(com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor pagination)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
    添加分页方言
    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)
    执行count

    Methods 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, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods 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:
      willDoQuery in interface com.baomidou.mybatisplus.extension.plugins.inner.InnerInterceptor
      Overrides:
      willDoQuery in class com.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:
      beforeQuery in interface com.baomidou.mybatisplus.extension.plugins.inner.InnerInterceptor
      Overrides:
      beforeQuery in class com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor