导入修改

This commit is contained in:
zhangheng 2024-12-30 13:16:23 +08:00
parent 36f54934e3
commit 52abc1d365

View File

@ -873,13 +873,13 @@
patient_phone,
create_time
from patient_info
<where>
(patient_name, patient_phone) IN
<foreach item="list" index="index" collection="list" open="(" separator="," close=")">
(#{list.patientName}, #{list.patientPhone})
</foreach>
AND date_format(create_time,'%y%m%d') = date_format(#{nowDate},'%y%m%d')
</where>
where
del_flag = 0
and (patient_name, patient_phone) IN
<foreach item="list" index="index" collection="list" open="(" separator="," close=")">
(#{list.patientName}, #{list.patientPhone})
</foreach>
AND date_format(create_time,'%y%m%d') = date_format(#{nowDate},'%y%m%d')
</select>
<insert id="insertPatientInfoList" useGeneratedKeys="true" keyProperty="id">