From d7bcd8a8f81d85fe1524c4d785aaed58cd217586 Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期五, 03 十二月 2021 14:36:42 +0800 Subject: [PATCH] [update] 更新預約單API調整 --- pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java b/pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java index 27957f3..1704d11 100644 --- a/pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java +++ b/pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java @@ -1,6 +1,6 @@ package com.pollex.pam.web.rest; -import com.pollex.pam.service.dto.AppointmentDTO; +import com.pollex.pam.service.dto.AppointmentUpdateDTO; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; @@ -21,7 +21,7 @@ SatisfactionService satisfactionService; @PutMapping("") - public ResponseEntity<Void> updateAppointment(@RequestBody AppointmentDTO appointment) { + public ResponseEntity<Void> updateAppointment(@RequestBody AppointmentUpdateDTO appointment) { appointmentService.updateAppointment(appointment); return ResponseEntity.noContent().build(); } -- Gitblit v1.8.0