diff --git a/dating-agency-mall-server/src/main/java/com/qniao/dam/domain/aggregate/walletaccount/WalletAccountAggregate.java b/dating-agency-mall-server/src/main/java/com/qniao/dam/domain/aggregate/walletaccount/WalletAccountAggregate.java index b82967c..5fe7488 100644 --- a/dating-agency-mall-server/src/main/java/com/qniao/dam/domain/aggregate/walletaccount/WalletAccountAggregate.java +++ b/dating-agency-mall-server/src/main/java/com/qniao/dam/domain/aggregate/walletaccount/WalletAccountAggregate.java @@ -28,6 +28,7 @@ public class WalletAccountAggregate { walletAccount.setAvailableBalance(walletAccount.getAvailableBalance().add(income)); walletAccount.setTotalBalance(walletAccount.getAvailableBalance().add(walletAccount.getFrozenBalance())); WalletAccountRecord record = WalletAccountRecord.build(tradeType, income, true, originalBalance, walletAccount.getTotalBalance()); + record.setRemark(remark); walletAccount.setRecordList(Collections.singletonList(record)); } }