@Repository public interface BlockRepository extends org.springframework.data.jpa.repository.JpaRepository<Block,Long>
| 限定符和类型 | 方法和说明 |
|---|---|
Optional<Block> |
findByBid(String bid) |
Optional<Block> |
findByBlockedUser(User user) |
org.springframework.data.domain.Page<Block> |
findByUser(User user,
org.springframework.data.domain.Pageable pageable) |
Optional<Block> |
findByUserAndBlockedUser(User user,
User blockedUser) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlushCopyright © 2019. All rights reserved.