com.baomidou.mybatisplus.mapper.LogicSqlInjector Java Examples

The following examples show how to use com.baomidou.mybatisplus.mapper.LogicSqlInjector. 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 RCT with Apache License 2.0 4 votes vote down vote up
/**
 * 注入sql注入器
 */
@Bean
public ISqlInjector sqlInjector() {
	return new LogicSqlInjector();
}
 
Example #2
Source File: MybatisPlusConfig.java    From unimall with Apache License 2.0 4 votes vote down vote up
@Bean
public GlobalConfiguration globalConfiguration() {
    GlobalConfiguration conf = new GlobalConfiguration(new LogicSqlInjector());
    conf.setIdType(IdType.AUTO.getKey());
    return conf;
}
 
Example #3
Source File: MybatisPlusConfig.java    From easyweb-shiro with MIT License 4 votes vote down vote up
/**
 * 注入sql注入器
 */
@Bean
public ISqlInjector sqlInjector() {
    return new LogicSqlInjector();
}