...
|
...
|
@@ -167,11 +167,6 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { |
|
|
|
|
|
@Override
|
|
|
public void processAfterPay(OrderInfo orderInfo) {
|
|
|
if(BuyerOrderUtils.isOrderDone(orderInfo)) {
|
|
|
logger.info("order status is Done, orderCode: {}, uid: {}", orderInfo.getOrderCode(), orderInfo.getUid());
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
Integer uid = orderInfo.getUid();
|
|
|
Integer sellerUid = orderInfo.getSellerUid();
|
|
|
long orderCode = orderInfo.getOrderCode();
|
...
|
...
|
@@ -189,13 +184,15 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { |
|
|
case ADVANCE_SALE:
|
|
|
processPreSaleOrder(orderInfo, sellerOrderGoods);
|
|
|
break;
|
|
|
case OFFLINE:
|
|
|
//门店ufo订单这里啥都不干
|
|
|
break;
|
|
|
default:
|
|
|
processInStockOrder(orderInfo, buyerOrderGoods, sellerOrderGoods);
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
cacheCleaner.delete(Arrays.asList(CacheKeyBuilder.orderListKey(sellerUid, TabType.SELL.getValue()),
|
|
|
CacheKeyBuilder.orderListKey(uid, TabType.BUY.getValue()),
|
|
|
CacheKeyBuilder.sellerOrderDetailKey(sellerOrderGoods),
|
...
|
...
|
|