| Constructor and Description |
|---|
CityBizImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected net.mingsoft.base.dao.IBaseDao |
getDao() |
List<CityEntity> |
queryByLevel(int level)
通过层级过滤城市数据,提高性能
|
List<CityEntity> |
queryCity(CityEntity cityEntity)
查询市
|
List<CityEntity> |
queryCounty(CityEntity cityEntity)
查询区/县
|
List<CityBean> |
queryForTree(int level,
String type)
根据层级,和类型来确定返回多少级数
|
List<CityEntity> |
queryProvince()
查询省/直辖市/自治区
|
List<CityEntity> |
queryTown(CityEntity cityEntity)
查询街道/镇
|
List<CityEntity> |
queryVillage(CityEntity cityEntity)
查询村委会
|
countBySQL, createTable, delete, deleteBySQL, deleteEntity, deleteEntity, dropTable, excuteSql, getEntity, getEntity, insertBySQL, query, queryAll, queryBySQL, queryBySQL, queryCount, saveBatch, saveEntity, updateBySQL, updateEntityprotected net.mingsoft.base.dao.IBaseDao getDao()
getDao in class net.mingsoft.base.biz.impl.BaseBizImplpublic List<CityEntity> queryProvince()
ICityBizqueryProvince in interface ICityBizpublic List<CityEntity> queryCity(CityEntity cityEntity)
ICityBizpublic List<CityEntity> queryCounty(CityEntity cityEntity)
ICityBizqueryCounty in interface ICityBizpublic List<CityEntity> queryTown(CityEntity cityEntity)
ICityBizpublic List<CityEntity> queryVillage(CityEntity cityEntity)
ICityBizqueryVillage in interface ICityBizpublic List<CityBean> queryForTree(int level, String type)
ICityBizqueryForTree in interface ICityBizlevel - 层级数,整型。public List<CityEntity> queryByLevel(int level)
ICityBizqueryByLevel in interface ICityBizlevel - 默认3级获取到区数据Copyright © 2020. All rights reserved.