| @@ -2492,7 +2492,7 @@ public class WxOrderServiceImpl implements WxOrderService { | |||||
| logger.info("OrderSave: " + orderSaveDto); | logger.info("OrderSave: " + orderSaveDto); | ||||
| String premsg = ""; | String premsg = ""; | ||||
| if (singleProduct) { | if (singleProduct) { | ||||
| premsg = "券"; | |||||
| premsg = "此券"; | |||||
| }else { | }else { | ||||
| premsg = "第["+curindex+"]张券"; | premsg = "第["+curindex+"]张券"; | ||||
| } | } | ||||
| @@ -2521,8 +2521,8 @@ public class WxOrderServiceImpl implements WxOrderService { | |||||
| //判断是否是拼团订单,如果是拼团订单,判断现在进行中的,和已完成的数量是否超出券的限制 | //判断是否是拼团订单,如果是拼团订单,判断现在进行中的,和已完成的数量是否超出券的限制 | ||||
| if (coupon.getType().equals(EnumCouponType.COUPON_GROUP.getCode())) { | if (coupon.getType().equals(EnumCouponType.COUPON_GROUP.getCode())) { | ||||
| int ordercount = this.countUserCouponGroupOrder(wxCUserBasicInfo,coupon.getId(),coupon.getTenantId()); | int ordercount = this.countUserCouponGroupOrder(wxCUserBasicInfo,coupon.getId(),coupon.getTenantId()); | ||||
| if ((ordercount+productCount)>=coupon.getUseLimitQuantity()) { | |||||
| throw new MallinkException(ErrorCode.COUPON_IS_TAKE_OFF.getCode(),premsg+"您的有效拼团数量达到券的限购次数。"); | |||||
| if ((ordercount)>=coupon.getUseLimitQuantity()) { | |||||
| throw new MallinkException(ErrorCode.COUPON_IS_TAKE_OFF.getCode(),premsg+"您的有效拼团数量达到限购次数。"); | |||||
| } | } | ||||
| } | } | ||||