Skip to content

Commit

Permalink
Update MybatisPlusConfig.java (DataLinkDC#2290)
Browse files Browse the repository at this point in the history
Enable backend pagination
  • Loading branch information
OpenOpened authored Sep 6, 2023
1 parent 759e1af commit 77aca80
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,10 @@ public boolean ignoreTable(String tableName) {
return !IGNORE_TABLE_NAMES.contains(tableName);
}
}));

interceptor.addInnerInterceptor(new PaginationInnerInterceptor());
return interceptor;
}

@Bean
public PaginationInnerInterceptor paginationInterceptor() {
return new PaginationInnerInterceptor();
}

@Bean
@ConditionalOnMissingBean
@ConditionalOnProperty(
Expand Down

0 comments on commit 77aca80

Please sign in to comment.