Commit 4cfb279
committed
fix: 임시저장 편지 조회 API 500 에러 수정 (WR9-123)
- JPQL 쿼리와 DTO 클래스 필드명 일치시킴 (l.id → letterId 별칭 추가)
- LetterDraftResponse 클래스에 @AllArgsConstructor 어노테이션 추가
- 매칭 여부 판단 로직 명확히 표현 (CASE WHEN 구문 별칭 추가)1 parent 837df9d commit 4cfb279
File tree
2 files changed
+15
-4
lines changed- src/main/java/io/crops/warmletter/domain/letter
- dto/response
- repository
2 files changed
+15
-4
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
58 | 68 | | |
59 | 69 | | |
60 | 70 | | |
| |||
0 commit comments