From db1ad1b67a55f005baea15a6d640df370a6c74a9 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 09 四月 2025 08:39:04 +0800 Subject: [PATCH] 工位分流控制信息 设置逻辑调整 --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueService.java | 40 +++++++++++++++++++++++++++++++++------- 1 files changed, 33 insertions(+), 7 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 d9d9805..0f5fcb1 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; @@ -48,7 +47,7 @@ void deletequeue(Integer id); /** - * + * 涓�涓伐浣� 鍙兘鏀寔澶氫釜妫�鏌ョ被鍨嬶紝 */ void startHurryUpOneBed(Long roomId, String bedNo); void startHurryUpOneCheckType(Integer checkType); @@ -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); @@ -89,6 +89,8 @@ */ void queue(QueueSaveReqVO queueSaveReqVO); + List<QueueDO> selectBookSeqNumByAppointIdList(List<Long> appointIdList); + /** * 甯歌妫�鏌� 鍖荤敓鍙笅涓�浣嶆偅鑰� */ @@ -105,17 +107,41 @@ void finishInstallNextPatient(Long roomId, String bedNo); /** - * 鍖荤敓鐪嬪畬鎮h�� + * 杩囧彿鎺掗槦涓偅鑰� + */ + void passWaitingPatient( String patId, Integer bookCheckType ); + + /** + * 甯歌杩囧彿銆侀鐢ㄨ繃鍙� */ void passNextPatient(Long roomId, String bedNo); - List<QueueDO> getDoctorQueueByStatus(Long roomId, String bedNo, List<Byte> statusList); + /** + * 瑁呮満杩囧彿 + */ + void passInstallNextPatient(Long roomId, String bedNo); + + 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); - Integer patientJump(String patId, Byte jumped ); + PatientStatisticVO getBedDevInstallStatistic(Long roomId, String bedNo); - RoomDO getDocRoomInfo(Long docId); + Integer recallPassWaitingPatient(String patId, Integer checkType); + + Integer recallPatient(Long roomId, String bedNo, String patId, Integer checkType); + + Integer recallInstallPatient(Long roomId, String bedNo, String patId, Integer checkType, Long roomId_operator, String bedNo_operator); + + Integer patientJump(String patId, Integer bookCheckType, Byte jumped ); + + List<RoomDO> getDocRoomInfo(Long docId); + + List<QueueDO> getCheckRelatedPatient(Long roomId, String bedNo); + + List<QueueDO> getInstallRelatedPatient(Long roomId, String bedNo); } -- Gitblit v1.9.3