diff --git a/src/main/java/com/noriton/team9/domain/Orders.java b/src/main/java/com/noriton/team9/domain/Orders.java index 3491233..a4e0696 100644 --- a/src/main/java/com/noriton/team9/domain/Orders.java +++ b/src/main/java/com/noriton/team9/domain/Orders.java @@ -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에 하위로 들어가지 않는다. 단방향 관계.