public class RegionCacheUtil extends Object implements org.springframework.beans.factory.InitializingBean
Modifier and Type | Field and Description |
---|---|
static List<SysRegionEntity> |
sysRegionEntityList |
Constructor and Description |
---|
RegionCacheUtil() |
public static List<SysRegionEntity> sysRegionEntityList
public static void init()
public static List<SysRegionEntity> getAllCountry()
public static List<SysRegionEntity> getAllProvice()
public static List<SysRegionEntity> getAllCity()
public static List<SysRegionEntity> getAllProviceByParentId(Integer areaId)
public static List<SysRegionEntity> getChildrenCity(Integer areaId)
public static List<SysRegionEntity> getChildrenCity(String proviceName)
public static List<SysRegionEntity> getChildrenDistrict(Integer areaId)
public static List<SysRegionEntity> getChildrenDistrict(String provinceName, String cityName)
public static List<SysRegionEntity> getChildrenByParentId(Integer parentId)
public static SysRegionEntity getAreaByAreaId(Integer areaId)
public static Integer getCityIdByName(Integer provinceId, String areaName)
public static Integer getDistrictIdByName(Integer provinceId, Integer cityId, String areaName)
Copyright © 2021. All rights reserved.