Merge branch 'hotfix-store-20190226' into test6.8.6
Showing
1 changed file
with
3 additions
and
6 deletions
@@ -167,11 +167,6 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { | @@ -167,11 +167,6 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { | ||
167 | 167 | ||
168 | @Override | 168 | @Override |
169 | public void processAfterPay(OrderInfo orderInfo) { | 169 | public void processAfterPay(OrderInfo orderInfo) { |
170 | - if(BuyerOrderUtils.isOrderDone(orderInfo)) { | ||
171 | - logger.info("order status is Done, orderCode: {}, uid: {}", orderInfo.getOrderCode(), orderInfo.getUid()); | ||
172 | - return; | ||
173 | - } | ||
174 | - | ||
175 | Integer uid = orderInfo.getUid(); | 170 | Integer uid = orderInfo.getUid(); |
176 | Integer sellerUid = orderInfo.getSellerUid(); | 171 | Integer sellerUid = orderInfo.getSellerUid(); |
177 | long orderCode = orderInfo.getOrderCode(); | 172 | long orderCode = orderInfo.getOrderCode(); |
@@ -189,13 +184,15 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { | @@ -189,13 +184,15 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { | ||
189 | case ADVANCE_SALE: | 184 | case ADVANCE_SALE: |
190 | processPreSaleOrder(orderInfo, sellerOrderGoods); | 185 | processPreSaleOrder(orderInfo, sellerOrderGoods); |
191 | break; | 186 | break; |
187 | + case OFFLINE: | ||
188 | + //门店ufo订单这里啥都不干 | ||
189 | + break; | ||
192 | default: | 190 | default: |
193 | processInStockOrder(orderInfo, buyerOrderGoods, sellerOrderGoods); | 191 | processInStockOrder(orderInfo, buyerOrderGoods, sellerOrderGoods); |
194 | break; | 192 | break; |
195 | } | 193 | } |
196 | 194 | ||
197 | 195 | ||
198 | - | ||
199 | cacheCleaner.delete(Arrays.asList(CacheKeyBuilder.orderListKey(sellerUid, TabType.SELL.getValue()), | 196 | cacheCleaner.delete(Arrays.asList(CacheKeyBuilder.orderListKey(sellerUid, TabType.SELL.getValue()), |
200 | CacheKeyBuilder.orderListKey(uid, TabType.BUY.getValue()), | 197 | CacheKeyBuilder.orderListKey(uid, TabType.BUY.getValue()), |
201 | CacheKeyBuilder.sellerOrderDetailKey(sellerOrderGoods), | 198 | CacheKeyBuilder.sellerOrderDetailKey(sellerOrderGoods), |
-
Please register or login to post a comment