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); 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;