From 59cba8e75716def66ca996c3162e7e6792048444 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期二, 15 二月 2022 09:39:45 +0800
Subject: [PATCH] Fixed#135358 修正[ 顧問管理流程 ] 結案明細 : 編輯結案明細,由成交編輯為未成交,內容依然顯示成交的 ID 和 商品 Plan Code、進件時間

---
 pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java |    3 +--
 1 files changed, 1 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 fe72710..6a8e6b7 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
@@ -16,8 +16,6 @@
 import com.pollex.pam.service.PersonalNotificationService;
 import com.pollex.pam.service.SatisfactionService;
 
-import java.util.Objects;
-
 @RestController
 @RequestMapping("/api/appointment")
 public class AppointmentResource {
@@ -57,6 +55,7 @@
 	public AppointmentDTO clientCreateAppointment(@RequestBody AppointmentCreateDTO appointmentCreateDTO) {
         Appointment appointment = appointmentService.customerCreateAppointment(appointmentCreateDTO);
         appointmentService.sendAppointmentNotify(appointment);
+        satisfactionService.createUnfilledSystemSatisfaction(appointment);
 
         return appointmentMapper.toAppointmentDTO(appointment);
     }

--
Gitblit v1.8.0