From 22b0761897d0959d0a3dc34c68efc27705b17526 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 09 十月 2024 17:10:00 +0800 Subject: [PATCH] 1. 根据检查类型,配置 准备中 人数 2. 医生入座,才允许 患者 进入 准备中 --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueService.java | 22 +++++----------------- 1 files changed, 5 insertions(+), 17 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 4d3db85..d0e9913 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,6 +2,7 @@ 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; @@ -10,6 +11,7 @@ import cn.lihu.jh.module.ecg.controller.admin.room.vo.RoomRespVO; import cn.lihu.jh.module.ecg.dal.dataobject.queue.QueueDO; import cn.lihu.jh.framework.common.pojo.PageResult; +import cn.lihu.jh.module.ecg.dal.dataobject.room.RoomDO; /** * 鎺掗槦 Service 鎺ュ彛 @@ -18,7 +20,7 @@ */ public interface QueueService { - void setQueueReadyMax(Integer max); + void setCheckTypeReadyMax(Map<Integer, Integer> max); void startBiz(); void closeBiz(); @@ -50,6 +52,7 @@ */ void startHurryUp(); void startBedReload(); + void startResetRoom(Boolean needCloseBed); MonitorInfoVO getMonitorInfo(); ErrorCode startBedOpen(Long roomId, String roomName, String bedNo); @@ -60,15 +63,6 @@ ErrorCode startBedDoctorOff(Long roomId, String bedNo, Long docId, String docName); ErrorCode startNextPatient(Long roomId, String bedNo); - ErrorCode bedOpen(Long roomId, String roomName, String bedNo); - ErrorCode bedClose(Long roomId, String bedNo); - ErrorCode bedDoctorPause(Long roomId, String bedNo, Long docId, String docName); - ErrorCode bedDoctorResume(Long roomId, String bedNo, Long docId, String docName); - ErrorCode bedDoctorOn(Long roomId, String bedNo, Long docId, String docName); - ErrorCode bedDoctorOff(Long roomId, String bedNo, Long docId, String docName); - ErrorCode nextPatient(Long roomId, String bedNo); - - ErrorCode bedReload(); CommonResult<RoomRespVO> getRoom(Long roomId, String bedNo, Long docId); /** @@ -93,12 +87,6 @@ */ void queue(QueueSaveReqVO queueSaveReqVO); - - /** - * 鎶婂尰鐢熷�欒瘖鐨勯槦鍒楀婊� - */ - void hurryup(); - /** * 鍖荤敓鍙笅涓�浣嶆偅鑰� */ @@ -117,5 +105,5 @@ Integer patientJump(String patId, Byte jumped ); - void monitorInfo(); + RoomDO getDocRoomInfo(Long docId); } -- Gitblit v1.9.3