From dbfd39cb0d15879e84d3cd3108c20dc916635392 Mon Sep 17 00:00:00 2001 From: changpengfei Date: Fri, 10 Sep 2021 13:57:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=8D=95=E4=B8=AA=E5=8C=BB?= =?UTF-8?q?=E7=94=9F=E3=80=81=E6=82=A3=E8=80=85=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/lyms/talkonlineweb/controller/DoctorController.java | 13 +++++++++++++ .../lyms/talkonlineweb/controller/PatientController.java | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/DoctorController.java b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/DoctorController.java index 89016e6..7cd624e 100644 --- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/DoctorController.java +++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/DoctorController.java @@ -210,4 +210,17 @@ public class DoctorController { lymsLogsCrudService.save(lymsLogsCrud); } + + /** + * 查询单个医生的信息 + * @param doctor + * @return + */ + @GetMapping("queryDoctor") + public BaseResponse delDoctor(LymsDoctor doctor){ + BaseResponse baseResponse=new BaseResponse(); + LymsDoctor doctor2=lymsDoctorService.getOne(Wrappers.query(doctor)); + baseResponse.setObject(doctor2); + return baseResponse; + } } diff --git a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java index 85f7b83..d3bdc21 100644 --- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java +++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java @@ -235,4 +235,17 @@ public class PatientController { return baseResponse; } + /** + * 查询单个患者信息 + * @param patientInfo + * @return + */ + @GetMapping("queryPatient") + public BaseResponse queryPatient(PatientInfo patientInfo){ + BaseResponse baseResponse=new BaseResponse(); + PatientInfo patientInfo2=patientInfoService.getOne(Wrappers.query(patientInfo)); + baseResponse.setObject(patientInfo2); + return baseResponse; + } + } -- 1.8.3.1