From 96ef60f4918b25dcfd927feb6d81286d9e2fcab0 Mon Sep 17 00:00:00 2001 From: yumzen Date: Sat, 10 Aug 2024 18:48:00 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20studendId=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/kahlua/KahluaProject/service/TicketService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/kahlua/KahluaProject/service/TicketService.java b/src/main/java/kahlua/KahluaProject/service/TicketService.java index a579cdf..fa93e70 100644 --- a/src/main/java/kahlua/KahluaProject/service/TicketService.java +++ b/src/main/java/kahlua/KahluaProject/service/TicketService.java @@ -178,6 +178,7 @@ else if (ticket.getType() == Type.FRESHMAN) { .status(ticket.getStatus()) .reservation_id(ticket.getReservationId()) .buyer(ticket.getBuyer()) + .studentId(ticket.getStudentId()) .phone_num(ticket.getPhone_num()) .total_ticket(1) .major(ticket.getMajor()) @@ -277,6 +278,7 @@ public TicketListResponse getFreshmanTicketList(User user, String sortBy) { TicketItemResponse ticketItemResponse = TicketItemResponse.builder() .id(ticket.getId()) .status(ticket.getStatus()) + .studentId(ticket.getStudentId()) .reservation_id(ticket.getReservationId()) .buyer(ticket.getBuyer()) .phone_num(ticket.getPhone_num())