From 7105cd2dd94171feb6fa969f71f8f9ba491b0729 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期一, 02 十二月 2024 14:25:08 +0800
Subject: [PATCH] 登出时退出所有的工位

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueService.java |   30 +++++++++++++++++++++++++-----
 1 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueService.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueService.java
index c528bae..e121b2b 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueService.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueService.java
@@ -89,6 +89,8 @@
      */
     void queue(QueueSaveReqVO queueSaveReqVO);
 
+    List<QueueDO> selectBookSeqNumByAppointIdList(List<Long> appointIdList);
+
     /**
      * 甯歌妫�鏌� 鍖荤敓鍙笅涓�浣嶆偅鑰�
      */
@@ -105,13 +107,23 @@
     void finishInstallNextPatient(Long roomId, String bedNo);
 
     /**
-     * 鍖荤敓鐪嬪畬鎮h��
+     * 杩囧彿鎺掗槦涓偅鑰�
+     */
+    void passWaitingPatient( String patId, Integer bookCheckType );
+
+    /**
+     * 甯歌杩囧彿銆侀鐢ㄨ繃鍙�
      */
     void passNextPatient(Long roomId, String bedNo);
 
-    List<QueueDO> getBedQueueByStatus(Long roomId, String bedNo, List<Byte> statusList);
+    /**
+     * 瑁呮満杩囧彿
+     */
+    void passInstallNextPatient(Long roomId, String bedNo);
 
-    List<QueueDO> getRoomQueueByStatus(Long roomId, List<Byte> statusList);
+    List<QueueDO> getBedQueueByStatus(Long roomId, String bedNo, List<Integer> statusList);
+
+    List<QueueDO> getRoomQueueByStatus(Long roomId, List<Integer> statusList);
 
     PatientStatisticVO getPatientStatistic(Long roomId, String bedNo);
 
@@ -119,9 +131,17 @@
 
     PatientStatisticVO getBedDevInstallStatistic(Long roomId, String bedNo);
 
-    Integer recallPatient(Long roomId, String bedNo, String patId);
+    Integer recallPassWaitingPatient(String patId, Integer checkType);
+
+    Integer recallPatient(Long roomId, String bedNo, String patId, Integer checkType);
+
+    Integer recallInstallPatient(Long roomId, String bedNo, String patId, Integer checkType, Long roomId_operator, String bedNo_operator);
 
     Integer patientJump(String patId, Byte jumped );
 
-    RoomDO getDocRoomInfo(Long docId);
+    List<RoomDO> getDocRoomInfo(Long docId);
+
+    List<QueueDO> getToBeCheckedPatient(Long roomId, String bedNo);
+
+    List<QueueDO> getToBeInstalledPatient(Long roomId, String bedNo);
 }

--
Gitblit v1.9.3