bug
This commit is contained in:
parent
bc5bac3d6e
commit
8aab85ecd4
@ -203,11 +203,11 @@ public class CardGiftServiceImpl extends ServiceImpl<CardGiftMapper, CardGift> i
|
|||||||
return cardGift;
|
return cardGift;
|
||||||
}
|
}
|
||||||
if (ObjectUtils.isNotEmpty(one) && ObjectUtils.isNotEmpty(cardGift.getCardPassword()) && cardGift.getCardPassword().equals(one.getCardPassword())){
|
if (ObjectUtils.isNotEmpty(one) && ObjectUtils.isNotEmpty(cardGift.getCardPassword()) && cardGift.getCardPassword().equals(one.getCardPassword())){
|
||||||
one.setActivateStatus("1");
|
|
||||||
one.setUserId(userId);
|
one.setUserId(userId);
|
||||||
String name = ljUserVo.getName();
|
String name = ljUserVo.getName();
|
||||||
String mobile = ljUserVo.getMobile();
|
String mobile = ljUserVo.getMobile();
|
||||||
one.setRemark("姓名:"+name+",手机号:"+mobile);
|
one.setRemark("姓名:"+name+",手机号:"+mobile);
|
||||||
|
one.setUseStatus("1");
|
||||||
updateById(one);
|
updateById(one);
|
||||||
//更新用户余额
|
//更新用户余额
|
||||||
Double cardAmount = one.getCardAmount();
|
Double cardAmount = one.getCardAmount();
|
||||||
|
Loading…
Reference in New Issue
Block a user