Authored by caoyan

修改卖家单号

@@ -686,6 +686,8 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { @@ -686,6 +686,8 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
686 686
687 result = expressRecordMapper.updateWaybillCode(buyerOrder.getOrderCode(), 687 result = expressRecordMapper.updateWaybillCode(buyerOrder.getOrderCode(),
688 buyerOrder.getSellerUid(), EXPRESS_TYPE_SELLER_TO_JUDGE, req.getSellerWaybillCode()); 688 buyerOrder.getSellerUid(), EXPRESS_TYPE_SELLER_TO_JUDGE, req.getSellerWaybillCode());
  689 + //调用前台接口更新物流信息
  690 + noticeFrontUpdateExpressInfo(req);
689 }else {//修改买家信息 691 }else {//修改买家信息
690 operateType = OPERATE_TYPE_UPDATE_RECEIVE_INFO; 692 operateType = OPERATE_TYPE_UPDATE_RECEIVE_INFO;
691 BuyerOrderMeta buyerMeta = buyerOrderMetaMapper.selectByOrderCodeAndKey(req.getOrderCode(), BUYER_ORDER_META_KEY_DELIVERY_ADDRESS); 693 BuyerOrderMeta buyerMeta = buyerOrderMetaMapper.selectByOrderCodeAndKey(req.getOrderCode(), BUYER_ORDER_META_KEY_DELIVERY_ADDRESS);
@@ -743,6 +745,16 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { @@ -743,6 +745,16 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
743 return jsonObject; 745 return jsonObject;
744 } 746 }
745 747
  748 + private void noticeFrontUpdateExpressInfo(BuyerOrderReq req) {
  749 + AppraiseExpressInfoBo bo = new AppraiseExpressInfoBo();
  750 + bo.setOrderCode(Long.parseLong(req.getOrderCode()));
  751 + bo.setWayBillCode(req.getSellerWaybillCode());
  752 + //调用前台接口更新物流信息
  753 + LOGGER.info("call orderAppraise.triggerSellerToPlatformExpress,buyerOrderMetaUpdateReq is {}", bo);
  754 + JSONObject jsonObject = serviceCaller.call("orderAppraise.triggerSellerToPlatformExpress", bo, JSONObject.class);
  755 + LOGGER.info("call orderAppraise.triggerSellerToPlatformExpress result is {}", jsonObject.toJSONString());
  756 + }
  757 +
746 private void saveOrderOperateRecord(String orderCode, UserHelper userInfo, int operateType, String oldInfo) { 758 private void saveOrderOperateRecord(String orderCode, UserHelper userInfo, int operateType, String oldInfo) {
747 OrderOperateRecord optRecord = new OrderOperateRecord(); 759 OrderOperateRecord optRecord = new OrderOperateRecord();
748 optRecord.setOrderCode(orderCode); 760 optRecord.setOrderCode(orderCode);