From e662e360c70c53fc342ee6d3db485866615d8782 Mon Sep 17 00:00:00 2001 From: shiyang <316555390@qq.com> Date: Tue, 17 May 2022 12:20:09 +0800 Subject: [PATCH] =?UTF-8?q?his=E6=82=A3=E8=80=85=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E7=BB=994=E5=BC=A0=E9=97=AE=E8=AF=8A?= =?UTF-8?q?=E5=8D=A1,=E4=BF=AE=E5=A4=8D=E5=85=B3=E6=B3=A8=E6=82=A3?= =?UTF-8?q?=E8=80=85=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/lyms/talkonlineweb/controller/PatientController.java | 2 +- .../com/lyms/talkonlineweb/service/impl/LymsHisInfoServiceImpl.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 ca02c24..26b4155 100644 --- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java +++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java @@ -979,7 +979,7 @@ public class PatientController { Iterator iterator = result.iterator(); while (iterator .hasNext()) { Map map= iterator.next(); - if(map.get("id")==patient.getId()){ + if(map.get("id").equals(patient.getId())){ iterator.remove(); continue; } diff --git a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/service/impl/LymsHisInfoServiceImpl.java b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/service/impl/LymsHisInfoServiceImpl.java index ac9d650..b27ff1d 100644 --- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/service/impl/LymsHisInfoServiceImpl.java +++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/service/impl/LymsHisInfoServiceImpl.java @@ -269,8 +269,8 @@ public class LymsHisInfoServiceImpl extends ServiceImpl