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/dal/dataobject/queue/QueueDO.java |   45 +++++++++++++++++++++++++++++++++++++--------
 1 files changed, 37 insertions(+), 8 deletions(-)

diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/queue/QueueDO.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/queue/QueueDO.java
index 39e6b9d..5a251aa 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/queue/QueueDO.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/queue/QueueDO.java
@@ -1,17 +1,21 @@
 package cn.lihu.jh.module.ecg.dal.dataobject.queue;
 
+import cn.lihu.jh.module.ecg.dal.dataobject.patient.PatDetails;
+import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
 import lombok.*;
 import com.baomidou.mybatisplus.annotation.*;
 import cn.lihu.jh.framework.mybatis.core.dataobject.BaseDO;
 
 import java.time.LocalDate;
+import java.util.List;
+import java.util.Map;
 
 /**
  * 鎺掗槦 DO
  *
  * @author 鑺嬮亾婧愮爜
  */
-@TableName("queue")
+@TableName( value="queue", autoResultMap = true )
 @KeySequence("queue_seq") // 鐢ㄤ簬 Oracle銆丳ostgreSQL銆並ingbase銆丏B2銆丠2 鏁版嵁搴撶殑涓婚敭鑷銆傚鏋滄槸 MySQL 绛夋暟鎹簱锛屽彲涓嶅啓銆�
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -27,6 +31,18 @@
     @TableId
     private Integer id;
     /**
+     * 棰勭害鐢宠鍙�
+     */
+    private String applyNo;
+    /**
+     * 灏辫瘖娴佹按鍙�
+     */
+    private String episodeId;
+    /**
+     * 鍐呴儴棰勭害缂栧彿
+     */
+    private Long appointId;
+    /**
      * 鎮h�呯紪鍙�
      */
     private String patId;
@@ -39,6 +55,11 @@
      */
     private Byte patGender;
     /**
+     * 鎮h�呰鎯�
+     */
+    @TableField(typeHandler = JacksonTypeHandler.class)
+    private PatDetails patDetails;
+    /**
      * 棰勭害鏃ユ湡
      */
     private LocalDate bookDate;
@@ -49,7 +70,15 @@
     /**
      * 棰勭害妫�鏌ョ被鍨�
      */
-    private Byte bookCheckType;
+    private Integer bookCheckType;
+    /**
+     * 棰勭害搴忓彿
+     */
+    private Integer bookSeqNum;
+    /**
+     * 鏄惁VIP
+     */
+    private Integer isVip;
     /**
      * 鎺掗槦搴忓彿
      */
@@ -57,7 +86,7 @@
     /**
      * 5:杩囧彿 10:鎺掗槦涓� 15:宸插彫鍥� 20:鍊欒瘖鍑嗗 30:灏辫瘖涓� 40:灏辫瘖瀹屾垚
      */
-    private Byte status;
+    private Integer status;
     /**
      * 杩囧彿鏍囪
      */
@@ -67,13 +96,13 @@
      */
     private Byte expired;
     /**
-     * 璇煶鍙彿鏍囪
-     */
-    private Integer called;
-    /**
      * 鎻掗槦鏍囪
      */
     private Byte jumpFlag;
+    /**
+     * 鏄惁浜插拰椤�, 鐢ㄤ簬鎺у埗 浜插拰椤圭殑涓嶅彨鍙�
+     */
+    private Integer affinityItem;
     /**
      * 璇婂缂栧彿
      */
@@ -86,5 +115,5 @@
      * 璇婄枟搴婄紪鍙�
      */
     private String bedNo;
+}
 
-}
\ No newline at end of file

--
Gitblit v1.9.3