From a4aea9e70cbfe62c246dce32d918da928bc50dc6 Mon Sep 17 00:00:00 2001 From: gongzhenkun <1658878546@qq.com> Date: Wed, 7 Sep 2022 19:26:35 +0800 Subject: [PATCH] =?UTF-8?q?PC=E7=AB=AF=E6=9F=A5=E8=AF=A2=E6=82=A3=E8=80=85?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/web/controller/pc/TRecordController.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/pc/TRecordController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/pc/TRecordController.java index 39e771c..c642852 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/pc/TRecordController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/pc/TRecordController.java @@ -119,9 +119,10 @@ public class TRecordController extends BaseController return AjaxResult.error("未获取到id"); } Map data = new HashMap<>(); - data.put("result", tRecordService.selectById(id)); + TRecordResp tRecordResp = tRecordService.selectById(id); + data.put("result", tRecordResp); TImage tImage = new TImage(); - tImage.setThirdId(id); + tImage.setThirdId(tRecordResp.getPatientId()); List images = imageService.selectTImageList(tImage); data.put("image", images); return AjaxResult.success(data);