Commit 37c1299
committed
refactor: WishlistRepository를 MyBarRepository로 리팩토링 및 쿼리 메소드 추가
- WishlistRepository 인터페이스를 MyBarRepository로 명칭 변경
- '나만의 바' 기능의 데이터 접근을 위해 쿼리 메소드 2개 추가
- `findByUserIdAndStatusOrderByIdDesc`: 특정 사용자의 킵 목록을 페이징하여 조회
- `countByUserIdAndStatus`: 특정 사용자의 활성 킵 개수를 카운트1 parent 8930137 commit 37c1299
File tree
2 files changed
+17
-9
lines changed- src/main/java/com/back/domain
- mybar/repository
- wishlist/repository
2 files changed
+17
-9
lines changedLines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
Lines changed: 0 additions & 9 deletions
This file was deleted.
0 commit comments