Skip to content

Commit

Permalink
Refactor :: 공지 반환 역순으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yeseong0412 committed Nov 26, 2024
1 parent 980f9e3 commit 132e5bc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class NotificationRepositoryCustomImpl(
notice.workspaceId.eq(workspaceId),
notice.deleted.isFalse
)
.orderBy(notice.id.desc())
.offset(pageable.offset)
.limit(pageable.pageSize.toLong())
.fetch().orEmpty().toList()
Expand Down

0 comments on commit 132e5bc

Please sign in to comment.