LARGE_REGION
This commit is contained in:
@@ -41,7 +41,7 @@ public class RegionAreaConfigServiceImpl implements RegionAreaConfigService {
|
|||||||
if(regionDO == null){
|
if(regionDO == null){
|
||||||
throw new ServiceException(ErrorCodeEnum.REGION_NOT_EXIST);
|
throw new ServiceException(ErrorCodeEnum.REGION_NOT_EXIST);
|
||||||
}
|
}
|
||||||
if(!ThirdRegionTypeEnum.WAR_REGION.getCode().equals(regionDO.getThirdRegionType())){
|
if(!ThirdRegionTypeEnum.LARGE_REGION.getCode().equals(regionDO.getThirdRegionType())){
|
||||||
throw new ServiceException(ErrorCodeEnum.ONLY_WAR_REGION_CONFIG);
|
throw new ServiceException(ErrorCodeEnum.ONLY_WAR_REGION_CONFIG);
|
||||||
}
|
}
|
||||||
List<Long> areaIdList = regionAreaConfigAddRequest.getAreaIdList();
|
List<Long> areaIdList = regionAreaConfigAddRequest.getAreaIdList();
|
||||||
|
|||||||
Reference in New Issue
Block a user