return null
This commit is contained in:
@@ -53,7 +53,7 @@ public class RegionServiceImpl implements RegionService {
|
||||
public RegionPathNameVO getAllRegionName(Long regionId) {
|
||||
RegionDO regionDO = regionMapper.getByRegionId(regionId);
|
||||
if(regionDO == null){
|
||||
throw new ServiceException(ErrorCodeEnum.REGION_NOT_EXIST);
|
||||
return null;
|
||||
}
|
||||
|
||||
if(regionDO.getDeleted() || StringUtils.isBlank(regionDO.getRegionPath()) || CommonConstants.LONG_ONE.equals(regionDO.getId())){
|
||||
|
||||
Reference in New Issue
Block a user