...
|
...
|
@@ -511,7 +511,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
|
}
|
|
|
|
|
|
public int updateReceiveInfo(BuyerOrderReq req) {
|
|
|
int result = 0;
|
|
|
int result = 1;
|
|
|
BuyerOrder buyerOrder = buyerOrderMapper.selectByOrderCode(req.getOrderCode());
|
|
|
if(null == buyerOrder) {
|
|
|
return result;
|
...
|
...
|
@@ -540,7 +540,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
|
}
|
|
|
|
|
|
JSONObject jsonObject = updateBuyerReceiveInfo(req, buyerMeta.getMetaValue(), buyerOrder.getUid());
|
|
|
if(jsonObject.getIntValue("code") == 200) {
|
|
|
if(jsonObject.getIntValue("code") != 200) {
|
|
|
return 0;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -567,7 +567,11 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
|
metaReq.setUid(buyerUid);
|
|
|
metaReq.setAddress(metaValue.toJSONString());
|
|
|
//调用前台接口更新收货信息
|
|
|
return serviceCaller.call("orderBuyerOrderMeta.updateDeliveryAddress", metaReq, JSONObject.class);
|
|
|
LOGGER.info("call orderBuyerOrderMeta.updateDeliveryAddress,buyerOrderMetaUpdateReq is {}", metaReq);
|
|
|
JSONObject jsonObject = serviceCaller.call("orderBuyerOrderMeta.updateDeliveryAddress", metaReq, JSONObject.class);
|
|
|
LOGGER.info("call orderBuyerOrderMeta.updateDeliveryAddress result is {}", jsonObject.toJSONString());
|
|
|
|
|
|
return jsonObject;
|
|
|
}
|
|
|
|
|
|
private void saveOrderOperateRecord(String orderCode, UserHelper userInfo, int operateType, String oldInfo) {
|
...
|
...
|
|