From 9f858d6e73a726f28b698fdf7cfb1bbfdd2fbcab Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期三, 09 四月 2025 10:30:23 +0800
Subject: [PATCH] 医生入座后  启动该工位分流

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedDoctorOnCallable.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedDoctorOnCallable.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedDoctorOnCallable.java
index 8521d5f..889fe78 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedDoctorOnCallable.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedDoctorOnCallable.java
@@ -1,6 +1,7 @@
 package cn.lihu.jh.module.ecg.service.queue;
 
 import cn.lihu.jh.framework.common.exception.ErrorCode;
+import cn.lihu.jh.framework.common.exception.enums.GlobalErrorCodeConstants;
 
 import java.util.concurrent.Callable;
 
@@ -24,6 +25,9 @@
 
     public ErrorCode call() throws Exception {
         ErrorCode ec = queueService.bedDoctorOn(roomId, bedNo, docId, docName);
+        if (GlobalErrorCodeConstants.SUCCESS.equals(ec)) {
+            queueService.hurryupOneBed(roomId, bedNo);
+        }
 
         queueService.monitorInfo();
         return ec;

--
Gitblit v1.9.3