From b3b9387ff3e29ddabed067a3916c54ad2b70ad56 Mon Sep 17 00:00:00 2001
From: Jack <jack.su@pollex.com.tw>
Date: 星期日, 14 十一月 2021 22:42:59 +0800
Subject: [PATCH] [ADD] 預約單標記為已聯絡API

---
 pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java |    8 ++++++++
 1 files changed, 8 insertions(+), 0 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 34ed909..77f770e 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
@@ -2,6 +2,7 @@
 
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
@@ -21,4 +22,11 @@
 	public void clientCreateAppointment(@RequestBody AppointmentCreateDTO appointmentCreateDTO) {
 		appointmentService.customerCreateAppointment(appointmentCreateDTO);
 	}
+	
+	@PostMapping("/markAsContacted")
+	public void markAsContacted(@RequestBody Long appointmentId) {
+		appointmentService.markAsContacted(appointmentId);
+	}
+	
+	
 }

--
Gitblit v1.8.0