reward 기능 내 에러 사항 수정 #86
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.
#️⃣연관된 이슈
📝작업 내용
추가 사항
- 꾸미기 아이템 저장 시, 여러개의 데이터가 저장되거나 userItem이 중복으로 저장되는 이슈 해결해야 함.
=> 우선 예상되는 원인은 네트워크 등 알 수 없는 원인으로 userEquippedItem에 대한 최초 요청으로 동시 요청이 들어왔을 때,
userEquippedItemRepository.findTopByUserAndSavedAtInCurrentMonth의 결과가 잡히지 않고 중복 데이터가 들어오게 됨..