update 用户总余额字段名

This commit is contained in:
Guoqs
2024-07-12 17:28:21 +08:00
parent 44ba356bc3
commit 217284e272
7 changed files with 7 additions and 14 deletions

View File

@@ -2165,7 +2165,7 @@ public class SpringBootTestController {
if (memberVO == null) {
throw new BusinessException(ReturnCodeEnum.CODE_GET_MEMBER_ACCOUNT_AMOUNT_ERROR);
}
BigDecimal totalAccountAmount = memberVO.getTotalAccountAmount();
BigDecimal totalAccountAmount = memberVO.getTotalBalance();
if (totalAccountAmount.compareTo(BigDecimal.ZERO) <= 0) {
throw new BusinessException(ReturnCodeEnum.CODE_BALANCE_IS_INSUFFICIENT);
}