| 程序包 | 说明 |
|---|---|
| io.xiaper.jpa.model | |
| io.xiaper.jpa.repository |
| 限定符和类型 | 方法和说明 |
|---|---|
Region |
Region.getParent() |
| 限定符和类型 | 方法和说明 |
|---|---|
Set<Region> |
Company.getRegions() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Region.setParent(Region parent) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Company.setRegions(Set<Region> regions) |
| 限定符和类型 | 方法和说明 |
|---|---|
Optional<Region> |
RegionRepository.findByCode(String code) |
List<Region> |
RegionRepository.findByParent(Region region) |
List<Region> |
RegionRepository.findByType(String type) |
List<Region> |
RegionRepository.findByTypeOrType(String provinceType,
String cityType) |
Optional<Region> |
RegionRepository.findFirstByNameContaining(String name) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Region> |
RegionRepository.findByParent(Region region) |
Copyright © 2019. All rights reserved.