From f9999a69f8d61f09d9e897831919ed788036a96b Mon Sep 17 00:00:00 2001 From: yinzuomei <576302893@qq.com> Date: Mon, 21 Nov 2022 17:16:20 +0800 Subject: [PATCH] =?UTF-8?q?getDeathList=20bugfix=EF=BC=8C=E6=9D=A5?= =?UTF-8?q?=E6=BA=90=E4=BA=8E=E5=B0=8F=E5=AF=A8=E5=AD=90=E9=9C=80=E6=B1=82?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/ChangeDeathDao.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/epmet-user/epmet-user-server/src/main/resources/mapper/ChangeDeathDao.xml b/epmet-user/epmet-user-server/src/main/resources/mapper/ChangeDeathDao.xml index f0e6b117b8..1c0904951f 100644 --- a/epmet-user/epmet-user-server/src/main/resources/mapper/ChangeDeathDao.xml +++ b/epmet-user/epmet-user-server/src/main/resources/mapper/ChangeDeathDao.xml @@ -44,7 +44,10 @@ d.UPDATED_TIME FROM pli_change_death d - LEFT JOIN ic_resi_user u ON u.ID_CARD = d.ID_CARD + LEFT JOIN ic_resi_user u + ON (u.ID_CARD = d.ID_CARD + and u.DEL_FLAG='0' + and d.CUSTOMER_ID=u.CUSTOMER_ID) LEFT JOIN pli_change_welfare w ON d.ID_CARD = w.ID_CARD AND w.DEL_FLAG = '0' WHERE