...
|
...
|
@@ -64,7 +64,7 @@ public class AppraiseAddressService { |
|
|
List<AppraiseAddressResp> appraiseAddressResps = queryAddressInfoList();
|
|
|
|
|
|
if (CollectionUtils.isEmpty(appraiseAddressResps)) {
|
|
|
return new AppraiseAddressResp.builder().setMobile("15010019250").setType(0).setAddressName("宫布朗").setAddress("北京市朝阳区望京东园523号楼融科望京中心写字楼A座1208-UFO鉴定中心").build();
|
|
|
return new AppraiseAddressResp.builder().setMobile("13073457202").setType(0).setAddressName("宫布朗").setAddress("北京市朝阳区望京东园523号楼融科望京中心写字楼A座1208-UFO鉴定中心").build();
|
|
|
}
|
|
|
return appraiseAddressResps.get(0);
|
|
|
}
|
...
|
...
|
@@ -75,13 +75,13 @@ public class AppraiseAddressService { |
|
|
List<AppraiseAddressResp> appraiseAddressResps = queryAddressInfoList();
|
|
|
|
|
|
if (CollectionUtils.isEmpty(appraiseAddressResps)) {
|
|
|
return new AppraiseAddressResp.builder().setMobile("15010019250").setType(0).setAddressName("宫布朗").setAddress("北京市朝阳区望京东园523号楼融科望京中心写字楼A座1208-UFO鉴定中心").build();
|
|
|
return new AppraiseAddressResp.builder().setMobile("13073457202").setType(0).setAddressName("宫布朗").setAddress("北京市朝阳区望京东园523号楼融科望京中心写字楼A座1208-UFO鉴定中心").build();
|
|
|
}
|
|
|
|
|
|
List<AppraiseAddressResp> collect = appraiseAddressResps.stream().filter(item -> item.getType() == depotNum).collect(Collectors.toList());
|
|
|
|
|
|
if (CollectionUtils.isEmpty(collect)) {
|
|
|
return new AppraiseAddressResp.builder().setMobile("15010019250").setType(0).setAddressName("宫布朗").setAddress("北京市朝阳区望京东园523号楼融科望京中心写字楼A座1208-UFO鉴定中心").build();
|
|
|
return new AppraiseAddressResp.builder().setMobile("13073457202").setType(0).setAddressName("宫布朗").setAddress("北京市朝阳区望京东园523号楼融科望京中心写字楼A座1208-UFO鉴定中心").build();
|
|
|
}
|
|
|
|
|
|
return collect.get(0);
|
...
|
...
|
|