From 7c01ac1ef1aac443a7c6273c82c714bc5ede8448 Mon Sep 17 00:00:00 2001 From: KWY Date: Sun, 14 Jan 2024 23:16:43 +0900 Subject: [PATCH 1/2] =?UTF-8?q?#122=20[fix]=20response=20dto=20hair=20leng?= =?UTF-8?q?th=20=ED=83=80=EC=9E=85=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../designer/dto/response/ApplicationInfoResponse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/moddy/server/controller/designer/dto/response/ApplicationInfoResponse.java b/src/main/java/com/moddy/server/controller/designer/dto/response/ApplicationInfoResponse.java index 95400517..bda471bc 100644 --- a/src/main/java/com/moddy/server/controller/designer/dto/response/ApplicationInfoResponse.java +++ b/src/main/java/com/moddy/server/controller/designer/dto/response/ApplicationInfoResponse.java @@ -8,7 +8,7 @@ public record ApplicationInfoResponse( Long applicationId, String modelImgUrl, - HairLength hairLength, + String hairLength, List preferHairstyles, List hairServiceRecords, String hairDetail, From b99c26177b329ccb1c45ca6b1980daeb8b1ce1a1 Mon Sep 17 00:00:00 2001 From: KWY Date: Sun, 14 Jan 2024 23:16:58 +0900 Subject: [PATCH 2/2] =?UTF-8?q?#122=20[feat]=20hair=20length=20get=20value?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/moddy/server/service/designer/DesignerService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/moddy/server/service/designer/DesignerService.java b/src/main/java/com/moddy/server/service/designer/DesignerService.java index 8ac55f27..b348f7fc 100644 --- a/src/main/java/com/moddy/server/service/designer/DesignerService.java +++ b/src/main/java/com/moddy/server/service/designer/DesignerService.java @@ -224,7 +224,7 @@ public ApplicationDetailInfoResponse getApplicationDetail(Long userId, Long appl ApplicationInfoResponse applicationInfoResponse = new ApplicationInfoResponse( applicationId, hairModelApplication.getModelImgUrl(), - hairModelApplication.getHairLength(), + hairModelApplication.getHairLength().getValue(), preferhairStyleList, recordResponseList, hairModelApplication.getHairDetail(),