mirror of https://gitee.com/stylefeng/roses
【db】整理注释
parent
64a623c4f3
commit
182ae14591
|
@ -22,12 +22,17 @@ public class GunsMyBatisPlusAutoConfiguration {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新的分页插件
|
* 新的分页插件
|
||||||
|
*
|
||||||
|
* @author fengshuonan
|
||||||
|
* @date 2020/12/24 13:13
|
||||||
*/
|
*/
|
||||||
@Bean
|
@Bean
|
||||||
public MybatisPlusInterceptor mybatisPlusInterceptor() {
|
public MybatisPlusInterceptor mybatisPlusInterceptor() {
|
||||||
MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
|
MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
|
||||||
|
|
||||||
// 使用分页插插件
|
// 使用分页插插件
|
||||||
interceptor.addInnerInterceptor(paginationInterceptor());
|
interceptor.addInnerInterceptor(paginationInterceptor());
|
||||||
|
|
||||||
return interceptor;
|
return interceptor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue