自动化立体仓库 - WMS系统
pjb
23 小时以前 d6cb644d0ccc0f73f68d60b3a43e82320d8c97f0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.zy.common.config;
 
/**
 * @author pang.jiabao
 * @description MyBaits plus sql拦截器配置
 * @createDate 2024/10/25 16:18
 */
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
 
//@Configuration
@MapperScan("src.resources.mapper") // 替换为你的Mapper包路径
public class MyBatisPlusConfig {
 
    @Bean
    public SlowSqlInterceptor slowSqlInterceptor() {
        return new SlowSqlInterceptor();
    }
}