package com.foreverwin.mesnac.console.mybatis;

import com.baomidou.mybatisplus.core.injector.ISqlInjector;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 *
 * @description:
 * @author: syngna
 * @create: 2020-11-23 21:11
 */
@Configuration
public class MybatisPlusConfig {
    /**
     * 自定义sql注入器
     * @return
     */
    @Bean
    public ISqlInjector sqlInjector() {
        return new GeneralMybatisPlusSqlInjector();
    }
}