From 3c2ee852994cc3c4d861484f12d972b42cb0ffee Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 21 八月 2024 16:05:01 +0800 Subject: [PATCH] 并发问题 修改 --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/queueService.java | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/queueService.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/queueService.java index 62a03c5..a4d4204 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/queueService.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/queueService.java @@ -68,6 +68,11 @@ void initQueue(); /** + * 寮�璇婂墠涓�鍒伙紝瀵� 灏辫瘖鍑嗗鐨� 浜哄憳 閲嶆柊鎺掑簭 + */ + void reorderQueue(); + + /** * 鎶婂尰鐢熷�欒瘖鐨勯槦鍒楀婊� */ void hurryup(); @@ -75,12 +80,12 @@ /** * 鍖荤敓鍙笅涓�浣嶆偅鑰� */ - void nextPatient(Long roomId, String bedNo); + void finishNextPatient(Long roomId, String bedNo); /** * 鍖荤敓鐪嬪畬鎮h�� */ - void finishPatient(Long roomId, String bedNo); + void passNextPatient(Long roomId, String bedNo); List<QueueDO> getDoctorQueueByStatus(Long roomId, String bedNo, List<Byte> statusList); } -- Gitblit v1.9.3