Skip to content

Commit

Permalink
Yv3 #1/order and fund (#21)
Browse files Browse the repository at this point in the history
* feat[v2#2]: Item funding quantity 구현 중

* chore[v2#2]: MemberCreateRequest 이름 수정

* feat[v2#2]: funding 구현 중

* order, item관계 설정

* item, order 관계 설정

* fix[#1]: order반환 실수 수정
  • Loading branch information
yujin9747 authored Jan 27, 2023
1 parent 94c250c commit b792d7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/noriton/team9/domain/Orders.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public static Orders approveOrder(Item item, String fundStatus) {
order.setCount(totalCount);
order.setTotalPrice(totalPrice);
order.setApprovedItem(item);
return order;
}

// approved된 order는 Item의 fundingList에 하위로 들어가지 않는다. 단방향 관계.
Expand Down

0 comments on commit b792d7f

Please sign in to comment.