feat: 투자 소수점 매매 + 카드 할부(installment_months)
CI / build (push) Failing after 13m58s

- invest_trade.quantity BIGINT→DECIMAL(18,6): 평단·원가·평가/실현손익 계산을 BigDecimal로 전환 (금액은 원단위 정수 유지)
- account_entry.installment_months 추가: 카드 지출 2~24개월 할부 기록(일시불 null), 응답에 포함

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-06-03 16:41:58 +09:00
parent f5e9b78a14
commit bd0a0f7776
11 changed files with 79 additions and 28 deletions
@@ -24,6 +24,7 @@ public class AccountEntryResponse {
private String walletName;
private Long toWalletId;
private String toWalletName;
private Integer installmentMonths;
private List<String> tags;
public static AccountEntryResponse from(AccountEntry e, List<String> tags) {
@@ -38,6 +39,7 @@ public class AccountEntryResponse {
.walletName(e.getWalletName())
.toWalletId(e.getToWalletId())
.toWalletName(e.getToWalletName())
.installmentMonths(e.getInstallmentMonths())
.tags(tags)
.build();
}