From a5a95203b21daf91d1c0fe81ad28a0a23ad68cc3 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 13 十一月 2024 16:40:07 +0800 Subject: [PATCH] 防止 同诊室 同时点 安装-召回 --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueService.java | 24 ++++++++++++++++++++---- 1 files changed, 20 insertions(+), 4 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 73ea58f..fc8277f 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 @@ -63,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); @@ -104,19 +105,34 @@ void finishInstallNextPatient(Long roomId, String bedNo); /** - * 鍖荤敓鐪嬪畬鎮h�� + * 甯歌杩囧彿銆侀鐢ㄨ繃鍙� */ void passNextPatient(Long roomId, String bedNo); - List<QueueDO> getBedQueueByStatus(Long roomId, String bedNo, List<Byte> statusList); + /** + * 瑁呮満杩囧彿 + */ + void passInstallNextPatient(Long roomId, String bedNo); - List<QueueDO> getRoomQueueByStatus(Long roomId, List<Byte> statusList); + List<QueueDO> getBedQueueByStatus(Long roomId, String bedNo, List<Integer> statusList); + + List<QueueDO> getRoomQueueByStatus(Long roomId, List<Integer> statusList); PatientStatisticVO getPatientStatistic(Long roomId, String bedNo); - Integer recallPatient(Long roomId, String bedNo, String patId); + PatientStatisticVO getBedDevReadyStatistic(Long roomId, String bedNo); + + PatientStatisticVO getBedDevInstallStatistic(Long roomId, String bedNo); + + Integer recallPatient(Long roomId, String bedNo, String patId, Integer checkType); + + Integer recallInstallPatient(Long roomId, String bedNo, String patId, Integer checkType, String bedNo_operator); Integer patientJump(String patId, Byte jumped ); RoomDO getDocRoomInfo(Long docId); + + List<QueueDO> getToBeCheckedPatient(Long roomId, String bedNo); + + List<QueueDO> getToBeInstalledPatient(Long roomId, String bedNo); } -- Gitblit v1.9.3