Class SysTenantDataSourceService
java.lang.Object
cn.herodotus.engine.data.core.service.BaseService<SysTenantDataSource,String>
cn.herodotus.engine.oauth2.authorization.autoconfigure.tenant.SysTenantDataSourceService
- All Implemented Interfaces:
cn.herodotus.engine.data.core.service.ReadableService<SysTenantDataSource,,String> cn.herodotus.engine.data.core.service.WriteableService<SysTenantDataSource,String>
@Service
public class SysTenantDataSourceService
extends cn.herodotus.engine.data.core.service.BaseService<SysTenantDataSource,String>
Description: 多租户数据源
- Author:
- : gengwei.zheng
- Date:
- : 2023/3/29 21:20
-
Constructor Summary
ConstructorsConstructorDescriptionSysTenantDataSourceService(SysTenantDataSourceRepository sysTenantDataSourceRepository) -
Method Summary
Modifier and TypeMethodDescriptionfindByTenantId(String tenantId) cn.herodotus.engine.data.core.repository.BaseRepository<SysTenantDataSource,String> Methods inherited from class cn.herodotus.engine.data.core.service.BaseService
likeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cn.herodotus.engine.data.core.service.ReadableService
count, count, existsById, findAll, findAll, findAll, findAll, findById, findByPage, findByPage, findByPage, findByPage, findByPage, findByPage, findByPageMethods inherited from interface cn.herodotus.engine.data.core.service.WriteableService
delete, deleteAll, deleteAll, deleteAllInBatch, deleteById, flush, save, saveAll, saveAllAndFlush, saveAndFlush
-
Constructor Details
-
SysTenantDataSourceService
-
-
Method Details
-
getRepository
public cn.herodotus.engine.data.core.repository.BaseRepository<SysTenantDataSource,String> getRepository() -
findByTenantId
-