...
|
...
|
@@ -223,22 +223,21 @@ public class AppraiseAddressService { |
|
|
* @param areaCode
|
|
|
* @return
|
|
|
*/
|
|
|
public AppraiseAddressInfo findAppraiseAddress(String areaCode){
|
|
|
public AppraiseAddressInfo findAppraiseAddress(String areaCode) {
|
|
|
AppraiseAddressResp addressResp = null;
|
|
|
if(StringUtils.isBlank(areaCode)){
|
|
|
if (StringUtils.isBlank(areaCode)) {
|
|
|
return null;
|
|
|
}
|
|
|
// 香港鉴定中心
|
|
|
if (areaCode.equals(String.valueOf(HK_AREA_CODE))){
|
|
|
if (areaCode.equals(String.valueOf(HK_AREA_CODE))) {
|
|
|
addressResp = queryHKAppraiseAddress();
|
|
|
}
|
|
|
|
|
|
// 卖家未发货的情况,根据寄回地址就近选中一个鉴定中心
|
|
|
if (addressResp==null){
|
|
|
if (Objects.isNull(addressResp)) {
|
|
|
addressResp = queryAddressByAreaCode(areaCode);
|
|
|
}
|
|
|
|
|
|
if (addressResp != null){
|
|
|
if (Objects.nonNull(addressResp)) {
|
|
|
return convert2AppraiseAddressInfo(addressResp);
|
|
|
} else {
|
|
|
return null;
|
...
|
...
|
|