From fcbd10a10b3dc2c7c75601ad51b7afa543b89111 Mon Sep 17 00:00:00 2001 From: shiyang Date: Sat, 25 Sep 2021 14:28:58 +0800 Subject: [PATCH] update --- .../main/java/com/lyms/talkonlineweb/controller/PatientController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c4784f0..5c3e089 100644 --- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java +++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java @@ -686,7 +686,7 @@ public class PatientController { public BaseResponse getPatientByIdno(String idno){ BaseResponse baseResponse=new BaseResponse(); try { - LymsPatient patient=lymsPatientService.getOne(new QueryWrapper().eq("idno", idno)); + PatientInfo patient=patientInfoService.getOne(new QueryWrapper().eq("idno", idno)); baseResponse.setObject(null==patient?null:patient); baseResponse.setErrormsg("成功"); } catch (Exception e) { -- 1.8.3.1