Skip to content

replace-deprecated-api-usage分支分页插件无效,附修改建议 #175

@gadfly3173

Description

@gadfly3173

描述 bug

branch::refactor/replace-deprecated-api-usage分页插件无效

你使用哪个版本出现该问题?

branch::refactor/replace-deprecated-api-usage commit::471d212ff33cc30dca82c418adc549544d1a542e

修复建议

由于我自己fork的项目做了大量改动,不方便pr,因此将建议修改的内容写在下面

lin-cms-spring-boot/src/main/java/io/github/talelin/latticy/common/configuration/CommonConfiguration.java中line27-30改为

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions