From 299e15ecf360734f77072d9df64afcd764154501 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期一, 14 十月 2024 16:42:31 +0800 Subject: [PATCH] 常规检查 放弃功能 --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/doctor/DoctorController.java | 31 +++++++++++++++++++++++++++++-- 1 files changed, 29 insertions(+), 2 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 a67fb44..9ce1e5b 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 @@ -201,7 +201,7 @@ queueStatusList.clear(); queueStatusList.add(QueueStatusEnum.INSTALLING.getStatus()); List<QueueDO> installingQueueDOList = queueService.getBedQueueByStatus(roomId, bedNo, queueStatusList); - queueDOList.addAll( installingQueueDOList ); + queueDOList.addAll(0, installingQueueDOList ); // 杩囨护鍑� [瀹夎涓璢 鐨勶紝鍑嗗鍙彿 璇ュ伐浣嶅簲璇� 鏈�澶氬彧鏈変竴涓� [瀹夎涓璢 if (installingQueueDOList.size() > 0) { @@ -305,7 +305,7 @@ queueStatusList.clear(); queueStatusList.add(QueueStatusEnum.INSTALLING.getStatus()); - queueDOList.addAll( queueService.getBedQueueByStatus(roomId, bedNo, queueStatusList) ); + queueDOList.addAll(0, queueService.getBedQueueByStatus(roomId, bedNo, queueStatusList) ); return success(BeanUtils.toBean(queueDOList, QueueRespVO.class)); } @@ -322,6 +322,33 @@ return success(patientStatisticVO); } + @GetMapping("/get-dev-ready-statistic") + @Operation(summary = "璁惧棰嗙敤缁熻") + @Parameter(name = "roomId", description = "璇婂缂栧彿", required = true, example = "116") + @Parameter(name = "bedNo", description = "宸ヤ綅缂栧彿", required = true, example = "B2") + @PreAuthorize("@ss.hasPermission('ecg:doctor:task')") + public CommonResult<PatientStatisticVO> getDevReadyStatistic( + @RequestParam("roomId") Long roomId, + @RequestParam("bedNo") String bedNo) + { + PatientStatisticVO patientStatisticVO = queueService.getBedDevReadyStatistic(roomId, bedNo); + return success(patientStatisticVO); + } + + + @GetMapping("/get-dev-install-statistic") + @Operation(summary = "璁惧瑁呮満缁熻") + @Parameter(name = "roomId", description = "璇婂缂栧彿", required = true, example = "116") + @Parameter(name = "bedNo", description = "宸ヤ綅缂栧彿", required = true, example = "B2") + @PreAuthorize("@ss.hasPermission('ecg:doctor:task')") + public CommonResult<PatientStatisticVO> getDevInstallStatistic( + @RequestParam("roomId") Long roomId, + @RequestParam("bedNo") String bedNo) + { + PatientStatisticVO patientStatisticVO = queueService.getBedDevInstallStatistic(roomId, bedNo); + return success(patientStatisticVO); + } + @GetMapping("/recall-patient") @Operation(summary = "杩囧彿鐥呬汉鍙洖") @Parameter(name = "roomId", description = "璇婂缂栧彿", required = true, example = "116") -- Gitblit v1.9.3