This commit is contained in:
齐天大圣 2024-03-06 15:00:19 +08:00
parent bc5bac3d6e
commit 8aab85ecd4

View File

@ -203,11 +203,11 @@ public class CardGiftServiceImpl extends ServiceImpl<CardGiftMapper, CardGift> i
return cardGift;
}
if (ObjectUtils.isNotEmpty(one) && ObjectUtils.isNotEmpty(cardGift.getCardPassword()) && cardGift.getCardPassword().equals(one.getCardPassword())){
one.setActivateStatus("1");
one.setUserId(userId);
String name = ljUserVo.getName();
String mobile = ljUserVo.getMobile();
one.setRemark("姓名:"+name+",手机号:"+mobile);
one.setUseStatus("1");
updateById(one);
//更新用户余额
Double cardAmount = one.getCardAmount();