添加新增行政区域接口参数校验,,优化获取行政区域树状列表逻辑。完善添加站点行区域信息校验逻辑等
This commit is contained in:
@ -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("请选择站点图标!");
|
||||
}
|
||||
|
Reference in New Issue
Block a user