后台--运费模板:配送区域修改
parent
a0c0fc8437
commit
1bf472edb6
|
@ -106,6 +106,7 @@ 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