后台--运费模板:配送区域修改

pull/2/head
小小张 2023-05-23 17:16:23 +08:00
parent 07de47d308
commit 23c3f3bb90
1 changed files with 1 additions and 0 deletions

View File

@ -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());
}