|
|
@ -241,7 +241,7 @@ public class AgencyServiceImpl implements AgencyService { |
|
|
|
public List<AreaCodeDictResultDTO> areaCodeDictTree(AreaCodeDictFormDTO formDTO) { |
|
|
|
Result<List<AreaCodeDictResultDTO>> listResult = commonServiceOpenFeignClient.areaCodeDictTree(formDTO); |
|
|
|
if (!listResult.success()){ |
|
|
|
throw new RenException(ScreenConstant.GET_AREA_TREE_FAILURE); |
|
|
|
throw new RenException(listResult.getInternalMsg()); |
|
|
|
} |
|
|
|
if (!CollectionUtils.isEmpty(listResult.getData())){ |
|
|
|
return listResult.getData(); |
|
|
|