[Feat] 관리자용 신고 내역 단일 조회, 수락 API 구현 #41
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.
🚀 관련 이슈
📝 작업 내용
Fetch Join을 이용하여 N+1 문제 해결(findAllWithDetails(Pageable pageable), findByIdWithDetails(Long id))REPORT_NOT_FOUND: 신고 내역이 없는 경우IN_PROGRESS상태의 신고를ACCEPTED로 변경REPORT_NOT_FOUND: 신고 내역이 없는 경우ALREADY_PROCESSED_REPORT: 이미 처리된 신고 내역일 경우NutritionReport의 값을 기반으로ProductNutrition엔티티를 업데이트newImageUrl값에 따라 상품 대표 이미지를 수정하거나, 값이 없는 경우 삭제(null 처리)** 테스트 진행을 위해 권한 설정 X(추후 추가 예정)
✔️ 체크 리스트
📸 스크린샷
💬 리뷰 요구사항(선택)