- 기존 대출 수정 시 월 상환금(loanPayment)이 저장되지 않던 문제 (create 는 toWallet 로 반영됐으나 update 는 개별 setter 에서 누락) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -615,6 +615,7 @@ public class AccountService {
|
|||||||
wallet.setLoanMethod(isLoan ? blankToNull(req.getLoanMethod()) : null);
|
wallet.setLoanMethod(isLoan ? blankToNull(req.getLoanMethod()) : null);
|
||||||
wallet.setLoanMonths(isLoan ? req.getLoanMonths() : null);
|
wallet.setLoanMonths(isLoan ? req.getLoanMonths() : null);
|
||||||
wallet.setLoanStart(isLoan ? req.getLoanStart() : null);
|
wallet.setLoanStart(isLoan ? req.getLoanStart() : null);
|
||||||
|
wallet.setLoanPayment(isLoan ? req.getLoanPayment() : null);
|
||||||
walletMapper.update(wallet);
|
walletMapper.update(wallet);
|
||||||
return WalletResponse.from(wallet, balanceMap(memberId).getOrDefault(id, wallet.getOpeningBalance()));
|
return WalletResponse.from(wallet, balanceMap(memberId).getOrDefault(id, wallet.getOpeningBalance()));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user