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/service/queue/QueueService.java |   72 +++++++++++++++++++++++------------
 1 files changed, 47 insertions(+), 25 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 66ed14d..0f5fcb1 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
@@ -19,7 +19,7 @@
  */
 public interface QueueService {
 
-    void setQueueReadyMax(Integer max);
+    void initCheckType();
     void startBiz();
     void closeBiz();
 
@@ -47,11 +47,13 @@
     void deletequeue(Integer id);
 
     /**
-     *
+     * 涓�涓伐浣� 鍙兘鏀寔澶氫釜妫�鏌ョ被鍨嬶紝
      */
-    void startHurryUp();
+    void startHurryUpOneBed(Long roomId, String bedNo);
+    void startHurryUpOneCheckType(Integer checkType);
+
     void startBedReload();
-    void startResetRoom();
+    void startResetRoom(Boolean needCloseBed);
     MonitorInfoVO getMonitorInfo();
 
     ErrorCode startBedOpen(Long roomId, String roomName, String bedNo);
@@ -61,16 +63,8 @@
     ErrorCode startBedDoctorOn(Long roomId, String bedNo, Long docId, String docName);
     ErrorCode startBedDoctorOff(Long roomId, String bedNo, Long docId, String docName);
     ErrorCode startNextPatient(Long roomId, String bedNo);
+    ErrorCode startNextInstallPatient(Long roomId, String bedNo);
 
-    ErrorCode bedOpen(Long roomId, String roomName, String bedNo);
-    ErrorCode bedClose(Long roomId, String bedNo);
-    ErrorCode bedDoctorPause(Long roomId, String bedNo, Long docId, String docName);
-    ErrorCode bedDoctorResume(Long roomId, String bedNo, Long docId, String docName);
-    ErrorCode bedDoctorOn(Long roomId, String bedNo, Long docId, String docName);
-    ErrorCode bedDoctorOff(Long roomId, String bedNo, Long docId, String docName);
-    ErrorCode nextPatient(Long roomId, String bedNo);
-
-    ErrorCode bedReload();
     CommonResult<RoomRespVO> getRoom(Long roomId, String bedNo, Long docId);
 
     /**
@@ -95,31 +89,59 @@
      */
     void queue(QueueSaveReqVO queueSaveReqVO);
 
+    List<QueueDO> selectBookSeqNumByAppointIdList(List<Long> appointIdList);
 
     /**
-     * 鎶婂尰鐢熷�欒瘖鐨勯槦鍒楀婊�
-     */
-    void hurryup();
-
-    /**
-     * 鍖荤敓鍙笅涓�浣嶆偅鑰�
+     * 甯歌妫�鏌� 鍖荤敓鍙笅涓�浣嶆偅鑰�
      */
     void finishNextPatient(Long roomId, String bedNo);
 
     /**
-     * 鍖荤敓鐪嬪畬鎮h��
+     * 棰嗙敤 鍖荤敓鍙笅涓�浣嶆偅鑰�
+     */
+    void finishReceiveNextPatient(Long roomId, String bedNo);
+
+    /**
+     * 瑁呮満 鍖荤敓鍙笅涓�浣嶆偅鑰�
+     */
+    void finishInstallNextPatient(Long roomId, String bedNo);
+
+    /**
+     * 杩囧彿鎺掗槦涓偅鑰�
+     */
+    void passWaitingPatient( String patId, Integer bookCheckType );
+
+    /**
+     * 甯歌杩囧彿銆侀鐢ㄨ繃鍙�
      */
     void passNextPatient(Long roomId, String bedNo);
 
-    List<QueueDO> getDoctorQueueByStatus(Long roomId, String bedNo, List<Byte> statusList);
+    /**
+     * 瑁呮満杩囧彿
+     */
+    void passInstallNextPatient(Long roomId, String bedNo);
+
+    List<QueueDO> getBedQueueByStatus(Long roomId, String bedNo, List<Integer> statusList);
+
+    List<QueueDO> getRoomQueueByStatus(Long roomId, List<Integer> statusList);
 
     PatientStatisticVO getPatientStatistic(Long roomId, String bedNo);
 
-    Integer recallPatient(Long roomId, String bedNo, String patId);
+    PatientStatisticVO getBedDevReadyStatistic(Long roomId, String bedNo);
 
-    Integer patientJump(String patId, Byte jumped );
+    PatientStatisticVO getBedDevInstallStatistic(Long roomId, String bedNo);
 
-    void monitorInfo();
+    Integer recallPassWaitingPatient(String patId, Integer checkType);
 
-    RoomDO getDocRoomInfo(Long docId);
+    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, Integer bookCheckType, Byte jumped );
+
+    List<RoomDO> getDocRoomInfo(Long docId);
+
+    List<QueueDO> getCheckRelatedPatient(Long roomId, String bedNo);
+
+    List<QueueDO> getInstallRelatedPatient(Long roomId, String bedNo);
 }

--
Gitblit v1.9.3