|
@@ -1624,14 +1624,14 @@ public class OrderDonServiceImpl extends ServiceImpl<OrderDonMapper, OrderDon> i
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- //单个支付宝 限制最多购买2次codex
|
|
|
|
|
- if (orderDon.getGoodsId() == Constant.CODEX_GOODS_ID) {
|
|
|
|
|
- //通过buyeId 查询到对应的用户id 看codex对应的数量是否超过2
|
|
|
|
|
- Integer count = orderDonMapper.selectCodexUserIdsByBuyerId(Constant.CODEX_GOODS_ID, buyerId);
|
|
|
|
|
- if (count >= 2) {
|
|
|
|
|
- notifyRefundCodeOrderDon(orderDon, goodsDon, sku);
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// //单个支付宝 限制最多购买2次codex
|
|
|
|
|
+// if (orderDon.getGoodsId() == Constant.CODEX_GOODS_ID) {
|
|
|
|
|
+// //通过buyeId 查询到对应的用户id 看codex对应的数量是否超过2
|
|
|
|
|
+// Integer count = orderDonMapper.selectCodexUserIdsByBuyerId(Constant.CODEX_GOODS_ID, buyerId);
|
|
|
|
|
+// if (count >= 2) {
|
|
|
|
|
+// notifyRefundCodeOrderDon(orderDon, goodsDon, sku);
|
|
|
|
|
+// }
|
|
|
|
|
+// }
|
|
|
}
|
|
}
|
|
|
//回调
|
|
//回调
|
|
|
unifiedHandlerOrderNotify(orderDon, goodsDon, sku);
|
|
unifiedHandlerOrderNotify(orderDon, goodsDon, sku);
|