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

[FEAT] 회원 탈퇴 시 유저 등록 작품 수 조회 기능 구현 #125

Merged
merged 8 commits into from
Aug 4, 2024

Conversation

Kim-TaeUk
Copy link
Contributor

Related Issue

Key Changes

  • 유저의 등록 작품의 수를 조회하는 기능을 구현했습니다. (관심, 보는 중, 봤어요, 하차)
  • UserNovel 테이블에서 조회할 때 보는 중, 봤어요, 하차만 고려한다면 ReadStatus를 기준으로 group by를 하고 싶었는데 isInterest 컬럼도 고려해야해서 CASE문을 사용했습니다.

To Reviewers

References

http://querydsl.com/static/querydsl/3.4.2/reference/html/

Copy link
Member

@ChaeAg ChaeAg left a comment

Choose a reason for hiding this comment

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

수고 많으셨습니다!
UNION ALL을 사용한 리팩토링 코드도 기대가 되네요
isInterest 컬럼 때문에 조금 까다로울 것 같아요
굿입니다 ! 👍

Copy link
Contributor

@rinarina0429 rinarina0429 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다!

@Kim-TaeUk Kim-TaeUk merged commit dbbfd89 into dev Aug 4, 2024
1 check passed
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.

[FEAT] 회원 탈퇴 시 유저 등록 작품 수 조회 기능 구현
3 participants