com.baomidou.mybatisplus.core.injector.ISqlInjector Java Examples
The following examples show how to use
com.baomidou.mybatisplus.core.injector.ISqlInjector.
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 |
/** * 逻辑删除 * @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 |
/** * 逻辑删除插件 * * @return LogicSqlInjector */ @Bean @ConditionalOnMissingBean public ISqlInjector sqlInjector() { return new LogicSqlInjector(); }
Example #3
Source File: MybatisPlusConfig.java From plumemo with Apache License 2.0 | 4 votes |
@Bean public ISqlInjector sqlInjector() { return new DefaultSqlInjector(); }
Example #4
Source File: MybatisplusAutoConfiguration.java From summerframework with Apache License 2.0 | 4 votes |
@Bean public ISqlInjector sqlInjector() { return new MySqlInjector(); }
Example #5
Source File: MybatisConfig.java From SpringBoot2.0 with Apache License 2.0 | 4 votes |
@Bean public ISqlInjector sqlInjector() { return new LogicSqlInjector(); }
Example #6
Source File: MybatisAutoConfiguration.java From faster-framework-project with Apache License 2.0 | 4 votes |
/** * 逻辑删除 * * @return ISqlInjector */ @Bean @ConditionalOnMissingBean public ISqlInjector sqlInjector() { return new LogicSqlInjector(); }
Example #7
Source File: MybatisPlusConfig.java From spring-boot-starter-samples with Apache License 2.0 | 4 votes |
/** * 注入sql注入器 */ @Bean public ISqlInjector sqlInjector(){ return new LogicSqlInjector(); }
Example #8
Source File: MybatisPlusConfig.java From spring-boot-starter-samples with Apache License 2.0 | 4 votes |
/** * 注入sql注入器 */ @Bean public ISqlInjector sqlInjector(){ return new LogicSqlInjector(); }
Example #9
Source File: MybatisConfig.java From SpringCloud with Apache License 2.0 | 4 votes |
@Bean public ISqlInjector sqlInjector() { return new LogicSqlInjector(); }
Example #10
Source File: MybatisConfig.java From SpringCloud with Apache License 2.0 | 4 votes |
/** * 初使化Mybatis审计字段自动赋值的interceptor */ @Bean public ISqlInjector sqlInjector() { return new LogicSqlInjector(); }
Example #11
Source File: MybatisPlusConfigurer.java From smaker with GNU Lesser General Public License v3.0 | 2 votes |
/** * 逻辑删除 * * @return */ @Bean public ISqlInjector sqlInjector() { return new LogicSqlInjector(); }
Example #12
Source File: MybatisPlusConfig.java From datax-web with MIT License | 2 votes |
/** * MyBatisPlus逻辑删除 ,需要在 yml 中配置开启 * 3.0.7.1版本的LogicSqlInjector里面什么都没做只是 extends DefaultSqlInjector * 以后版本直接去的了LogicSqlInjector * * @return */ @Bean public ISqlInjector sqlInjector() { return new DefaultSqlInjector(); }