From 3a89e0d94e8ef6d4590f0de67bb75f95d84a81ee Mon Sep 17 00:00:00 2001 From: chenfei <18955928961@163.com> Date: Thu, 11 Aug 2022 08:54:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=B2=E8=AF=8A=E5=92=8C=E5=92=8C=E5=80=99?= =?UTF-8?q?=E8=AF=8A=E5=88=97=E8=A1=A8=E5=8A=A0=E5=88=86=E9=A1=B5=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/web/controller/api/AppController.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 8b9db6d..a0754c6 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 @@ -3,6 +3,7 @@ package com.ruoyi.web.controller.api; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.page.TableDataInfo; import com.ruoyi.common.enums.BusinessType; import com.ruoyi.system.domain.THospital; import com.ruoyi.system.domain.TPatient; @@ -238,10 +239,10 @@ public class AppController extends BaseController */ @ApiOperation("患者已诊列表") @GetMapping("/record/diagnosedList") - public AjaxResult patientsDiagnosedList(TRecordResultReq recordResultReq) { + public TableDataInfo patientsDiagnosedList(TRecordResultReq recordResultReq) { recordResultReq.setStatus("1"); startPage(); - return AjaxResult.success(tRecordService.selectTRecordListWithoutResult(recordResultReq)); + return getDataTable(tRecordService.selectTRecordListWithoutResult(recordResultReq)); } /** @@ -252,10 +253,10 @@ public class AppController extends BaseController */ @ApiOperation("患者候诊列表") @GetMapping("/record/waitingList") - public AjaxResult patientsWaitingList(TRecordResultReq recordResultReq) { + public TableDataInfo patientsWaitingList(TRecordResultReq recordResultReq) { recordResultReq.setStatus("0"); startPage(); - return AjaxResult.success(tRecordService.selectTRecordListWithoutResult(recordResultReq)); + return getDataTable(tRecordService.selectTRecordListWithoutResult(recordResultReq)); } @ApiOperation("获取患者详细信息")