From 6a7f481d975f94984602b15c90904090f30b9b67 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期六, 12 十月 2024 10:15:17 +0800
Subject: [PATCH] 叫号分 领用叫号、安装叫号、常规叫号
---
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueService.java | 37 +++++++++++++++++--------------------
1 files changed, 17 insertions(+), 20 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 2f9de52..d9d9805 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;
@@ -19,7 +20,7 @@
*/
public interface QueueService {
- void setQueueReadyMax(Integer max);
+ void initCheckType();
void startBiz();
void closeBiz();
@@ -49,8 +50,11 @@
/**
*
*/
- void startHurryUp();
+ void startHurryUpOneBed(Long roomId, String bedNo);
+ void startHurryUpOneCheckType(Integer checkType);
+
void startBedReload();
+ void startResetRoom(Boolean needCloseBed);
MonitorInfoVO getMonitorInfo();
ErrorCode startBedOpen(Long roomId, String roomName, String bedNo);
@@ -61,15 +65,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);
/**
@@ -94,16 +89,20 @@
*/
void queue(QueueSaveReqVO queueSaveReqVO);
-
/**
- * 鎶婂尰鐢熷�欒瘖鐨勯槦鍒楀婊�
- */
- void hurryup();
-
- /**
- * 鍖荤敓鍙笅涓�浣嶆偅鑰�
+ * 甯歌妫�鏌� 鍖荤敓鍙笅涓�浣嶆偅鑰�
*/
void finishNextPatient(Long roomId, String bedNo);
+
+ /**
+ * 棰嗙敤 鍖荤敓鍙笅涓�浣嶆偅鑰�
+ */
+ void finishReceiveNextPatient(Long roomId, String bedNo);
+
+ /**
+ * 瑁呮満 鍖荤敓鍙笅涓�浣嶆偅鑰�
+ */
+ void finishInstallNextPatient(Long roomId, String bedNo);
/**
* 鍖荤敓鐪嬪畬鎮h��
@@ -117,8 +116,6 @@
Integer recallPatient(Long roomId, String bedNo, String patId);
Integer patientJump(String patId, Byte jumped );
-
- void monitorInfo();
RoomDO getDocRoomInfo(Long docId);
}
--
Gitblit v1.9.3