From e2efe712d2dc6593a03f71c6213f63a04437c3e7 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 20 九月 2024 16:04:10 +0800
Subject: [PATCH] 显示设备详情
---
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/callingscreen/CallingScreenServiceImpl.java | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/callingscreen/CallingScreenServiceImpl.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/callingscreen/CallingScreenServiceImpl.java
index 8815e4d..6c1cc20 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/callingscreen/CallingScreenServiceImpl.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/callingscreen/CallingScreenServiceImpl.java
@@ -61,7 +61,7 @@
if (listWaiting.size() < bigScreenConfig.waitingSize) {
waitingFrom = 0;
} else {
- waitingFrom = listWaiting.getLast().getId();
+ waitingFrom = listWaiting.getLast().getId() + 1;
}
queueStatusList.clear();
@@ -97,15 +97,6 @@
Long roomId = optionalQueueDO.get().getRoomId();
List<QueueDO> queueDOList = queueMapper.getRoomQueueByStatus(roomId, statusList);
return queueDOList;
- }
-
- @Override
- public ErrorCode markCalled(String patientId) {
- Integer rowNum = queueMapper.markCalled(patientId);
- if (rowNum == 1)
- return GlobalErrorCodeConstants.SUCCESS;
-
- return PATIENT_NOT_EXISTS;
}
}
--
Gitblit v1.9.3