diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java index e07d3790e..fa2594643 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java @@ -636,7 +636,7 @@ public class WxOrderServiceImpl implements WxOrderService { } catch (Exception e) { throw new MallinkException(ErrorCode.DB_FAIL.getCode(),"["+coupon.getTitle()+"]查询待使用订单错误."); } - if (count >= coupon.getUseLimitQuantity()) { + if (count > coupon.getUseLimitQuantity()) { logger.error("此券购买数量已超限, couponId: " + couponIdStr + ", count: " + count); throw new MallinkException(ErrorCode.ORDER_IS_LIMITED.getCode(),"此券购买数量已超限["+coupon.getTitle()+"], couponId: " + couponIdStr + ", count: " + count); }