...
|
...
|
@@ -135,19 +135,6 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { |
|
|
//是否直接鉴定通过
|
|
|
boolean isDirectPass = false;
|
|
|
|
|
|
// 极速 不管是寄存还是发货 都需要通知卖家发货
|
|
|
if (fastDeliveryProxyService.isFastDeliveryGoods(orderInfo.getSkup())){
|
|
|
|
|
|
String wayBillCode = fastDeliveryProxyService.getVRWaybillCode(orderInfo.getOrderCode());
|
|
|
// 同时生成物流单号,通知第三方发货
|
|
|
fastDeliveryProxyService.order(orderInfo.getSkup(), wayBillCode);
|
|
|
|
|
|
// 卖家自动发货
|
|
|
executors.submit(()->{
|
|
|
expressInfoService.deliverToDepot(orderInfo.getSellerUid(), 0, orderInfo.getOrderCode(), wayBillCode, DepotType.NJ.getCode());
|
|
|
});
|
|
|
}
|
|
|
|
|
|
//门店订单支付后直接完成
|
|
|
if (BuyerOrderUtils.isOffline(orderInfo)) {
|
|
|
targetOrderStatus = OrderStatus.DONE;
|
...
|
...
|
@@ -187,6 +174,19 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { |
|
|
}
|
|
|
}
|
|
|
orderInfo.setStatus(orderStatusCode);
|
|
|
|
|
|
// 极速 不管是寄存还是发货 都需要通知卖家发货
|
|
|
if (fastDeliveryProxyService.isFastDeliveryGoods(orderInfo.getSkup())){
|
|
|
|
|
|
String wayBillCode = fastDeliveryProxyService.getVRWaybillCode(orderInfo.getOrderCode());
|
|
|
// 同时生成物流单号,通知第三方发货
|
|
|
fastDeliveryProxyService.order(orderInfo.getSkup(), wayBillCode);
|
|
|
|
|
|
// 卖家自动发货
|
|
|
executors.submit(()->{
|
|
|
expressInfoService.deliverToDepot(orderInfo.getSellerUid(), 0, orderInfo.getOrderCode(), wayBillCode, DepotType.NJ.getCode());
|
|
|
});
|
|
|
}
|
|
|
return result;
|
|
|
}
|
|
|
|
...
|
...
|
|