From e86481b3a32200d83fdcdbca826b72e3776ae5cd Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期六, 12 十月 2024 14:23:55 +0800 Subject: [PATCH] 装机功能 相关 待续 --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueService.java | 25 ++++++++++++++++++++----- 1 files changed, 20 insertions(+), 5 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 0a34b8d..f3cbfdb 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 @@ -19,7 +19,7 @@ */ public interface QueueService { - void setQueueReadyMax(Integer max); + void initCheckType(); void startBiz(); void closeBiz(); @@ -49,9 +49,11 @@ /** * */ - void startHurryUp(); + void startHurryUpOneBed(Long roomId, String bedNo); + void startHurryUpOneCheckType(Integer checkType); + void startBedReload(); - void startResetRoom(); + void startResetRoom(Boolean needCloseBed); MonitorInfoVO getMonitorInfo(); ErrorCode startBedOpen(Long roomId, String roomName, String bedNo); @@ -61,6 +63,7 @@ ErrorCode startBedDoctorOn(Long roomId, String bedNo, Long docId, String docName); ErrorCode startBedDoctorOff(Long roomId, String bedNo, Long docId, String docName); ErrorCode startNextPatient(Long roomId, String bedNo); + ErrorCode startNextInstallPatient(Long roomId, String bedNo); CommonResult<RoomRespVO> getRoom(Long roomId, String bedNo, Long docId); @@ -87,16 +90,28 @@ void queue(QueueSaveReqVO queueSaveReqVO); /** - * 鍖荤敓鍙笅涓�浣嶆偅鑰� + * 甯歌妫�鏌� 鍖荤敓鍙笅涓�浣嶆偅鑰� */ void finishNextPatient(Long roomId, String bedNo); + + /** + * 棰嗙敤 鍖荤敓鍙笅涓�浣嶆偅鑰� + */ + void finishReceiveNextPatient(Long roomId, String bedNo); + + /** + * 瑁呮満 鍖荤敓鍙笅涓�浣嶆偅鑰� + */ + void finishInstallNextPatient(Long roomId, String bedNo); /** * 鍖荤敓鐪嬪畬鎮h�� */ void passNextPatient(Long roomId, String bedNo); - List<QueueDO> getDoctorQueueByStatus(Long roomId, String bedNo, List<Byte> statusList); + List<QueueDO> getBedQueueByStatus(Long roomId, String bedNo, List<Byte> statusList); + + List<QueueDO> getRoomQueueByStatus(Long roomId, List<Byte> statusList); PatientStatisticVO getPatientStatistic(Long roomId, String bedNo); -- Gitblit v1.9.3