From 1390394266feb6b162ee3bb81ab26adc7b948fe8 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 08 四月 2025 09:35:24 +0800
Subject: [PATCH] just rename
---
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/doctor/DoctorController.java | 14 +++++++-------
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueServiceImpl.java | 4 ++--
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueService.java | 4 ++--
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/doctor/DoctorController.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/doctor/DoctorController.java
index e89911a..5ff5641 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/doctor/DoctorController.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/doctor/DoctorController.java
@@ -135,7 +135,7 @@
{
queueService.finishNextPatient(roomId, bedNo);
- List<QueueDO> queueDOList = queueService.getToBeCheckedPatient(roomId, bedNo);
+ List<QueueDO> queueDOList = queueService.getCheckRelatedPatient(roomId, bedNo);
// 杩囨护鍑� 灏辫瘖涓殑锛屽噯澶囧彨鍙�
QueueDO onStageItem = queueDOList.stream().filter(item ->
@@ -161,7 +161,7 @@
{
queueService.finishReceiveNextPatient(roomId, bedNo);
- List<QueueDO> queueDOList = queueService.getToBeCheckedPatient(roomId, bedNo);
+ List<QueueDO> queueDOList = queueService.getCheckRelatedPatient(roomId, bedNo);
// 杩囨护鍑� 灏辫瘖涓殑锛屽噯澶囧彨鍙�
QueueDO onStageItem = queueDOList.stream().filter(item ->
@@ -187,7 +187,7 @@
{
queueService.finishInstallNextPatient(roomId, bedNo);
- List<QueueDO> queueDOList = queueService.getToBeInstalledPatient(roomId, bedNo); // 寰呭畨瑁呯殑鎮h��
+ List<QueueDO> queueDOList = queueService.getInstallRelatedPatient(roomId, bedNo); // 寰呭畨瑁呯殑鎮h��
List<QueueDO> installingQueueDOList = queueDOList.stream().filter(queueDO ->
queueDO.getStatus() == QueueStatusEnum.INSTALLING.getStatus() && queueDO.getAffinityItem() == 0
@@ -230,7 +230,7 @@
{
queueService.passNextPatient(roomId, bedNo);
- List<QueueDO> queueDOList = queueService.getToBeCheckedPatient(roomId, bedNo);
+ List<QueueDO> queueDOList = queueService.getCheckRelatedPatient(roomId, bedNo);
// 杩囨护鍑� 灏辫瘖涓殑锛屽噯澶囧彨鍙�
QueueDO onStageItem = queueDOList.stream().filter(item -> Objects.equals(item.getStatus(), QueueStatusEnum.ONSTAGE.getStatus())).findFirst().orElse(null);
@@ -254,7 +254,7 @@
{
queueService.passInstallNextPatient(roomId, bedNo);
- List<QueueDO> queueDOList = queueService.getToBeInstalledPatient(roomId, bedNo);
+ List<QueueDO> queueDOList = queueService.getInstallRelatedPatient(roomId, bedNo);
List<QueueDO> installingQueueDOList = queueDOList.stream().filter(queueDO -> queueDO.getStatus() == QueueStatusEnum.INSTALLING.getStatus()).toList();
// 杩囨护鍑� [瀹夎涓璢 鐨勶紝鍑嗗鍙彿 璇ュ伐浣嶅簲璇� 鏈�澶氬彧鏈変竴涓� [瀹夎涓璢
@@ -338,7 +338,7 @@
@RequestParam("roomId") Long roomId,
@RequestParam("bedNo") String bedNo)
{
- List<QueueDO> queueDOList = queueService.getToBeCheckedPatient(roomId, bedNo);
+ List<QueueDO> queueDOList = queueService.getCheckRelatedPatient(roomId, bedNo);
return success(BeanUtils.toBean(queueDOList, QueueRespVO.class));
}
@@ -351,7 +351,7 @@
@RequestParam("roomId") Long roomId,
@RequestParam("bedNo") String bedNo)
{
- List<QueueDO> queueDOList = queueService.getToBeInstalledPatient(roomId, bedNo);
+ List<QueueDO> queueDOList = queueService.getInstallRelatedPatient(roomId, bedNo);
return success(BeanUtils.toBean(queueDOList, QueueRespVO.class));
}
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 1a973c1..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
@@ -141,7 +141,7 @@
List<RoomDO> getDocRoomInfo(Long docId);
- List<QueueDO> getToBeCheckedPatient(Long roomId, String bedNo);
+ List<QueueDO> getCheckRelatedPatient(Long roomId, String bedNo);
- List<QueueDO> getToBeInstalledPatient(Long roomId, String bedNo);
+ List<QueueDO> getInstallRelatedPatient(Long roomId, String bedNo);
}
diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueServiceImpl.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueServiceImpl.java
index ba66599..bfb2b81 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueServiceImpl.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueServiceImpl.java
@@ -590,7 +590,7 @@
* @return
*/
@Override
- public List<QueueDO> getToBeCheckedPatient(Long roomId, String bedNo) {
+ public List<QueueDO> getCheckRelatedPatient(Long roomId, String bedNo) {
List<Integer> queueStatusList = new ArrayList<>();
queueStatusList.add(QueueStatusEnum.RECALLED.getStatus());
queueStatusList.add(QueueStatusEnum.READY.getStatus());
@@ -628,7 +628,7 @@
* @return
*/
@Override
- public List<QueueDO> getToBeInstalledPatient(Long roomId, String bedNo) {
+ public List<QueueDO> getInstallRelatedPatient(Long roomId, String bedNo) {
List<Integer> queueStatusList = new ArrayList<>();
queueStatusList.add(QueueStatusEnum.RECEIVED.getStatus());
queueStatusList.add(QueueStatusEnum.PASSED_INSTALL.getStatus());
--
Gitblit v1.9.3