From 2bc90e242eceb83d9aa80d48ea9f991c0f9b99c6 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 12 十二月 2024 19:47:57 +0800
Subject: [PATCH] 工位选择界面 诊室按照room id排序

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/devrent/DevRentDO.java |   42 ++++++++++++++++++++++++++++++++----------
 1 files changed, 32 insertions(+), 10 deletions(-)

diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/devrent/DevRentDO.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/devrent/DevRentDO.java
index 8533c86..5270773 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/devrent/DevRentDO.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/devrent/DevRentDO.java
@@ -1,5 +1,8 @@
 package cn.lihu.jh.module.ecg.dal.dataobject.devrent;
 
+import cn.lihu.jh.module.ecg.dal.dataobject.patient.PatDetails;
+import cn.lihu.jh.module.ecg.enums.DevRentStateEnum;
+import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
 import lombok.*;
 import java.util.*;
 import java.time.LocalDateTime;
@@ -14,7 +17,7 @@
  *
  * @author 鑺嬮亾婧愮爜
  */
-@TableName("dev_rent")
+@TableName(value="dev_rent", autoResultMap = true)
 @KeySequence("dev_rent_seq") // 鐢ㄤ簬 Oracle銆丳ostgreSQL銆並ingbase銆丏B2銆丠2 鏁版嵁搴撶殑涓婚敭鑷銆傚鏋滄槸 MySQL 绛夋暟鎹簱锛屽彲涓嶅啓銆�
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -30,9 +33,13 @@
     @TableId
     private Long id;
     /**
-     * 璁惧缂栧彿
+     * 鐢宠缂栧彿
      */
-    private String devId;
+    private String applyNo;
+    /**
+     * 灏辫瘖娴佹按鍙�
+     */
+    private String episodeId;
     /**
      * 鎮h�呯紪鍙�
      */
@@ -42,6 +49,20 @@
      */
     private String patName;
     /**
+     * 鎮h�呰鎯�
+     */
+    @TableField(typeHandler = JacksonTypeHandler.class)
+    private PatDetails patDetails;
+    /**
+     * 妫�鏌ョ被鍨�
+     */
+    private Integer checkType;
+    /**
+     * 璁惧缂栧彿
+     */
+    @TableField(updateStrategy = FieldStrategy.ALWAYS)
+    private String devId;
+    /**
      * 瑁呮満鏃堕棿
      */
     private LocalDateTime rentTime;
@@ -49,6 +70,10 @@
      * 鎷嗘満鏃堕棿
      */
     private LocalDateTime returnTime;
+    /**
+     * 鏁版嵁褰曞叆鏃堕棿
+     */
+    private LocalDateTime entryTime;
     /**
      * 骞叉壈鏁�
      */
@@ -67,12 +92,9 @@
     private String remark;
 
     /**
-     * 鏀惧純瀹夎
+     * @see DevRentStateEnum
      */
-    private Integer cancelled;
+    private Integer state;
 
-    /**
-     * 閬楀け
-     */
-    private Integer lost;
-}
\ No newline at end of file
+    private Integer paid;
+}

--
Gitblit v1.9.3