@Repository public interface CategoryRepository extends org.springframework.data.jpa.repository.JpaRepository<Category,Long>
| 限定符和类型 | 方法和说明 |
|---|---|
Optional<Category> |
findByCid(String cid) |
Set<Category> |
findByType(String type) |
Set<Category> |
findByTypeAndUser(String type,
User user) |
Set<Category> |
findByUserAndParent(User user,
Category parent) |
Set<Category> |
findByUserAndTypeAndParent(User user,
String type,
Category category) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlushCopyright © 2019. All rights reserved.