From 5ba25cb53dab2ef0f8052a93796ef67a8a2ee820 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 10 六月 2025 14:53:49 +0800
Subject: [PATCH] 代码提交

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/doctor/DoctorController.java |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 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..03f1c11 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,14 +187,14 @@
     {
         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
         ).toList();
         // 杩囨护鍑�  [瀹夎涓璢 鐨勶紝鍑嗗鍙彿   璇ュ伐浣嶅簲璇� 鏈�澶氬彧鏈変竴涓� [瀹夎涓璢
         if (installingQueueDOList.size() > 0) {
-            QueueDO onStageItem = installingQueueDOList.getFirst();
+            QueueDO onStageItem = installingQueueDOList.get(0);
             CallSaveReqVO callSaveReqVO = BeanUtils.toBean(onStageItem, CallSaveReqVO.class);
             callSaveReqVO.setId(null);
             callSaveReqVO.setCallType(1); // 瑁呮満鍙彿
@@ -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