diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardGift/service/impl/CardGiftServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardGift/service/impl/CardGiftServiceImpl.java index 027447f7f..a8fdf384a 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardGift/service/impl/CardGiftServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardGift/service/impl/CardGiftServiceImpl.java @@ -199,6 +199,9 @@ public class CardGiftServiceImpl extends ServiceImpl i queryWrapper.eq(CardGift::getActivateStatus,"0"); //验证兑换卡的卡密 CardGift one = getOne(queryWrapper); + if (!one.getSailStatus().equals("1")){ + return cardGift; + } if (ObjectUtils.isNotEmpty(one) && ObjectUtils.isNotEmpty(cardGift.getCardPassword()) && cardGift.getCardPassword().equals(one.getCardPassword())){ one.setActivateStatus("1"); one.setUserId(userId);