From 029c3afcc788e64b484f6b87ce385973ff9a65a4 Mon Sep 17 00:00:00 2001 From: gongzhenkun <1658878546@qq.com> Date: Fri, 11 Nov 2022 16:10:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=82=A3=E8=80=85=E8=AF=8A=E6=96=AD=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=8E=86=E5=8F=B2=E5=88=97=E8=A1=A8=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/web/controller/api/AppController.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java index cf63389..9e8e296 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java @@ -338,12 +338,13 @@ public class AppController extends BaseController * @return {@code AjaxResult} */ @ApiOperation("患者诊断记录历史列表") - @GetMapping("/record/list/{patientId}") + @GetMapping("/record/list/{patientId}/{hospitalId}") @Log(title = "患者诊断记录历史列表", businessType = BusinessType.OTHER) - public AjaxResult diagnosisOfRecordList(@PathVariable("patientId") Long patientId) + public AjaxResult diagnosisOfRecordList(@PathVariable("patientId") Long patientId, @PathVariable("hospitalId") Long hospitalId) { TPatientHospitalDoctor tPatientHospitalDoctor = new TPatientHospitalDoctor(); tPatientHospitalDoctor.setPatientId(patientId); + tPatientHospitalDoctor.setHospitalId(hospitalId); List tRecords = tRecordService.queryRecordListByPHDids(tPatientHospitalDoctor); List tRecordResps = tRecords.stream().filter(record -> "1".equals(record.getStatus())).collect(Collectors.toList()); if (tRecordResps.isEmpty()) {