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

보관함에 저장하기 #12

Open
khl6235 opened this issue Nov 12, 2021 · 0 comments
Open

보관함에 저장하기 #12

khl6235 opened this issue Nov 12, 2021 · 0 comments
Assignees
Labels
feature New feature or request fix Fix problems

Comments

@khl6235
Copy link
Contributor

khl6235 commented Nov 12, 2021

별점, 코멘트 추가하여 내 보관함에 저장

DB(vinyl TB)에 있을 때

  • 현재 user가 이미 가지고 있을 때 -> "수정"

  • 현재 user는 가지고 있지 않을 때

    • vinyl TB의 rate, rateCount 업데이트
    • vinyl_genre TB 검색해서 genreIdx 찾고, user_genre TB 업데이트

DB에 없을 때

  • vinyl TB에 등록
  • track TB에 등록
  • genre TB 검색해서 genreName별 genreIdx 찾고, user_genre TB 업데이트 & vinyl_genre TB 업데이트

공통

  • user TB 업데이트(rankIdx, vinylNum)
  • user_vinyl TB에 등록
@khl6235 khl6235 added the feature New feature or request label Nov 12, 2021
@khl6235 khl6235 self-assigned this Nov 12, 2021
khl6235 added a commit that referenced this issue Nov 14, 2021
khl6235 added a commit that referenced this issue Nov 14, 2021
FEAT: Save vinyl - vinyl, track TB #12
khl6235 added a commit that referenced this issue Nov 20, 2021
khl6235 added a commit that referenced this issue Nov 20, 2021
@khl6235 khl6235 added the fix Fix problems label Jun 17, 2022
khl6235 added a commit that referenced this issue Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request fix Fix problems
Projects
None yet
Development

No branches or pull requests

1 participant