LARGE_REGION

This commit is contained in:
苏竹红
2024-06-03 16:31:19 +08:00
parent 68c209d0ca
commit 6e94ee4975

View File

@@ -41,7 +41,7 @@ public class RegionAreaConfigServiceImpl implements RegionAreaConfigService {
if(regionDO == null){
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);
}
List<Long> areaIdList = regionAreaConfigAddRequest.getAreaIdList();