-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat] 게시글 목록 조회 수정 #141
[Feat] 게시글 목록 조회 수정 #141
Conversation
ORDER BY (p.viewCount * 7) + (p.likeCount * 3) DESC, p.id DESC | ||
""") | ||
List<Post> findPopularPosts( | ||
@Param("cursorId") Long cursorId, | ||
@Param("thirtyDaysAgo") LocalDateTime thirtyDaysAgo, | ||
Pageable pageable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pageable->커서기반으로 리팩토링 부탁합니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
대박 엄청 단순해졌네요👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍👍👍👍
🚀 Pull Request
[Feat] 게시글 목록 조회 수정
#️⃣ 연관된 이슈
#128
📋 작업 내용
게시글 목록 조회수 순 정렬
삭제 처리된 글 조회 제한
인기 게시글 30일 필터링
🔧 변경된 코드 설명
✅ 테스트 여부
이 PR에 포함된 코드에 대해 테스트가 진행되었는지 작성해 주세요.
예시: 단위 테스트 작성 완료, 통합 테스트 완료, UI 테스트 진행 중
👽 비고
기타 알림 사항이 있으면 적어주세요.