后台--运费模板:配送区域修改
parent
07de47d308
commit
23c3f3bb90
|
@ -106,6 +106,7 @@ public class ShippingTemplatesRegionServiceImpl extends ServiceImpl<ShippingTemp
|
|||
if(this.cityIdList == null || this.cityIdList.size() < 1){
|
||||
Area area = AreaUtils.getArea(Area.ID_CHINA);
|
||||
Assert.notNull(area, "获取不到中国");
|
||||
|
||||
cityIdList = new ArrayList<>();
|
||||
AreaUtils.getAreaId(cityIdList, AreaTypeEnum.DISTRICT,area.getChildren());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue