@Repository public interface RegionRepository extends org.springframework.data.jpa.repository.JpaRepository<Region,Long>
| 限定符和类型 | 方法和说明 |
|---|---|
Optional<Region> |
findByCode(String code) |
List<Region> |
findByParent(Region region) |
List<Region> |
findByType(String type) |
List<Region> |
findByTypeOrType(String provinceType,
String cityType) |
Optional<Region> |
findFirstByNameContaining(String name) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlushCopyright © 2019. All rights reserved.