From d1084fabe5eddfc8a28ec7e305155e65ad799ace Mon Sep 17 00:00:00 2001 From: gongzhenkun <1658878546@qq.com> Date: Tue, 9 Aug 2022 17:33:11 +0800 Subject: [PATCH] =?UTF-8?q?app=E8=AF=8A=E6=96=AD=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E8=BF=94=E5=9B=9E=E5=80=BC=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ruoyi/web/controller/api/AppController.java | 3 ++- .../src/main/java/com/ruoyi/system/mapper/TRecordMapper.java | 2 +- .../main/java/com/ruoyi/system/service/ITRecordService.java | 2 +- .../java/com/ruoyi/system/service/impl/TRecordServiceImpl.java | 2 +- .../src/main/resources/mapper/system/TRecordMapper.xml | 2 +- 5 files changed, 6 insertions(+), 5 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 4b8696e..e0fdd27 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 @@ -8,6 +8,7 @@ import com.ruoyi.system.domain.req.AppPatientHospitalDoctor; import com.ruoyi.system.domain.req.AppPatientReq; import com.ruoyi.system.domain.req.AppRecordReq; import com.ruoyi.system.domain.req.TRecordResultReq; +import com.ruoyi.system.domain.resp.TRecordResp; import com.ruoyi.system.service.*; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; @@ -199,7 +200,7 @@ public class AppController extends BaseController public AjaxResult diagnosisOfRecordList(AppPatientHospitalDoctor appPatientHospitalDoctor) { TPatientHospitalDoctor tPatientHospitalDoctor = new TPatientHospitalDoctor(); BeanUtils.copyProperties(appPatientHospitalDoctor, tPatientHospitalDoctor); - List tRecords = tRecordService.queryRecordListByPHDids(tPatientHospitalDoctor); + List tRecords = tRecordService.queryRecordListByPHDids(tPatientHospitalDoctor); return AjaxResult.success(tRecords); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TRecordMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TRecordMapper.java index 20b4152..01f05db 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TRecordMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TRecordMapper.java @@ -120,5 +120,5 @@ public interface TRecordMapper * @param tPatientHospitalDoctor t病人医院医生 * @return {@code List} */ - public List queryRecordListByPHDids(TPatientHospitalDoctor tPatientHospitalDoctor); + public List queryRecordListByPHDids(TPatientHospitalDoctor tPatientHospitalDoctor); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ITRecordService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ITRecordService.java index 8512ded..20a2387 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ITRecordService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ITRecordService.java @@ -85,5 +85,5 @@ public interface ITRecordService * @param tPatientHospitalDoctor t病人医院医生 * @return {@code List} */ - public List queryRecordListByPHDids(TPatientHospitalDoctor tPatientHospitalDoctor); + public List queryRecordListByPHDids(TPatientHospitalDoctor tPatientHospitalDoctor); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TRecordServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TRecordServiceImpl.java index 658960d..44d5ead 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TRecordServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TRecordServiceImpl.java @@ -110,7 +110,7 @@ public class TRecordServiceImpl implements ITRecordService } @Override - public List queryRecordListByPHDids(TPatientHospitalDoctor tPatientHospitalDoctor) + public List queryRecordListByPHDids(TPatientHospitalDoctor tPatientHospitalDoctor) { return tRecordMapper.queryRecordListByPHDids(tPatientHospitalDoctor); } diff --git a/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml index a27682c..220e61d 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml @@ -257,7 +257,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where id = #{id} - and patient_id = #{patientId}