添加新增行政区域接口参数校验,,优化获取行政区域树状列表逻辑。完善添加站点行区域信息校验逻辑等

This commit is contained in:
mi9688
2024-10-29 13:21:37 +08:00
parent 5b2ea1f01b
commit 476e766342
2 changed files with 104 additions and 40 deletions

View File

@ -87,10 +87,11 @@ public class GSitesServiceImpl extends ServiceImpl<GSiteGroupsMapper,GSiteGroups
if (StringUtils.isBlank(gGroupSiteDto.getAreaCode())) {
throw new ServiceException("请选择行政区域!");
}
//行政区完整编码校验
if(StringUtils.isBlank(gGroupSiteDto.getFullAreaCode())){
throw new ServiceException("请提交行政区域完整编码!");
}
//未上传站点地图json数据
//站点图标校验
if(StringUtils.isBlank(gGroupSiteDto.getIcon())){
throw new ServiceException("请选择站点图标!");
}