From f5831acafe510f9a79f8e2ecf6dee09026d67fc6 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 20 一月 2022 16:09:09 +0800
Subject: [PATCH] Merge branch 'Phase3' of https://dev.pollex.com.tw:8443/r/pcalife/PAM into Phase3

---
 pamapi/src/main/java/com/pollex/pam/domain/Appointment.java |    2 ++
 1 files changed, 2 insertions(+), 0 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 5b6082b..76d30ca 100644
--- a/pamapi/src/main/java/com/pollex/pam/domain/Appointment.java
+++ b/pamapi/src/main/java/com/pollex/pam/domain/Appointment.java
@@ -20,6 +20,7 @@
 import javax.persistence.Table;
 
 import org.springframework.data.annotation.CreatedDate;
+import org.springframework.data.annotation.LastModifiedDate;
 import org.springframework.data.jpa.domain.support.AuditingEntityListener;
 
 import com.pollex.pam.enums.AppointmentStatusEnum;
@@ -75,6 +76,7 @@
     private Instant appointmentDate = Instant.now();
 
     @Column(name = "last_modified_date")
+    @LastModifiedDate
     private Instant lastModifiedDate = Instant.now();
 
 	@Column(name = "agent_no")

--
Gitblit v1.8.0