diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java index e4cc6c4..d80585c 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java @@ -269,4 +269,12 @@ public class AppController extends BaseController return AjaxResult.success(tPatientService.selectTPatientById(getUserId())); } + @GetMapping("/patient/historyData") + @ApiOperation("查询患者历史数据图表") + public AjaxResult getHistoryRecordList(TRecordResultReq tRecordResultReq){ + TRecord tRecord = new TRecord(); + BeanUtils.copyProperties(tRecordResultReq, tRecord); + return tRecordService.getHistoryList(tRecord); + } + }