[Feat] 사용자 포인트 조회 API 구현 #29
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
✨ PR 유형
어떤 변경 사항이 있나요??
🛠️ 작업내용
[ 작업한 내용을 작성해주세요 ( UI 구현이라면 사진도 같이 올려주시면 좋아요! ) ]
Member, Product, Result 엔티티 매핑 오류 해결
Point 엔티티 updated_at 추가 (포인트 조회 로직상 필요함)
사용자 포인트 조회 API 구현
단순 포인트 조회인 경우

마지막 업데이트 시간이 오늘이 아닐 경우
10점 반환

DB 업데이트 전

DB 업데이트 후 (points 10점으로 초기화, updated_at now로 수정됨)

에러 처리
📋 추후 진행 상황
[ 다음에 진행할 작업에 대해 작성해주세요!! ]
[ 현재 커밋 후 풀리퀘 다음으로 작업 내용을 적어주면 됩니다! ]
📌 리뷰 포인트
[ 어떤 부분을 잘 체크해야하는지 작성해주세요 ]
✅ Checklist
PR이 다음 요구 사항을 충족하는지 확인해주세요!!!