Skip to content
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

음악신청 조회시 자신이 좋아요 눌렀는지 유무 확인 #436

Merged
merged 46 commits into from
Sep 24, 2024

Conversation

ta2ye0n
Copy link
Member

@ta2ye0n ta2ye0n commented Sep 23, 2024

💡 개요
음악 신청순으로 조회시 본인이 좋아요 눌렀는지 유무 확인하는 필드를 추가했습니다
likeCount 캐시 문제 해결

📃 작업내용

  • 필드 추가
  • 캐시 문제해결

ta2ye0n and others added 30 commits September 11, 2024 16:56
…into 413-music-like-cancel-function

# Conflicts:
#	src/main/kotlin/com/dotori/v2/domain/music/service/impl/ToggleMusicLikeServiceImpl.kt
…ction

음악 좋아요, 좋아요 삭제 기능
@ta2ye0n ta2ye0n changed the title 음악신청 조회시 자신이 좋아요 눌러 음악신청 조회시 자신이 좋아요 눌렀는지 유무 확인 Sep 23, 2024
@ta2ye0n ta2ye0n self-assigned this Sep 23, 2024
Comment on lines 48 to 50
return musicLikeRepository.findByMemberIdAndMusicId(member.id, music.id) != null
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

여기부분 exists query 활용으로 바꿔주면 좋을 것 같아요!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

02db7ac

수정했습니다

@ta2ye0n ta2ye0n merged commit df4283a into master Sep 24, 2024
1 check passed
@ta2ye0n ta2ye0n deleted the 435-add-check-member-liked-music branch September 24, 2024 01:40
@ta2ye0n ta2ye0n restored the 435-add-check-member-liked-music branch September 24, 2024 01:59
@ta2ye0n ta2ye0n deleted the 435-add-check-member-liked-music branch September 24, 2024 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

음악 신청순 조회시 본인이 좋아요 눌렀는지 유무 확인 필드 추가
3 participants