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/controller/admin/doctor/DoctorController.java |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/doctor/DoctorController.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/doctor/DoctorController.java
index e89911a..5ff5641 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/doctor/DoctorController.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/doctor/DoctorController.java
@@ -135,7 +135,7 @@
     {
         queueService.finishNextPatient(roomId, bedNo);
 
-        List<QueueDO> queueDOList = queueService.getToBeCheckedPatient(roomId, bedNo);
+        List<QueueDO> queueDOList = queueService.getCheckRelatedPatient(roomId, bedNo);
 
         // 杩囨护鍑�  灏辫瘖涓殑锛屽噯澶囧彨鍙�
         QueueDO onStageItem = queueDOList.stream().filter(item ->
@@ -161,7 +161,7 @@
     {
         queueService.finishReceiveNextPatient(roomId, bedNo);
 
-        List<QueueDO> queueDOList = queueService.getToBeCheckedPatient(roomId, bedNo);
+        List<QueueDO> queueDOList = queueService.getCheckRelatedPatient(roomId, bedNo);
 
         // 杩囨护鍑�  灏辫瘖涓殑锛屽噯澶囧彨鍙�
         QueueDO onStageItem = queueDOList.stream().filter(item ->
@@ -187,7 +187,7 @@
     {
         queueService.finishInstallNextPatient(roomId, bedNo);
 
-        List<QueueDO> queueDOList = queueService.getToBeInstalledPatient(roomId, bedNo); // 寰呭畨瑁呯殑鎮h��
+        List<QueueDO> queueDOList = queueService.getInstallRelatedPatient(roomId, bedNo); // 寰呭畨瑁呯殑鎮h��
 
         List<QueueDO> installingQueueDOList = queueDOList.stream().filter(queueDO ->
                 queueDO.getStatus() == QueueStatusEnum.INSTALLING.getStatus() && queueDO.getAffinityItem() == 0
@@ -230,7 +230,7 @@
     {
         queueService.passNextPatient(roomId, bedNo);
 
-        List<QueueDO> queueDOList = queueService.getToBeCheckedPatient(roomId, bedNo);
+        List<QueueDO> queueDOList = queueService.getCheckRelatedPatient(roomId, bedNo);
 
         // 杩囨护鍑�  灏辫瘖涓殑锛屽噯澶囧彨鍙�
         QueueDO onStageItem = queueDOList.stream().filter(item -> Objects.equals(item.getStatus(), QueueStatusEnum.ONSTAGE.getStatus())).findFirst().orElse(null);
@@ -254,7 +254,7 @@
     {
         queueService.passInstallNextPatient(roomId, bedNo);
 
-        List<QueueDO> queueDOList = queueService.getToBeInstalledPatient(roomId, bedNo);
+        List<QueueDO> queueDOList = queueService.getInstallRelatedPatient(roomId, bedNo);
 
         List<QueueDO> installingQueueDOList = queueDOList.stream().filter(queueDO -> queueDO.getStatus() == QueueStatusEnum.INSTALLING.getStatus()).toList();
         // 杩囨护鍑�  [瀹夎涓璢 鐨勶紝鍑嗗鍙彿   璇ュ伐浣嶅簲璇� 鏈�澶氬彧鏈変竴涓� [瀹夎涓璢
@@ -338,7 +338,7 @@
             @RequestParam("roomId") Long roomId,
             @RequestParam("bedNo") String bedNo)
     {
-        List<QueueDO> queueDOList = queueService.getToBeCheckedPatient(roomId, bedNo);
+        List<QueueDO> queueDOList = queueService.getCheckRelatedPatient(roomId, bedNo);
         return success(BeanUtils.toBean(queueDOList, QueueRespVO.class));
     }
 
@@ -351,7 +351,7 @@
             @RequestParam("roomId") Long roomId,
             @RequestParam("bedNo") String bedNo)
     {
-        List<QueueDO> queueDOList = queueService.getToBeInstalledPatient(roomId, bedNo);
+        List<QueueDO> queueDOList = queueService.getInstallRelatedPatient(roomId, bedNo);
         return success(BeanUtils.toBean(queueDOList, QueueRespVO.class));
     }
 

--
Gitblit v1.9.3