Class SysTenantDataSourceService
java.lang.Object
cn.herodotus.engine.data.core.jpa.service.AbstractJpaService<SysTenantDataSource,String>
cn.herodotus.engine.oauth2.authentication.autoconfigure.tenant.SysTenantDataSourceService
- All Implemented Interfaces:
cn.herodotus.engine.data.core.jpa.service.BaseJpaReadableService<SysTenantDataSource,,String> cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService<SysTenantDataSource,,String> cn.herodotus.engine.data.core.service.BasePageService<SysTenantDataSource,,String> cn.herodotus.engine.data.core.service.BaseService<SysTenantDataSource,String>
@Service
public class SysTenantDataSourceService
extends cn.herodotus.engine.data.core.jpa.service.AbstractJpaService<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.jpa.repository.BaseJpaRepository<SysTenantDataSource,String> Methods inherited from class cn.herodotus.engine.data.core.jpa.service.AbstractJpaService
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.jpa.service.BaseJpaReadableService
count, count, exists, existsById, findAll, findAll, findAll, findAll, findAllById, findById, findByPage, findByPage, findByPage, findByPage, getReferenceByIdMethods inherited from interface cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService
delete, deleteAll, deleteAll, deleteAllById, deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteById, flush, save, saveAll, saveAllAndFlush, saveAndFlushMethods inherited from interface cn.herodotus.engine.data.core.service.BasePageService
findByPage, findByPage, findByPage
-
Constructor Details
-
SysTenantDataSourceService
-
-
Method Details
-
getRepository
public cn.herodotus.engine.data.core.jpa.repository.BaseJpaRepository<SysTenantDataSource,String> getRepository() -
findByTenantId
-