From d8c1b8408ca24f3e02427c7885da8c87c90f16a0 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 12 十一月 2024 19:43:48 +0800
Subject: [PATCH] update

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

diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedDoctorNextPatientCallable.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedDoctorNextPatientCallable.java
index ab983a4..aadce9c 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedDoctorNextPatientCallable.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedDoctorNextPatientCallable.java
@@ -21,9 +21,8 @@
 
     public ErrorCode call() throws Exception {
         ErrorCode ec = queueService.nextPatient(roomId, bedNo);
-        if (GlobalErrorCodeConstants.SUCCESS.equals(ec)) {
-            queueService.hurryup();
-        }
+
+        queueService.hurryupOneBed(roomId, bedNo);
 
         queueService.monitorInfo();
         return ec;

--
Gitblit v1.9.3