-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BSVR-257] 리뷰 수정 API 업데이트 - 요청 필드 추가, nullable 처리 (#185)
* feat: spring 디폴트 프로필 local로 변경 * feat: UpdateReviewRequest에 stadiumId, rowNumber, reviewType 추가 * feat: UpdateReviewCommand에 stadiumId, rowNumber, reviewType 추가 * refactor: findByBlockIdAndSeatNumber 메서드 이름 변경 * feat: block id와 number로 BlockRow 엔티티 조회해오는 repository 메서드 구현 * feat: 리팩토링 위한 ReviewLocationInfo 도메인 생성 * feat: ReviewDataProcessor에 업데이트 로직 이관 * feat: ReviewDataProcessor에 업데이트된 리뷰 생성 로직 이관 * feat: processReviewDetails 메서드 reviewCreationProcessor로 리팩토링 * feat: ReviewKeywordProcessor에 업데이트쪽 updateBlockTopKeywords 메서드 이동 * feat: Processor를 적용해 UpdatteReviewService 리팩토링 * refactor: 더이상 사용하지 않는 UpdateReviewService 필드 삭제
- Loading branch information
1 parent
1687b42
commit 586fcbd
Showing
17 changed files
with
240 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ server: | |
spring: | ||
# 서브모듈 profile | ||
profiles: | ||
active: dev | ||
active: local | ||
group: | ||
local: | ||
- jpa | ||
|
8 changes: 8 additions & 0 deletions
8
domain/src/main/java/org/depromeet/spot/domain/review/ReviewLocationInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package org.depromeet.spot.domain.review; | ||
|
||
import org.depromeet.spot.domain.block.Block; | ||
import org.depromeet.spot.domain.block.BlockRow; | ||
import org.depromeet.spot.domain.seat.Seat; | ||
import org.depromeet.spot.domain.section.Section; | ||
|
||
public record ReviewLocationInfo(Section section, Block block, BlockRow row, Seat seat) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.