pamapi/src/doc/sql/20220114_j.sql | ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程 | |
pamapi/src/doc/約訪通知API/發送約訪通知API.txt | ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程 | |
pamapi/src/main/java/com/pollex/pam/domain/AppointmentNoticeLog.java | ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程 | |
pamapi/src/main/java/com/pollex/pam/service/dto/AppointmentNoticeSendDTO.java | ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程 |
pamapi/src/doc/sql/20220114_j.sql
¤ñ¹ï·sÀÉ®× @@ -0,0 +1,2 @@ -- appointment_notice_log æ°å¢ç´è¨ªæéæ¬ä½ ALTER TABLE appointment_notice_log ADD interview_date timestamp null; pamapi/src/doc/¬ù³X³qª¾API/µo°e¬ù³X³qª¾API.txt
@@ -4,6 +4,7 @@ message: ç¼éçæåå §å®¹ appointmentId : ç´è¨ªéç¥çé ç´å®id interviewDate: é è¨ç´è¨ªææ®µ request body: @@ -11,5 +12,6 @@ "message":"notice customer invterview time", "email":"pollex@gmail.com", "phone":"0912345678", "appointmentId": 385 "appointmentId": 406, "interviewDate":"2022-11-01T08:00:00.000" } pamapi/src/main/java/com/pollex/pam/domain/AppointmentNoticeLog.java
@@ -2,6 +2,7 @@ import java.io.Serializable; import java.time.Instant; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; @@ -50,8 +51,10 @@ @CreatedDate @Column(name = "created_date", updatable = false) // @JsonIgnore private Instant createdDate = Instant.now(); @Column(name = "interview_date") private Date interviewDate; public Long getId() { return id; @@ -117,6 +120,14 @@ this.createdDate = createdDate; } public Date getInterviewDate() { return interviewDate; } public void setInterviewDate(Date interviewDate) { this.interviewDate = interviewDate; } pamapi/src/main/java/com/pollex/pam/service/dto/AppointmentNoticeSendDTO.java
@@ -1,5 +1,7 @@ package com.pollex.pam.service.dto; import java.util.Date; public class AppointmentNoticeSendDTO { private String message; @@ -7,6 +9,7 @@ private String email; private String phone; // private String noticeType; private Date interviewDate; public String getMessage() { return message; @@ -38,6 +41,12 @@ public void setPhone(String phone) { this.phone = phone; } public Date getInterviewDate() { return interviewDate; } public void setInterviewDate(Date interviewDate) { this.interviewDate = interviewDate; }