public interface ICityBiz
extends net.mingsoft.base.biz.IBaseBiz
| Modifier and Type | Method and Description |
|---|---|
List<CityEntity> |
queryByLevel(int level)
通过层级过滤城市数据,提高性能
|
List<CityEntity> |
queryCity(CityEntity cityEntity)
查询市
|
List<CityEntity> |
queryCounty(CityEntity cityEntity)
查询区/县
|
List<CityBean> |
queryForTree(int tier,
String type)
根据层级,和类型来确定返回多少级数
|
List<CityEntity> |
queryProvince()
查询省/直辖市/自治区
|
List<CityEntity> |
queryTown(CityEntity cityEntity)
查询街道/镇
|
List<CityEntity> |
queryVillage(CityEntity cityEntity)
查询村委会
|
List<CityEntity> queryProvince()
List<CityEntity> queryCity(CityEntity cityEntity)
cityEntity - 城市实体List<CityEntity> queryCounty(CityEntity cityEntity)
cityEntity - List<CityEntity> queryTown(CityEntity cityEntity)
cityEntity - List<CityEntity> queryVillage(CityEntity cityEntity)
cityEntity - List<CityBean> queryForTree(int tier, String type)
tier - 层级数,整型。List<CityEntity> queryByLevel(int level)
level - 默认3级获取到区数据Copyright © 2020. All rights reserved.