UPDATE 修改用户余额方法

This commit is contained in:
Guoqs
2025-04-11 16:08:20 +08:00
parent c9b8938cbb
commit 162911acd9
2 changed files with 33 additions and 10 deletions

View File

@@ -219,7 +219,7 @@ public class MemberBasicInfoServiceImpl implements MemberBasicInfoService {
BigDecimal updateGiftBalance = dto.getUpdateGiftBalance(); // 更新赠送金额
BigDecimal updatePrincipalBalance = dto.getUpdatePrincipalBalance(); // 更新本金金额
if (updateGiftBalance == null || updatePrincipalBalance == null) {
if (updateGiftBalance == null && updatePrincipalBalance == null) {
log.info("修改用户余额-金额为空, 直接返回:{}", JSON.toJSONString(dto));
return 0;
}