mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
update 加赠送金额字段
This commit is contained in:
@@ -367,13 +367,16 @@ public class MemberBasicInfoServiceImpl implements IMemberBasicInfoService {
|
||||
try {
|
||||
BigDecimal totalAccountAmount = BigDecimal.ZERO;
|
||||
BigDecimal principalBalance = BigDecimal.ZERO;
|
||||
BigDecimal giftBalance = BigDecimal.ZERO;
|
||||
MemberWalletInfo memberWalletInfo = memberWalletInfoService.selectByMemberId(memberId, merchantId);
|
||||
if (memberWalletInfo != null) {
|
||||
totalAccountAmount = memberWalletInfo.getPrincipalBalance();
|
||||
principalBalance = memberWalletInfo.getPrincipalBalance();
|
||||
giftBalance = memberWalletInfo.getGiftBalance();
|
||||
}
|
||||
vo.setTotalAccountAmount(totalAccountAmount);
|
||||
vo.setPrincipalBalance(principalBalance);
|
||||
vo.setGiftBalance(giftBalance);
|
||||
} catch (Exception e) {
|
||||
log.error("查询用户余额异常 memberId:{}, merchantId:{}", memberId, merchantId, e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user