|
|
|
@@ -800,7 +800,11 @@ public class WxOrderServiceImpl implements WxOrderService { |
|
|
|
if (_count >= pressBatch.getPromoterAllowCount()) { |
|
|
|
throw new MallinkException(ErrorCode.ORDER_IS_FAIL.getCode(),"当前用户发起砍价次数已超限.["+pressBatch.getName()+"]"); |
|
|
|
} |
|
|
|
return _count; |
|
|
|
|
|
|
|
if (counpon.getUseLimitRule().equals(EnumCouponUseLimitRule.TOBEUSED_USELIMIT.getCode())) { |
|
|
|
couponOrderQ.setCouponOrderStatus(EnumCouponOrderStatus.COUPON_ORDER_USE_WAIT.getCode()); |
|
|
|
} |
|
|
|
couponOrderQ.setCouponId(counpon.getId()); |
|
|
|
}else { |
|
|
|
throw new MallinkException(ErrorCode.ORDER_IS_FAIL.getCode(),"砍价批次["+pressBatch.getName()+"]未设置券."); |
|
|
|
} |
|
|
|
|