com.baomidou.mybatisplus.extension.injector.LogicSqlInjector Java Examples

The following examples show how to use com.baomidou.mybatisplus.extension.injector.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 admin-plus with Apache License 2.0 4 votes vote down vote up
/**
 * 逻辑删除
 * @return
 */
@Bean
public ISqlInjector sqlInjector() {
    return new LogicSqlInjector();
}
 
Example #2
Source File: MybatisPlusConfig.java    From mall4j with GNU Affero General Public License v3.0 4 votes vote down vote up
/**
 * 逻辑删除插件
 *
 * @return LogicSqlInjector
 */
@Bean
@ConditionalOnMissingBean
public ISqlInjector sqlInjector() {
    return new LogicSqlInjector();
}
 
Example #3
Source File: MybatisConfig.java    From SpringBoot2.0 with Apache License 2.0 4 votes vote down vote up
@Bean
public ISqlInjector sqlInjector() {
    return new LogicSqlInjector();
}
 
Example #4
Source File: MybatisAutoConfiguration.java    From faster-framework-project with Apache License 2.0 4 votes vote down vote up
/**
 * 逻辑删除
 *
 * @return ISqlInjector
 */
@Bean
@ConditionalOnMissingBean
public ISqlInjector sqlInjector() {
    return new LogicSqlInjector();
}
 
Example #5
Source File: MybatisPlusConfig.java    From spring-boot-starter-samples with Apache License 2.0 4 votes vote down vote up
/**
 * 注入sql注入器
 */
@Bean
public ISqlInjector sqlInjector(){
    return new LogicSqlInjector();
}
 
Example #6
Source File: MybatisPlusConfig.java    From spring-boot-starter-samples with Apache License 2.0 4 votes vote down vote up
/**
 * 注入sql注入器
 */
@Bean
public ISqlInjector sqlInjector(){
    return new LogicSqlInjector();
}
 
Example #7
Source File: MybatisPlusConfig.java    From spring-boot-start-current with Apache License 2.0 4 votes vote down vote up
@Bean
public LogicSqlInjector logicSqlInjector () {
	return new LogicSqlInjector();
}
 
Example #8
Source File: MybatisConfig.java    From SpringCloud with Apache License 2.0 4 votes vote down vote up
@Bean
public ISqlInjector sqlInjector() {
    return new LogicSqlInjector();
}
 
Example #9
Source File: MybatisConfig.java    From SpringCloud with Apache License 2.0 4 votes vote down vote up
/**
 * 初使化Mybatis审计字段自动赋值的interceptor
 */
@Bean
public ISqlInjector sqlInjector() {
    return new LogicSqlInjector();
}
 
Example #10
Source File: MybatisPlusConfigurer.java    From smaker with GNU Lesser General Public License v3.0 2 votes vote down vote up
/**
 * 逻辑删除
 *
 * @return
 */
@Bean
public ISqlInjector sqlInjector() {
	return new LogicSqlInjector();
}