Skip to content

폴더 구조 변경, 리뷰 파라미터별 조회 구현, 리뷰 수정 메서드 조건 추가! #68

@junes7

Description

@junes7

1. 구분

  • BackEnd
  • Infra
  • ETC

2. 대분류

  • feat
  • refactor
  • settings
  • etc

3. 작업의 주 내용에 대해서 작성해주세요

3-1. 폴더 DDD 구조로 변경
3-2. 리뷰 파라미터별 조회 구현
3-3. 리뷰 수정자 일치 조건 추가

4. 세부 작업에 대해서 작성해주세요

4-1. 폴더 DDD 구조로 변경
4-2. 리뷰 파라미터별 조회 구현
외래키에 의한 조회
userId 사용자ID
storeId 음식점ID
orderId 주문ID
productID 상품ID
rating 별점
contents 리뷰내용
조건없으면 전체조회!
4-3. 리뷰 수정자 일치 조건 추가
파라미터: UserDetailsImpl에서 User 객체 접근 후 userId가져옴
바디:review 엔티티의 외래 키 User 객체 접근 후 userId가져옴
두 아이디 일치하면 수정가능, 아니면 불가능!!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions