PC端查询患者图片错误问题修复

master
gongzhenkun 2 years ago
parent 18d835c529
commit a4aea9e70c

@ -119,9 +119,10 @@ public class TRecordController extends BaseController
return AjaxResult.error("未获取到id"); return AjaxResult.error("未获取到id");
} }
Map<String,Object> data = new HashMap<>(); Map<String,Object> data = new HashMap<>();
data.put("result", tRecordService.selectById(id)); TRecordResp tRecordResp = tRecordService.selectById(id);
data.put("result", tRecordResp);
TImage tImage = new TImage(); TImage tImage = new TImage();
tImage.setThirdId(id); tImage.setThirdId(tRecordResp.getPatientId());
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