mybatisplus分页拦截器
;Configuration
public class Mpconfig {
;Bean public MybatisPlusInterceptor MybatisPlusInterceptor(){ MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor(); //配置mybatisplus分页拦截器 interceptor.addInnerInterceptor(new PaginationInnerInterceptor()); return interceptor; }
}