From fd442f4e1d057048cbf85e909c9dc0ffcb1fe105 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 11 四月 2025 12:16:08 +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