首页>代码>基于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();
}
}
最近下载更多
1271247100 LV9
11月21日
筱洋1616 LV9
11月1日
Luck_ZDM LV12
10月24日
小丑八怪 LV2
10月21日
luhong LV5
9月20日
vincemokea LV9
9月14日
yangchengshuai LV16
9月3日
hulewang LV8
7月16日
大神程序员 LV23
7月2日
sgrfsgrts LV2
5月15日

最近浏览