From 43f5f007142811354c20015421a2be615d279f7e Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期三, 23 十月 2024 10:32:08 +0800
Subject: [PATCH] fix bug: 叫号&过号 有时不hurryup

---
 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 18db62b..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.hurryupOneBed(roomId, bedNo);
-        }
+
+        queueService.hurryupOneBed(roomId, bedNo);
 
         queueService.monitorInfo();
         return ec;

--
Gitblit v1.9.3