From 9fbe5ab7673477b519c98455c116520ff8dbcf6f Mon Sep 17 00:00:00 2001 From: Eungi Jeong Date: Sun, 19 Nov 2023 00:58:03 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[Fix]=20=ED=98=95=EC=8B=9D=20=ED=86=B5?= =?UTF-8?q?=EC=9D=BC=20=EC=9C=84=ED=95=9C=20returnLocalDateTime=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/favor/favor/reminder/ReminderService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/favor/src/main/java/com/favor/favor/reminder/ReminderService.java b/favor/src/main/java/com/favor/favor/reminder/ReminderService.java index a08dfd6..15f2b9a 100644 --- a/favor/src/main/java/com/favor/favor/reminder/ReminderService.java +++ b/favor/src/main/java/com/favor/favor/reminder/ReminderService.java @@ -71,7 +71,7 @@ public void updateReminder(ReminderUpdateRequestDto dto, Long reminderNo){ reminder.setTitle(dto.getTitle()); reminder.setReminderDate(dto.getReminderDate()); reminder.setIsAlarmSet(dto.getIsAlarmSet()); - reminder.setAlarmTime(dto.getAlarmTime()); + reminder.setAlarmTime(returnLocalDateTime(dto.getAlarmTime())); reminder.setReminderMemo(dto.getReminderMemo()); reminder.setFriend(friend); From 9fcd047d53c85eeb005eac90cb8bd8cb6ba8dd08 Mon Sep 17 00:00:00 2001 From: Eungi Jeong Date: Sun, 19 Nov 2023 00:58:37 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[Fix]=20=EC=88=98=EC=A0=95=20DTO=EC=9D=98?= =?UTF-8?q?=20example=20=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/favor/favor/reminder/ReminderUpdateRequestDto.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/favor/src/main/java/com/favor/favor/reminder/ReminderUpdateRequestDto.java b/favor/src/main/java/com/favor/favor/reminder/ReminderUpdateRequestDto.java index 9d65aa2..2c07f3d 100644 --- a/favor/src/main/java/com/favor/favor/reminder/ReminderUpdateRequestDto.java +++ b/favor/src/main/java/com/favor/favor/reminder/ReminderUpdateRequestDto.java @@ -21,8 +21,8 @@ public class ReminderUpdateRequestDto { @ApiModelProperty(position = 3, required = true, dataType = "Boolean", value = "알람설정여부", example = "페이버") private Boolean isAlarmSet; - @ApiModelProperty(position = 4, required = false, dataType = "LocalDateTime", value = "1996-02-29 00:00") - private LocalDateTime alarmTime; + @ApiModelProperty(position = 4, required = false, dataType = "String", value = "알람 시간", example = "1996-02-29 00:00") + private String alarmTime; @ApiModelProperty(position = 5, required = false, dataType = "String", value = "메모", example = "페이버") private String reminderMemo;