mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
修改用户余额, 余额为空直接返回
This commit is contained in:
@@ -219,6 +219,11 @@ public class MemberBasicInfoServiceImpl implements MemberBasicInfoService {
|
||||
BigDecimal updateGiftBalance = dto.getUpdateGiftBalance(); // 更新赠送金额
|
||||
BigDecimal updatePrincipalBalance = dto.getUpdatePrincipalBalance(); // 更新本金金额
|
||||
|
||||
if (updateGiftBalance == null || updatePrincipalBalance == null) {
|
||||
log.error("修改用户余额-金额为空:{}", JSON.toJSONString(dto));
|
||||
return 0;
|
||||
}
|
||||
|
||||
// 没有传过来目标运营商,有可能是希晓的小程序在线充值
|
||||
if (StringUtils.isBlank(dto.getTargetMerchantId())) {
|
||||
// 根据memberId查询会员信息
|
||||
|
||||
Reference in New Issue
Block a user