Skip to content

Commit

Permalink
Merge pull request #80 from guma2k2/cart-feature
Browse files Browse the repository at this point in the history
write CommentController.java
  • Loading branch information
guma2k2 authored Oct 3, 2024
2 parents 7ffd20f + fadbb9e commit 398f0db
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ select count(1)
@Query("""
select c.id
from OrderDetail od
left join fetch od.course c
join od.course c
GROUP BY c.id
ORDER BY COUNT(c.id) DESC
""")
Expand All @@ -40,7 +40,7 @@ ORDER BY COUNT(c.id) DESC
select od
from OrderDetail od
join fetch od.order o
left join fetch od.course
join fetch od.course
where o.id = :orderId
""")
List<OrderDetail> findByOrderId (@Param("orderId") Long orderId);
Expand Down

0 comments on commit 398f0db

Please sign in to comment.