Compare commits
7 Commits
9ad7196292
...
23c3f3bb90
Author | SHA1 | Date |
---|---|---|
小小张 | 23c3f3bb90 | |
小小张 | 07de47d308 | |
小小张 | 97f24e988d | |
小小张 | ee355ec413 | |
小小张 | 163f085ea1 | |
小小张 | 0b2b0eab96 | |
小小张 | 1bf472edb6 |
|
@ -106,6 +106,8 @@ public class ShippingTemplatesRegionServiceImpl extends ServiceImpl<ShippingTemp
|
||||||
if(this.cityIdList == null || this.cityIdList.size() < 1){
|
if(this.cityIdList == null || this.cityIdList.size() < 1){
|
||||||
Area area = AreaUtils.getArea(Area.ID_CHINA);
|
Area area = AreaUtils.getArea(Area.ID_CHINA);
|
||||||
Assert.notNull(area, "获取不到中国");
|
Assert.notNull(area, "获取不到中国");
|
||||||
|
|
||||||
|
cityIdList = new ArrayList<>();
|
||||||
AreaUtils.getAreaId(cityIdList, AreaTypeEnum.DISTRICT,area.getChildren());
|
AreaUtils.getAreaId(cityIdList, AreaTypeEnum.DISTRICT,area.getChildren());
|
||||||
}
|
}
|
||||||
return this.cityIdList;
|
return this.cityIdList;
|
||||||
|
|
Loading…
Reference in New Issue