lizijie
2022-03-18 016ede312448bae12c8f42724afb5a295f42935e
screen-api/src/main/java/com/moral/api/config/mybatis/MybatisPlusConfig.java
@@ -32,7 +32,7 @@
        MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
        //分页插件
        interceptor.addInnerInterceptor(new PaginationInnerInterceptorIIL(DbType.MYSQL));
        interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL));
        // 动态表名SQL解析器
        DynamicTableNameInnerInterceptor dynamicTableNameInnerInterceptor = new DynamicTableNameInnerInterceptor();
@@ -45,17 +45,5 @@
        return interceptor;
    }
    /*@Bean
    public MybatisPlusInterceptor mybatisPlusInterceptor() {
        MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
        //分页插件
        PaginationInnerInterceptorIIL paginationInnerInterceptorIIL = new PaginationInnerInterceptorIIL(DbType.MYSQL);
        paginationInnerInterceptorIIL.setMultiTableQueryName(multiTableQueryNames);
        interceptor.addInnerInterceptor(paginationInnerInterceptorIIL);
        return interceptor;
    }*/
}