com.baomidou.mybatisplus.core.injector.DefaultSqlInjector Java Examples

The following examples show how to use com.baomidou.mybatisplus.core.injector.DefaultSqlInjector. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MybatisPlusConfig.java    From plumemo with Apache License 2.0 4 votes vote down vote up
@Bean
public ISqlInjector sqlInjector() {
    return new DefaultSqlInjector();
}
 
Example #2
Source File: MybatisPlusConfig.java    From datax-web with MIT License 2 votes vote down vote up
/**
 * MyBatisPlus逻辑删除 ,需要在 yml 中配置开启
 * 3.0.7.1版本的LogicSqlInjector里面什么都没做只是 extends DefaultSqlInjector
 * 以后版本直接去的了LogicSqlInjector
 *
 * @return
 */
@Bean
public ISqlInjector sqlInjector() {
    return new DefaultSqlInjector();
}