//package org.qinan.safetyeval.infrastructure.config;
//
//import com.baomidou.mybatisplus.annotation.DbType;
//import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
//import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
//import com.jjb.saas.framework.auth.properties.ServerProperties;
//import org.mybatis.spring.annotation.MapperScan;
//import org.springframework.boot.context.properties.EnableConfigurationProperties;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * MyBatis Plus配置
// *
// * @author safety-eval
// */
//@Configuration
//@MapperScan({"org.qinan.safetyeval.infrastructure.mapper"
//, "org.qinan.safetyeval.infrastructure.persistence.mapper"})
//@EnableConfigurationProperties(ServerProperties.class)
//public class MybatisPlusConfig {
//
//    @Bean
//    public MybatisPlusInterceptor mybatisPlusInterceptor() {
//        MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
//        interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL));
//        return interceptor;
//    }
//}