From 01a81beea99c0298a3b6178c7796f4c27b30c6c7 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 15 四月 2025 14:27:50 +0800
Subject: [PATCH] pat detail.  新增 appontment_id

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/feign/dto/AppointmentExternal.java |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/feign/dto/AppointmentExternal.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/feign/dto/AppointmentExternal.java
index 7ee8141..3d092ab 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/feign/dto/AppointmentExternal.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/feign/dto/AppointmentExternal.java
@@ -1,5 +1,7 @@
 package cn.lihu.jh.module.ecg.feign.dto;
 
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonProperty;
 import lombok.Data;
 
 import java.time.LocalDate;
@@ -7,34 +9,52 @@
 import java.util.Date;
 
 public class AppointmentExternal {
+    @JsonProperty
     private String ReqIdeApplyno;
     private String ReqStatus;
     private String ReqCodeItemclass;
     private String ReqCodeItemclassdetaill;
+    @JsonProperty
     private String PatientID;
+    @JsonProperty
     private String EpisodeID;
     private String OutMedNO;
     private String InMedNO;
     private String VisitNum;
+    @JsonProperty
     private String AdmTypeCode;
     private String AdmTypeDesc;
     private String AdmStatus;
     private Date AdmDate;  //LocalDate
+    @JsonProperty
     private String PatName;
+    @JsonProperty
     private String Patgender;
+    @JsonFormat(pattern = "yyyy-MM-dd")
     private Date EncPatBirthDate;  //LocalDate
     private String Age;
+    @JsonProperty
     private String Phone;
+    @JsonProperty
     private String Address;
+    @JsonProperty
     private String IdentityID;
+    @JsonProperty
     private String PatLocDeptCode;
+    @JsonProperty
     private String PatLocDeptDesc;
+    @JsonProperty
     private String PatLocWardCode;
+    @JsonProperty
     private String PatLocWardDesc;
+    @JsonProperty
     private String EnBedno;
+    @JsonProperty
     private String clinSymp;
+    @JsonProperty
     private String clinDiag;
     private String relevantDiag;
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date ReqAuthoredOn;  // LocalDateTime
     private String ReqExtApplydeptCode;
     private String ReqExtApplydeptName;
@@ -43,6 +63,7 @@
     private String ReqExtApplydocCode;
     private String ReqExtApplydocName;
     private String ReqExtMedhistory;
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date ReqExtBooktime;  // LocalDateTime
     private String ReqExtBookplace;
     private String ReqExtUrgent;
@@ -51,6 +72,7 @@
     private String ReqExtBookcheckpertime;
     private String ReqExtCheckremark;
     private String PlanDefBarcode;
+    @JsonProperty
     private PlanDefItemList PlanDefItemList;
 
     // 鐪佺暐 getter 鍜� setter 鏂规硶

--
Gitblit v1.9.3