...
|
...
|
@@ -5,10 +5,7 @@ import com.alibaba.fastjson.JSONObject; |
|
|
import com.yoho.error.ServiceError;
|
|
|
import com.yoho.error.exception.ServiceException;
|
|
|
import com.yohobuy.ufo.model.order.bo.OrderInfo;
|
|
|
import com.yohobuy.ufo.model.order.common.OrderAttributes;
|
|
|
import com.yohobuy.ufo.model.order.common.OrderCodeType;
|
|
|
import com.yohobuy.ufo.model.order.common.OrderStatus;
|
|
|
import com.yohobuy.ufo.model.order.common.TabType;
|
|
|
import com.yohobuy.ufo.model.order.common.*;
|
|
|
import com.yohobuy.ufo.model.order.constants.SkupType;
|
|
|
import com.yohoufo.common.alarm.EventBusPublisher;
|
|
|
import com.yohoufo.common.utils.DateUtil;
|
...
|
...
|
@@ -179,6 +176,30 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { |
|
|
Integer buyerUid = buyerOrder.getUid();
|
|
|
Long orderCode = buyerOrder.getOrderCode();
|
|
|
inBoxFacade.noticeWhenDepositOrderOfQuickDeliverGoodsPaid(buyerUid, orderCode, sellerOrderGoods);
|
|
|
try {
|
|
|
// 插入物流调拨信息
|
|
|
expressInfoService.saveOperateTransferExpressInfo(OperateTransferExpressInfo.builder()
|
|
|
.uid(buyerUid)
|
|
|
.orderCode(orderCode)
|
|
|
.expressType(EXPRESS_TYPE_JUDGE_CENTER)
|
|
|
.operateTransferCode(platform_receive)
|
|
|
.build());
|
|
|
expressInfoService.saveOperateTransferExpressInfo(OperateTransferExpressInfo.builder()
|
|
|
.uid(buyerUid)
|
|
|
.orderCode(orderCode)
|
|
|
.expressType(EXPRESS_TYPE_JUDGE_CENTER)
|
|
|
.operateTransferCode(judge_pass)
|
|
|
.build());
|
|
|
expressInfoService.saveOperateTransferExpressInfo(OperateTransferExpressInfo.builder()
|
|
|
.uid(buyerUid)
|
|
|
.orderCode(orderCode)
|
|
|
.expressType(EnumExpressType.EXPRESS_TYPE_2)
|
|
|
.operateTransferCode(EnumExpressDataOperateTransferCode.GOODS_DEPOSIT_IN_STORE)
|
|
|
.build());
|
|
|
} catch (Exception ex) {
|
|
|
logger.warn("pay successful, processDepositOrderOfQuickDeliverGoods invoke save transfer express info fail, buyerUid {},orderCode {}",
|
|
|
buyerUid, orderCode);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private void processDepositOrderOfInstockGoods(BuyerOrder buyerOrder, SellerOrderGoods sellerOrderGoods){
|
...
|
...
|
|