From ab79329b71e1c962764a6be325a25c3e3a255e35 Mon Sep 17 00:00:00 2001
From: Jack <jack.su@pollex.com.tw>
Date: 星期三, 01 十二月 2021 17:51:41 +0800
Subject: [PATCH] [ADD] 填寫滿意度問卷 [ADD] 查詢自己所有的滿意度填寫結果

---
 pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java |    6 ++++++
 1 files changed, 6 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 7924090..afd4c01 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,8 @@
 package com.pollex.pam.web.rest;
 
 import com.pollex.pam.service.ConsultantService;
+import com.pollex.pam.service.SatisfactionService;
+
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.PathVariable;
@@ -9,6 +11,7 @@
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
+import com.pollex.pam.domain.Appointment;
 import com.pollex.pam.domain.AppointmentCustomerView;
 import com.pollex.pam.service.AppointmentService;
 import com.pollex.pam.service.dto.AppointmentCreateDTO;
@@ -20,6 +23,9 @@
 
 	@Autowired
 	AppointmentService appointmentService;
+	
+	@Autowired
+	SatisfactionService satisfactionService;
 
 	@PostMapping("/customer/create")
 	public void clientCreateAppointment(@RequestBody AppointmentCreateDTO appointmentCreateDTO) {

--
Gitblit v1.8.0