...
|
...
|
@@ -123,9 +123,10 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
|
/**
|
|
|
* 买家修改收货地址:
|
|
|
* 鉴定中心确定收货之前,都可以修改地址
|
|
|
* 如果地址信息没有变化,返回false,有变化返回true
|
|
|
*/
|
|
|
@Override
|
|
|
public void buyerModifyAddress(int uid, long orderCode,AddressInfo changedAddress){
|
|
|
public boolean buyerModifyAddress(int uid, long orderCode,AddressInfo changedAddress){
|
|
|
//参数检查和状态检查
|
|
|
paramAndStatusCheck_BuyerModifyAddress(uid,orderCode,changedAddress);
|
|
|
|
...
|
...
|
@@ -147,7 +148,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
|
if(!changed){
|
|
|
logger.warn("buyerModifyAddress no change address return now!");
|
|
|
//throw new UfoServiceException(400,"地址信息无变化");
|
|
|
return ;
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
//更新收货地址:明文地址 . 隐藏地址
|
...
|
...
|
@@ -161,6 +162,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
|
logger.info("buyerModifyAddress begin update address , uid is {}, orderCode is {},update address info {}",
|
|
|
uid, orderCode ,jo_address_string);
|
|
|
buyerOrderMetaService.updateDeliveryAddress(updateInfo);
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
private void paramAndStatusCheck_BuyerModifyAddress(int uid, long orderCode,AddressInfo changedAddress){
|
...
|
...
|
|