From 22f5367970331e8b84dc660ad62bf783464376fa Mon Sep 17 00:00:00 2001 From: yeseul106 <20191037@sungshin.ac.kr> Date: Sun, 27 Aug 2023 01:29:42 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20=EC=97=85=EB=AC=B4=20=EC=B9=B4=EB=93=9C?= =?UTF-8?q?=20=EC=83=81=EC=84=B8=20=EC=A1=B0=ED=9A=8C=20=EC=8B=9C,=20conte?= =?UTF-8?q?nt=EC=99=80=20note=20=EA=B0=92=20=EB=88=84=EB=9D=BD=EB=90=9C=20?= =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../katchupserver/api/card/dto/response/CardGetResponseDto.java | 2 ++ .../katchupserver/api/card/service/Impl/CardServiceImpl.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/site/katchup/katchupserver/api/card/dto/response/CardGetResponseDto.java b/src/main/java/site/katchup/katchupserver/api/card/dto/response/CardGetResponseDto.java index 7710e03..c96096e 100644 --- a/src/main/java/site/katchup/katchupserver/api/card/dto/response/CardGetResponseDto.java +++ b/src/main/java/site/katchup/katchupserver/api/card/dto/response/CardGetResponseDto.java @@ -16,6 +16,8 @@ public class CardGetResponseDto { private String category; private String task; private String subTask; + private String content; + private String note; private List keywordList; private List screenshotList; private List fileList; diff --git a/src/main/java/site/katchup/katchupserver/api/card/service/Impl/CardServiceImpl.java b/src/main/java/site/katchup/katchupserver/api/card/service/Impl/CardServiceImpl.java index 0e40035..c1bbbb5 100644 --- a/src/main/java/site/katchup/katchupserver/api/card/service/Impl/CardServiceImpl.java +++ b/src/main/java/site/katchup/katchupserver/api/card/service/Impl/CardServiceImpl.java @@ -224,7 +224,7 @@ public CardGetResponseDto getCard(Long cardId) { List fileGetResponseDTOList = getFileDtoList(cardId); List screenshotResponseDtoList = getScreenshotDtoList(cardId); - return CardGetResponseDto.of(card.getId(), category.getName(), task.getName(), card.getSubTask().getName(), keywordResponseDtoList, screenshotResponseDtoList, fileGetResponseDTOList); + return CardGetResponseDto.of(card.getId(), category.getName(), task.getName(), card.getSubTask().getName(), card.getContent(), card.getNote(), keywordResponseDtoList, screenshotResponseDtoList, fileGetResponseDTOList); } private Long getPlacementOrder(SubTask subTask) {