public interface ClientTenantRelDao extends org.springframework.data.jpa.repository.JpaRepository<ClientTenantRel,java.lang.Long>, org.springframework.data.repository.PagingAndSortingRepository<ClientTenantRel,java.lang.Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<ClientTenantRel>, io.geewit.data.jpa.essential.repository.JpaBatchExecutor<ClientTenantRel>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deleteByClientId(java.lang.String clientId) |
void |
deleteById(java.lang.Long id) |
java.util.List<ClientTenantRel> |
findByClientId(java.lang.String clientId) |
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlushcount, delete, deleteAll, deleteAll, deleteAllById, existsById, findById, savecount, exists, findAll, findOne@Transactional(rollbackFor=java.lang.Exception.class)
@Modifying(flushAutomatically=true,
clearAutomatically=true)
@Query(value="delete from ClientTenantRel rel where rel.id = :id")
void deleteById(@Param(value="id")
java.lang.Long id)
deleteById 在接口中 org.springframework.data.repository.CrudRepository<ClientTenantRel,java.lang.Long>@Query(value="select rel from ClientTenantRel rel where rel.clientId = :clientId") java.util.List<ClientTenantRel> findByClientId(@Param(value="clientId") java.lang.String clientId)
@Transactional(rollbackFor=java.lang.Exception.class)
@Modifying(flushAutomatically=true,
clearAutomatically=true)
@Query(value="delete from ClientTenantRel rel where rel.clientId = :clientId")
void deleteByClientId(@Param(value="clientId")
java.lang.String clientId)