From 7a1929f9652d368f74cf9bd3136206d14d4d5d8d Mon Sep 17 00:00:00 2001 From: yang Date: Tue, 2 Apr 2024 21:20:46 +0900 Subject: [PATCH] =?UTF-8?q?RAC-326=20HotFix=20:=20=EC=84=A0=EB=B0=B0?= =?UTF-8?q?=EB=A6=AC=EC=8A=A4=ED=8A=B8=20=EC=A1=B0=ED=9A=8C=EC=8B=9C=20?= =?UTF-8?q?=EA=B5=90=EC=88=98=EB=8B=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/senior/application/dto/res/SeniorSearchResponse.java | 1 + .../domain/senior/application/mapper/SeniorMapper.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/postgraduate/domain/senior/application/dto/res/SeniorSearchResponse.java b/src/main/java/com/postgraduate/domain/senior/application/dto/res/SeniorSearchResponse.java index 2fb19dcf..12ebbb2d 100644 --- a/src/main/java/com/postgraduate/domain/senior/application/dto/res/SeniorSearchResponse.java +++ b/src/main/java/com/postgraduate/domain/senior/application/dto/res/SeniorSearchResponse.java @@ -7,5 +7,6 @@ public record SeniorSearchResponse( String postgradu, String major, String lab, + String professor, String[] keyword ) {} diff --git a/src/main/java/com/postgraduate/domain/senior/application/mapper/SeniorMapper.java b/src/main/java/com/postgraduate/domain/senior/application/mapper/SeniorMapper.java index 58a1af55..dec027f1 100644 --- a/src/main/java/com/postgraduate/domain/senior/application/mapper/SeniorMapper.java +++ b/src/main/java/com/postgraduate/domain/senior/application/mapper/SeniorMapper.java @@ -184,7 +184,7 @@ public static SeniorSearchResponse mapToSeniorSearch(Senior senior) { String[] keyword = Arrays.copyOf(allKeywords, Math.min(3, allKeywords.length)); return new SeniorSearchResponse(senior.getSeniorId(), user.getProfile(), user.getNickName(), - info.getPostgradu(), info.getMajor(), info.getLab(), + info.getPostgradu(), info.getMajor(), info.getLab(), info.getProfessor(), keyword); }