From e15331151570de53175d27da6c4f340c24dff7bb Mon Sep 17 00:00:00 2001 From: hyerinhwang-sailin Date: Wed, 4 Dec 2024 01:51:07 +0900 Subject: [PATCH] =?UTF-8?q?[#278]=20chore(TicketService):=20logging=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/beat/domain/booking/application/TicketService.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/com/beat/domain/booking/application/TicketService.java b/src/main/java/com/beat/domain/booking/application/TicketService.java index a6d180c..60aee8c 100644 --- a/src/main/java/com/beat/domain/booking/application/TicketService.java +++ b/src/main/java/com/beat/domain/booking/application/TicketService.java @@ -67,6 +67,9 @@ public TicketRetrieveResponse findAllTicketsByConditions(Long memberId, Long per int totalPerformanceTicketCount = calculateTotalTicketCount(schedules); int totalPerformanceSoldTicketCount = calculateTotalSoldTicketCount(schedules); + log.info("performanceId: {}", performanceId); + log.info("scheduleNumbers: {}", scheduleNumbers); + log.info("bookingStatuses: {}", bookingStatuses); List bookings = ticketRepository.findBookings(performanceId, scheduleNumbers, bookingStatuses); return findTicketRetrieveResponse(performance, totalPerformanceTicketCount, totalPerformanceSoldTicketCount, @@ -107,6 +110,10 @@ public TicketRetrieveResponse searchAllTicketsByConditions(Long memberId, Long p .toList(); } + log.info("performanceId: {}", performanceId); + log.info("searchWord: {}", searchWord); + log.info("selectedScheduleNumbers: {}", selectedScheduleNumbers); + log.info("selectedBookingStatuses: {}", selectedBookingStatuses); List bookings = ticketRepository.searchBookings( performanceId, searchWord,