...
|
...
|
@@ -686,6 +686,8 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
|
|
|
|
result = expressRecordMapper.updateWaybillCode(buyerOrder.getOrderCode(),
|
|
|
buyerOrder.getSellerUid(), EXPRESS_TYPE_SELLER_TO_JUDGE, req.getSellerWaybillCode());
|
|
|
//调用前台接口更新物流信息
|
|
|
noticeFrontUpdateExpressInfo(req);
|
|
|
}else {//修改买家信息
|
|
|
operateType = OPERATE_TYPE_UPDATE_RECEIVE_INFO;
|
|
|
BuyerOrderMeta buyerMeta = buyerOrderMetaMapper.selectByOrderCodeAndKey(req.getOrderCode(), BUYER_ORDER_META_KEY_DELIVERY_ADDRESS);
|
...
|
...
|
@@ -743,6 +745,16 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
|
return jsonObject;
|
|
|
}
|
|
|
|
|
|
private void noticeFrontUpdateExpressInfo(BuyerOrderReq req) {
|
|
|
AppraiseExpressInfoBo bo = new AppraiseExpressInfoBo();
|
|
|
bo.setOrderCode(Long.parseLong(req.getOrderCode()));
|
|
|
bo.setWayBillCode(req.getSellerWaybillCode());
|
|
|
//调用前台接口更新物流信息
|
|
|
LOGGER.info("call orderAppraise.triggerSellerToPlatformExpress,buyerOrderMetaUpdateReq is {}", bo);
|
|
|
JSONObject jsonObject = serviceCaller.call("orderAppraise.triggerSellerToPlatformExpress", bo, JSONObject.class);
|
|
|
LOGGER.info("call orderAppraise.triggerSellerToPlatformExpress result is {}", jsonObject.toJSONString());
|
|
|
}
|
|
|
|
|
|
private void saveOrderOperateRecord(String orderCode, UserHelper userInfo, int operateType, String oldInfo) {
|
|
|
OrderOperateRecord optRecord = new OrderOperateRecord();
|
|
|
optRecord.setOrderCode(orderCode);
|
...
|
...
|
|