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

The following examples show how to use com.baomidou.mybatisplus.core.injector.DefaultSqlInjector. These examples are extracted from open source projects. 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 Project: plumemo   Source File: MybatisPlusConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
public ISqlInjector sqlInjector() {
    return new DefaultSqlInjector();
}
 
Example 2
Source Project: datax-web   Source File: MybatisPlusConfig.java    License: 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();
}