Skip to content

Commit

Permalink
[#297] refactor(TicketService): 변경된 메서드명 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
hyerinhwang-sailin committed Dec 29, 2024
1 parent 2ffaac0 commit a6709e0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ public TicketRetrieveResponse findAllTicketsByConditions(Long memberId, Long per
log.info("performanceId: {}", performanceId);
log.info("scheduleNumbers: {}", scheduleNumbers);
log.info("bookingStatuses: {}", bookingStatuses);
List<Booking> bookings = ticketRepository.findBookings(performanceId, scheduleNumbers, bookingStatuses);
List<Booking> bookings = ticketRepository.findBookingsByPerformanceIdAndScheduleNumbersAndBookingStatuses(
performanceId, scheduleNumbers, bookingStatuses);

return findTicketRetrieveResponse(performance, totalPerformanceTicketCount, totalPerformanceSoldTicketCount,
bookings);
Expand Down Expand Up @@ -114,7 +115,7 @@ public TicketRetrieveResponse searchAllTicketsByConditions(Long memberId, Long p
log.info("searchWord: {}", searchWord);
log.info("selectedScheduleNumbers: {}", selectedScheduleNumbers);
log.info("selectedBookingStatuses: {}", selectedBookingStatuses);
List<Booking> bookings = ticketRepository.searchBookings(
List<Booking> bookings = ticketRepository.searchBookingsByPerformanceIdAndSearchWordAndSchedulesNumbersAndBookingStatuses(
performanceId,
searchWord,
selectedScheduleNumbers,
Expand Down

0 comments on commit a6709e0

Please sign in to comment.