From 24b7c98e01c211e93f00293e6e4e96ba1b9db93f Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期一, 14 十月 2024 14:50:43 +0800 Subject: [PATCH] 常规检查 step 2 --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueService.java | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 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 6d62b73..c528bae 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 @@ -2,7 +2,6 @@ import javax.validation.Valid; import java.util.List; -import java.util.Map; import cn.lihu.jh.framework.common.exception.ErrorCode; import cn.lihu.jh.framework.common.pojo.CommonResult; @@ -64,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); @@ -90,19 +90,35 @@ 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); + PatientStatisticVO getBedDevReadyStatistic(Long roomId, String bedNo); + + PatientStatisticVO getBedDevInstallStatistic(Long roomId, String bedNo); + Integer recallPatient(Long roomId, String bedNo, String patId); Integer patientJump(String patId, Byte jumped ); -- Gitblit v1.9.3