消费赠券
This commit is contained in:
@@ -76,7 +76,7 @@ public class MkShopConsumerCouponServiceImpl extends ServiceImpl<MkShopConsumerC
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
MkCouponGiftDTO giftCoupon = giftCoupons.getFirst();
|
MkCouponGiftDTO giftCoupon = giftCoupons.getFirst();
|
||||||
if (consumerCoupon.getLeftNum() == -10086 || consumerCoupon.getLeftNum() >= consumerCoupon.getGiftNum()) {
|
if (consumerCoupon.getLeftNum() == -10086 || consumerCoupon.getLeftNum() >= giftCoupon.getNum()) {
|
||||||
boolean canReceive = consumerCoupon.getGetLimit() == -10086;
|
boolean canReceive = consumerCoupon.getGetLimit() == -10086;
|
||||||
// 限量发放,校验用户已经发放数量
|
// 限量发放,校验用户已经发放数量
|
||||||
if (consumerCoupon.getGetLimit() != -10086) {
|
if (consumerCoupon.getGetLimit() != -10086) {
|
||||||
|
|||||||
Reference in New Issue
Block a user