|
@@ -86,6 +86,14 @@ public class CustomizeAreaServiceImpl extends ServiceImpl<CustomizeAreaMapper, C
|
|
item.setCityId(customizeArea.getId());
|
|
item.setCityId(customizeArea.getId());
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ //如果省市id还是为空就赋值-1解决id没被修改问题
|
|
|
|
+ if (ObjectUtil.isEmpty(item.getCityId())){
|
|
|
|
+ item.setCityId(-1L);
|
|
|
|
+ }
|
|
|
|
+ if (ObjectUtil.isEmpty(item.getProvinceId())){
|
|
|
|
+ item.setProvinceId(-1L);
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|