From 65335d0cde7f13bde8f79bc83d7293f7bfd3c443 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期一, 24 一月 2022 08:59:15 +0800 Subject: [PATCH] fixed: 預約細節頁面 - 聯絡時段 format --- 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