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 ab6c234..5931581 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 @@ -125,7 +125,7 @@ public class TRecordController extends BaseController TRecordResp tRecordResp = tRecordService.selectById(id); data.put("result", tRecordResp); TImage tImage = new TImage(); - tImage.setThirdId(tRecordResp.getPatientId()); + tImage.setThirdId(id); List images = imageService.selectTImageList(tImage); data.put("image", images); return AjaxResult.success(data);