From 2ad11fa39ac42b17dc1b34b01788322855fa2e3e Mon Sep 17 00:00:00 2001
From: wayne <wayne8692wayne8692@gmail.com>
Date: 星期一, 13 十二月 2021 12:16:11 +0800
Subject: [PATCH] [update] 【todo 132231】修正顧問清單的更新時間在有預約單刪除後應為刪除時間

---
 pamapi/src/main/java/com/pollex/pam/domain/Appointment.java |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/pamapi/src/main/java/com/pollex/pam/domain/Appointment.java b/pamapi/src/main/java/com/pollex/pam/domain/Appointment.java
index 096f448..6e53c8e 100644
--- a/pamapi/src/main/java/com/pollex/pam/domain/Appointment.java
+++ b/pamapi/src/main/java/com/pollex/pam/domain/Appointment.java
@@ -58,11 +58,10 @@
 
     @CreatedDate
 	@Column(name = "appointment_date", updatable = false)
-    private Instant appointmentDate;
+    private Instant appointmentDate = Instant.now();
 
-    @LastModifiedDate
     @Column(name = "last_modified_date")
-    private Instant lastModifiedDate;
+    private Instant lastModifiedDate = Instant.now();
 
 	@Column(name = "agent_no")
     private String agentNo;

--
Gitblit v1.8.0