首页>代码>基于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();
    }
}
最近下载更多
lipiao161  LV16 3月16日
dane168  LV8 2月17日
BlackList  LV6 1月2日
ma406805131  LV19 2024年12月26日
1121173448  LV2 2024年12月18日
fanglin_yu  LV6 2024年11月30日
可乐要加冰1  LV8 2024年11月29日
最近浏览更多
暂无贡献等级
暂无贡献等级
yykyyds 4月6日
暂无贡献等级
ilovecode521  LV5 4月5日
暂无贡献等级
zzz9985688  LV10 4月2日
thsgli  LV9 4月1日
小橘子是你啊  LV1 3月31日
luhong  LV1 3月31日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友