查询记录图片时根据recordId查询

master
gongzhenkun 2 years ago
parent 72d2c0340f
commit 429ee67e12

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

Loading…
Cancel
Save