解析mybatis plus分页不起作用(失败)的问题

@Configuration
public class MyBatisPlusConfig {
 
    @Bean
    public MybatisPlusInterceptor mybatisPlusInterceptor() {
        MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
        interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL));
        return interceptor;
    }

}

 

posted @ 2022-05-18 11:53  jiduoduo  阅读(1933)  评论(0编辑  收藏  举报