feat: 고정지출 생성분을 '확인 필요(pending)'로 — 실제 처리 여부 확인
CI / build (push) Failing after 15m1s

- RecurringService.buildEntry: pending=true로 생성 → 가계부 '확인 필요' 목록에 노출,
  사용자가 실제 결제·이체 확인 후 확정(빈 body confirm은 분류/계좌 유지)
- 메모 없으면 제목으로 채워 확인 목록에서 식별 쉽게

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-06-20 17:13:14 +09:00
parent 6eef6cbd29
commit 7de643022b
@@ -83,15 +83,19 @@ public class RecurringService {
private AccountEntry buildEntry(Recurring r, LocalDate date, Long memberId) {
boolean transfer = "TRANSFER".equals(r.getType());
// 메모가 없으면 제목으로 채워 '확인 필요' 목록에서 알아보기 쉽게 한다.
String memo = (r.getMemo() != null && !r.getMemo().isBlank()) ? r.getMemo() : r.getTitle();
return AccountEntry.builder()
.memberId(memberId)
.entryDate(date)
.type(r.getType())
.category(transfer ? null : r.getCategory())
.amount(r.getAmount())
.memo(r.getMemo())
.memo(memo)
.walletId(r.getWalletId())
.toWalletId(transfer ? r.getToWalletId() : null)
// 실제 결제/이체가 일어났는지 사용자가 확인하도록 '확인 필요'로 생성
.pending(true)
.build();
}