From 14cf3f65196ced2649c2e86fa2b99eb118bb41f3 Mon Sep 17 00:00:00 2001 From: changpengfei Date: Wed, 15 Sep 2021 10:41:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E7=AE=A1=E7=90=86=E7=BE=A4?= =?UTF-8?q?=E7=BB=84=E8=8E=B7=E5=8F=96=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/ChatGroupController.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/ChatGroupController.java b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/ChatGroupController.java index 6f327c3..6f314e7 100644 --- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/ChatGroupController.java +++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/ChatGroupController.java @@ -42,6 +42,9 @@ public class ChatGroupController { @Autowired private LymsTcardService lymsTcardService; + @Autowired + private LymsPatientService lymsPatientService; + /** * 添加或删除聊天组 * @@ -96,10 +99,9 @@ public class ChatGroupController { LymsDoctor doctor = new LymsDoctor(); doctor = lymsDoctorService.getOne(Wrappers.query(doctor).eq("dlogin", chatgroup.getTarget())); - PatientInfo patientInfo = new PatientInfo(); - patientInfo.setDid(doctor.getDpid()); - patientInfo.setIdno(chatgroup.getFromp()); - List pLst = patientInfoService.list(Wrappers.query(patientInfo)); + LymsPatient patient = new LymsPatient(); + patient.setIdno(chatgroup.getFromp()); + List pLst = lymsPatientService.list(Wrappers.query(patient)); conDocCode(doctor); rs.put("doctor", doctor); rs.put("patient", pLst); -- 1.8.3.1