Skip to content

Commit

Permalink
fix : 승인 주문도 통계에 합하기 (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImNM authored Feb 27, 2023
1 parent 29d824a commit c3e7653
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private Expression<BigDecimal> sellAmount(Long eventId) {
return ExpressionUtils.as(
JPAExpressions.select(order.totalPaymentInfo.paymentAmount.amount.sum())
.from(order)
.where(eventIdEq(eventId), order.orderStatus.eq(CONFIRM)),
.where(eventIdEq(eventId), order.orderStatus.in(CONFIRM, APPROVED)),
"sellAmount");
}

Expand Down

0 comments on commit c3e7653

Please sign in to comment.