Class PagingInterceptor

java.lang.Object
develop.toolkit.mybatis.PagingInterceptor
All Implemented Interfaces:
org.apache.ibatis.plugin.Interceptor

@Intercepts(@Signature(type=org.apache.ibatis.executor.Executor.class,method="query",args={org.apache.ibatis.mapping.MappedStatement.class,java.lang.Object.class,org.apache.ibatis.session.RowBounds.class,org.apache.ibatis.session.ResultHandler.class})) public class PagingInterceptor extends Object implements org.apache.ibatis.plugin.Interceptor
Author:
qiushui on 2021-06-18.
  • Constructor Details

    • PagingInterceptor

      public PagingInterceptor()
  • Method Details

    • intercept

      public Object intercept(org.apache.ibatis.plugin.Invocation invocation) throws Throwable
      Specified by:
      intercept in interface org.apache.ibatis.plugin.Interceptor
      Throws:
      Throwable