From 52abc1d365f8bb46fe87c1f0596a94301aaa8717 Mon Sep 17 00:00:00 2001
From: zhangheng <3226558941@qq.com>
Date: Mon, 30 Dec 2024 13:16:23 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../manage/patientinfo/PatientInfoMapper.xml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/postdischarge-manage/src/main/resources/mapper/manage/patientinfo/PatientInfoMapper.xml b/postdischarge-manage/src/main/resources/mapper/manage/patientinfo/PatientInfoMapper.xml
index 5e392cb3..af8e959d 100644
--- a/postdischarge-manage/src/main/resources/mapper/manage/patientinfo/PatientInfoMapper.xml
+++ b/postdischarge-manage/src/main/resources/mapper/manage/patientinfo/PatientInfoMapper.xml
@@ -873,13 +873,13 @@
patient_phone,
create_time
from patient_info
-
- (patient_name, patient_phone) IN
-
- (#{list.patientName}, #{list.patientPhone})
-
- AND date_format(create_time,'%y%m%d') = date_format(#{nowDate},'%y%m%d')
-
+ where
+ del_flag = 0
+ and (patient_name, patient_phone) IN
+
+ (#{list.patientName}, #{list.patientPhone})
+
+ AND date_format(create_time,'%y%m%d') = date_format(#{nowDate},'%y%m%d')