修改会员充值判断

This commit is contained in:
韩鹏辉
2024-04-16 11:23:07 +08:00
parent 1468889c89
commit 78418eccf3

View File

@@ -409,6 +409,10 @@ public class PayService {
return "用户信息不存在";
}
if(!"1".equals(tbShopUser.getIsVip().toString())){
tbShopUser.setIsVip(Byte.parseByte("1"));
}
//修改客户资金
tbShopUser.setAmount(tbShopUser.getAmount().add(memberIn.getAmount()));
tbShopUser.setUpdatedAt(System.currentTimeMillis());