From f77fbfc8c07881f5239ce49b0dc78faaec3628b0 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期二, 10 十二月 2024 12:09:24 +0800 Subject: [PATCH] Fix Bug: 无预约时间的在预约表会有多条记录 --- 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