From 620f391a39c447611b63c47d4fa0fee5dc05c846 Mon Sep 17 00:00:00 2001 From: zhuqing Date: Wed, 31 Aug 2022 10:25:21 +0800 Subject: [PATCH] =?UTF-8?q?pc=20export=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/web/controller/pc/TDoctorController.java | 1 + .../java/com/ruoyi/web/controller/pc/TPatientController.java | 1 + .../src/main/resources/mapper/system/TRecordMapper.xml | 5 ++++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/pc/TDoctorController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/pc/TDoctorController.java index 8f29c24..5092b3c 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/pc/TDoctorController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/pc/TDoctorController.java @@ -63,6 +63,7 @@ public class TDoctorController extends BaseController public void export(HttpServletResponse response, @RequestBody @Validated PcTDoctorQueryByPageReq pcTDoctorQueryByPageReq) { // List list = tDoctorService.selectTDoctorList(tDoctor); + startPage(); List list = tDoctorService.queryByPage(pcTDoctorQueryByPageReq); ExcelUtil util = new ExcelUtil(PcTDoctorQueryByPageResp.class); util.exportExcel(response, list, "医生信息数据"); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/pc/TPatientController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/pc/TPatientController.java index c7ed6a0..9f38757 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/pc/TPatientController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/pc/TPatientController.java @@ -62,6 +62,7 @@ public class TPatientController extends BaseController @PostMapping("/export") public void export(HttpServletResponse response, @RequestBody @Validated PcTPatintQueryByPageReq pcTPatintQueryByPageReq) { + startPage(); List list = tPatientService.queryByPage(pcTPatintQueryByPageReq); //List list = tPatientService.selectTPatientList(tPatient); ExcelUtil util = new ExcelUtil(PcTPatientQueryByPageResp.class); diff --git a/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml index c0c64e9..31eae4c 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml @@ -264,7 +264,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"