接口 SysTenantDataSourceRepository
- 所有超级接口:
BaseRepository<SysTenantDataSource,,String> org.springframework.data.repository.CrudRepository<SysTenantDataSource,,String> org.springframework.data.jpa.repository.JpaRepository<SysTenantDataSource,,String> org.springframework.data.jpa.repository.JpaSpecificationExecutor<SysTenantDataSource>,org.springframework.data.repository.ListCrudRepository<SysTenantDataSource,,String> org.springframework.data.repository.ListPagingAndSortingRepository<SysTenantDataSource,,String> org.springframework.data.repository.PagingAndSortingRepository<SysTenantDataSource,,String> org.springframework.data.repository.query.QueryByExampleExecutor<SysTenantDataSource>,org.springframework.data.repository.Repository<SysTenantDataSource,String>
Description: 多租户数据源 Repository
- 作者:
- : gengwei.zheng
- Date:
- : 2023/3/28 21:58
-
方法概要
从接口继承的方法 cn.herodotus.engine.data.core.repository.BaseRepository
count, count, deleteById, findAll, findAll, findAll, findAll, findAll, findAll, findById, findOne从接口继承的方法 org.springframework.data.repository.CrudRepository
delete, deleteAll, deleteAll, deleteAllById, existsById, save从接口继承的方法 org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush从接口继承的方法 org.springframework.data.jpa.repository.JpaSpecificationExecutor
delete, exists, findBy从接口继承的方法 org.springframework.data.repository.ListCrudRepository
findAllById, saveAll从接口继承的方法 org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
方法详细资料
-
findByTenantId
根据租户ID查询数据源- 参数:
tenantId- 租户ID- 返回:
SysTenantDataSource
-