Skip to content

Commit

Permalink
[DDING-000] 페이지네이션 조회 시 조건 수정 (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
KoSeonJe authored Nov 16, 2024
1 parent 9fce04b commit 0e00950
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public interface DocumentRepository extends JpaRepository<Document, Long> {
value = """
SELECT *
FROM document AS d
WHERE deleted_at IS NULL
ORDER BY d.id DESC
LIMIT :limit
OFFSET :offset
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public interface NoticeRepository extends JpaRepository<Notice, Long> {
value = """
SELECT *
FROM notice AS n
WHERE deleted_at IS NULL
ORDER BY n.id DESC
LIMIT :limit
OFFSET :offsetValue
Expand Down

0 comments on commit 0e00950

Please sign in to comment.