Skip to content

Commit

Permalink
fix query limit, use unlimit instead
Browse files Browse the repository at this point in the history
  • Loading branch information
liudonghua123 committed Sep 29, 2019
1 parent 33c7bfe commit 36d60ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class MybatisPlusConfig {
*/
@Bean
public PaginationInterceptor paginationInterceptor() {
return new PaginationInterceptor();
return new PaginationInterceptor().setLimit(-1);
}

// /**
Expand Down

0 comments on commit 36d60ec

Please sign in to comment.