Skip to content

Commit

Permalink
style: 사용하지 않는 메서드 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
TaeyeonRoyce committed May 17, 2024
1 parent 7ca1935 commit 3510c12
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/main/kotlin/com/petqua/domain/order/OrderRepository.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,4 @@ fun OrderRepository.findByOrderNumberOrThrow(
interface OrderRepository : JpaRepository<Order, Long>, OrderCustomRepository {

fun findByOrderNumber(orderNumber: OrderNumber): List<Order>

// @Query(
// """
// SELECT o
// FROM Order o
// WHERE o.memberId = :memberId AND o.orderNumber
// IN (
// SELECT DISTINCT o2.orderNumber
// FROM Order o2
// WHERE o2.memberId = :memberId
// AND o2.id < :#{#paging.lastViewedId}
// ORDER BY o2.createdAt DESC
// LIMIT :#{#paging.limit}
// )
// """
// )
// fun findRecentDateOrdersByMemberId(memberId: Long, paging: OrderPaging): List<Order>
}

0 comments on commit 3510c12

Please sign in to comment.