导入修改

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