From 08765392b49bf729a134ae8659e408160d83bf51 Mon Sep 17 00:00:00 2001 From: pkl0912 Date: Wed, 11 Sep 2024 01:57:56 +0900 Subject: [PATCH] =?UTF-8?q?#82=20[refactor]=20type=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/example/letscareer/schedule/domain/dto/FastDTO.java | 3 ++- .../example/letscareer/schedule/service/ScheduleService.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/example/letscareer/schedule/domain/dto/FastDTO.java b/src/main/java/com/example/letscareer/schedule/domain/dto/FastDTO.java index d2b4976..b86edf5 100644 --- a/src/main/java/com/example/letscareer/schedule/domain/dto/FastDTO.java +++ b/src/main/java/com/example/letscareer/schedule/domain/dto/FastDTO.java @@ -4,6 +4,7 @@ public record FastDTO( Long stageId, Long scheduleId, String company, - String department + String department, + String type ) { } diff --git a/src/main/java/com/example/letscareer/schedule/service/ScheduleService.java b/src/main/java/com/example/letscareer/schedule/service/ScheduleService.java index e1b2163..f726c06 100644 --- a/src/main/java/com/example/letscareer/schedule/service/ScheduleService.java +++ b/src/main/java/com/example/letscareer/schedule/service/ScheduleService.java @@ -250,7 +250,8 @@ public FastReviewListResponse getFastReviews(final Long userId, final int page, stage.getStageId(), stage.getSchedule().getScheduleId(), stage.getSchedule().getCompany(), - stage.getSchedule().getDepartment() + stage.getSchedule().getDepartment(), + stage.getType().getValue() )); }