@Configuration(proxyBeanMethods=false) @AutoConfigureBefore(value=MybatisPlusConfig.class) @EnableConfigurationProperties(value=JpowerTenantProperties.class) public class TenantConfiguration extends Object
| 构造器和说明 |
|---|
TenantConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
InsertBatchSomeColumnTenant |
insertBatchSomeColumnTenant(com.baomidou.mybatisplus.extension.plugins.handler.TenantLineHandler tenantHandler) |
com.baomidou.mybatisplus.extension.plugins.handler.TenantLineHandler |
tenantHandler(JpowerTenantProperties properties) |
com.baomidou.mybatisplus.extension.plugins.inner.TenantLineInnerInterceptor |
tenantSqlParser(com.baomidou.mybatisplus.extension.plugins.handler.TenantLineHandler tenantHandler) |
@Bean @ConditionalOnMissingBean(value=com.baomidou.mybatisplus.extension.plugins.handler.TenantLineHandler.class) public com.baomidou.mybatisplus.extension.plugins.handler.TenantLineHandler tenantHandler(JpowerTenantProperties properties)
@Bean
@ConditionalOnProperty(value="jpower.tenant.enable",
matchIfMissing=true)
@ConditionalOnMissingBean(value=InsertBatchSomeColumnTenant.class)
public InsertBatchSomeColumnTenant insertBatchSomeColumnTenant(com.baomidou.mybatisplus.extension.plugins.handler.TenantLineHandler tenantHandler)
@Bean
@ConditionalOnProperty(value="jpower.tenant.enable",
matchIfMissing=true)
@ConditionalOnMissingBean(value=com.baomidou.mybatisplus.extension.plugins.inner.TenantLineInnerInterceptor.class)
public com.baomidou.mybatisplus.extension.plugins.inner.TenantLineInnerInterceptor tenantSqlParser(com.baomidou.mybatisplus.extension.plugins.handler.TenantLineHandler tenantHandler)
Copyright © 2024. All rights reserved.