首页>代码>基于SpringBoot学生就业管理系统(带万字文档)>/源代码/employment/src/main/java/com/project/config/MybatisPlusConfig.java
package com.project.config;
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import com.baomidou.mybatisplus.extension.plugins.PerformanceInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* @author: liangrenren
* @date: 2020-12-15 15:53
**/
@Configuration
public class MybatisPlusConfig {
/**
* mybatis-plus SQL执行效率插件【生产环境可以关闭】
*/
@Bean
public PerformanceInterceptor performanceInterceptor() {
return new PerformanceInterceptor();
}
/**
* 分页插件
*/
@Bean
public PaginationInterceptor paginationInterceptor() {
return new PaginationInterceptor();
}
}
最近下载更多
Osit888 LV12
10月24日
mritsy LV1
10月10日
11999333 LV3
6月9日
newhaijun LV16
6月7日
haitianjiaoyu0 LV8
5月27日
5418888 LV3
5月13日
微信网友_6444139264921600 LV8
3月21日
陈小灏 LV18
2月21日
蓝羊羊 LV20
2月15日
lxllxllxlLXL LV1
2024年12月26日

最近浏览