Skip to content

Commit

Permalink
Merge pull request #152 from SportsEcho/dev1
Browse files Browse the repository at this point in the history
fix(hotdeal)
  • Loading branch information
zomeong authored Feb 6, 2024
2 parents d5807d0 + dd699d1 commit 05ba845
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@
- nginx 1.24.0: 고성능 웹 서버 및 리버스 프록시 서버
- AWS: 클라우드 기반 인프라 서비스
- GitHub Actions: 지속적 통합 및 배포를 위한 워크플로우 자동화 도구
- nGrinder: 성능 테스트를 위한 오픈소스 로드 테스트 도구
- nGrinder/Jmeter: 성능 테스트를 위한 오픈소스 로드 테스트 도구

### Tools
- IntelliJ: Java 개발을 위한 통합 개발 환경(IDE)
- Git: 소스 코드 버전 관리 시스템
---
## 프로젝트 구조
### 아키텍쳐
![스크린샷 2024-01-15 오후 8.41.27.png](src%2Fmain%2Fresources%2Fstatic%2F%EC%8A%A4%ED%81%AC%EB%A6%B0%EC%83%B7%202024-01-15%20%EC%98%A4%ED%9B%84%208.41.27.png)
![FigJam Basics (한국어) (Community) (1) 복사본.png](src%2Fmain%2Fresources%2Fstatic%2FFigJam%20Basics%20%28%ED%95%9C%EA%B5%AD%EC%96%B4%29%20%28Community%29%20%281%29%20%EB%B3%B5%EC%82%AC%EB%B3%B8.png)
### ERD
![Screenshot 2024-01-10 at 12.13.56 PM.png](src%2Fmain%2Fresources%2Fstatic%2FScreenshot%202024-01-10%20at%2012.13.56%20PM.png)
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public PurchaseHotdealResponseDto handleUserPermissionGrantedEvent(
purchase = purchaseRepository.save(purchase);

PurchaseProduct purchaseProduct = PurchaseProduct.builder()
.purchase(purchase)
.product(product)
.productsQuantity(quantity)
.role(ProductRole.HOTDEAL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public PurchaseHotdealResponseDto purchaseHotdeal(Member member,
purchase.setCreatedAt(LocalDateTime.now());

PurchaseProduct purchaseProduct = PurchaseProduct.builder()
.purchase(purchase)
.product(product)
.productsQuantity(requestDto.getQuantity())
.role(ProductRole.HOTDEAL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ public PurchaseHotdealResponseDto purchaseHotdeal(Member member,
purchase.setCreatedAt(LocalDateTime.now());

PurchaseProduct purchaseProduct = PurchaseProduct.builder()
.purchase(purchase)
.product(product)
.productsQuantity(requestDto.getQuantity())
.role(ProductRole.HOTDEAL)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 05ba845

Please sign in to comment.