Skip to content

Gifticon:Order(FK) -> Order:Gifticon(FK) 로 수정#195

Draft
vanillacake369 wants to merge 12 commits intomainfrom
refactor/order-has-gifticon-fk
Draft

Gifticon:Order(FK) -> Order:Gifticon(FK) 로 수정#195
vanillacake369 wants to merge 12 commits intomainfrom
refactor/order-has-gifticon-fk

Conversation

@vanillacake369
Copy link
Copy Markdown
Collaborator

@vanillacake369 vanillacake369 commented Jan 26, 2024

개요

기프티콘 엔티티에서 주문 엔티티 FK (X)
-> 주문 엔티티에서 기프티콘 엔티티 FK (O)

작업사항

  • "판매입찰 기프티콘에 주문 저장" 로직 삭제
  • GifticonMapper 제거
  • GifticonQueryService 제거
  • GifticonRepositoryCustomImpl 제거
  • OrderMapper 구현
  • OrderQueryService 구현
  • OrderRepositoryCutomImpl 구현

관련 이슈

…tearDown() 순서 조정

- (이전)
  - saveOrder()
  - saveGifticon()
- (이후)
  - saveGifticon()
  - saveOrder()
…rDown() 순서 조정

- (이전)
  - saveOrder()
  - saveGifticon()
- (이후)
  - saveGifticon()
  - saveOrder()
- "판매입찰 기프티콘에 주문 저장" 로직 삭제
- (이전)
  - GifticonMapper 사용
  - GifticonQueryService 사용
  - GifticonRepositoryCustomImpl 사용
- (이후)
  - OrderMapper 사용
  - OrderQueryService 사용
  - OrderRepositoryCutomImpl 사용
…스 수정

- (이전)
  - 주문 저장 이후 기프티콘 저장
- (이후)
  - 기프티콘 저장 이후 주문 저장
@vanillacake369 vanillacake369 added the refactoring 리팩토링 사항입니다. label Jan 26, 2024
@vanillacake369 vanillacake369 self-assigned this Jan 26, 2024
@github-actions
Copy link
Copy Markdown

Test Results

56 tests   46 ✅  4s ⏱️
27 suites  10 💤
27 files     0 ❌

Results for commit 5bc1f7b.

@vanillacake369 vanillacake369 marked this pull request as ready for review January 26, 2024 06:26
@vanillacake369 vanillacake369 marked this pull request as draft January 30, 2024 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring 리팩토링 사항입니다.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gifticon:Order(FK) -> Order:Gifticon(FK) 로 수정

1 participant