Skip to content

Commit

Permalink
fix : FullDiningJpaRepository::countByOrdererAndCollectingState
Browse files Browse the repository at this point in the history
  • Loading branch information
JiwonKKang committed Sep 24, 2024
1 parent b195470 commit 811bb95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ List<FullDiningEntity> findByOrdererAndDeliveryStateAndValidPeriod(
select count(fd) from FullDiningEntity fd
join MealDeliveryEntity md on fd.mealDeliveryId = md.mealDeliveryId
join OrderEntity od on md.orderId = od.orderId
where od.orderer = :#{#recipient.userId()}
where od.orderer.userId = :#{#recipient.userId()}
and fd.collectingState = :collectingState
""")
long countByOrdererAndCollectingState(Recipient recipient, CollectingState collectingState);
Expand Down

0 comments on commit 811bb95

Please sign in to comment.