Skip to content

Conversation

@Yujin1219
Copy link
Member

@Yujin1219 Yujin1219 commented Sep 15, 2025

🚀 관련 이슈

#34

📝 작업 내용

  1. 신고 내역 전체 조회 시 제품 상세 정보도 같이 조회되도록 수정
    • Fetch Join 을 이용하여 N+1 문제 해결 (findAllWithDetails(Pageable pageable), findByIdWithDetails(Long id))
  2. 신고 내역 단일 조회
    • REPORT_NOT_FOUND : 신고 내역이 없는 경우
  3. 신고 수락
    • 관리자가 IN_PROGRESS 상태의 신고를 ACCEPTED로 변경
    • REPORT_NOT_FOUND : 신고 내역이 없는 경우
    • ALREADY_PROCESSED_REPORT : 이미 처리된 신고 내역일 경우
    • 신고 타입에 따라
      • 영양 정보 신고 : NutritionReport의 값을 기반으로 ProductNutrition 엔티티를 업데이트
      • 이미지 신고 : 요청 값인 newImageUrl 값에 따라 상품 대표 이미지를 수정하거나, 값이 없는 경우 삭제(null 처리)

** 테스트 진행을 위해 권한 설정 X(추후 추가 예정)

✔️ 체크 리스트

  • Merge 하려는 PR 및 Commit들을 로컬에서 실행했을 때 에러가 발생하지 않았는가?

📸 스크린샷

image

💬 리뷰 요구사항(선택)

@Yujin1219 Yujin1219 self-assigned this Sep 15, 2025
@Yujin1219 Yujin1219 added the enhancement New feature or request label Sep 15, 2025
@Yujin1219 Yujin1219 merged commit 7b09149 into main Sep 15, 2025
2 checks passed
@Yujin1219 Yujin1219 deleted the Feat/#34 branch September 15, 2025 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants