获取患者记录详情

master
chenfei 2 years ago
parent f4dea8df30
commit f633ee875d

@ -105,5 +105,11 @@ public class TRecordController extends BaseController
return toAjax(tRecordService.deleteTRecordByIds(ids)); return toAjax(tRecordService.deleteTRecordByIds(ids));
} }
@GetMapping("getInfo/{id}")
public AjaxResult getInfoById(@PathVariable("id") Long id){
if(id == null){
return AjaxResult.error("未获取到id");
}
return AjaxResult.success(tRecordService.selectTById(id));
}
} }

Loading…
Cancel
Save