小程序消息修改

This commit is contained in:
zhangheng 2024-07-10 17:32:05 +08:00
parent 40b960951e
commit 1ab53abaae

View File

@ -345,7 +345,7 @@
LEFT JOIN patient_info pi ON spmr.patient_id = pi.id
LEFT JOIN patient_visit_record pvr ON pi.patient_visit_record_id = pvr.id
<where>
pi.del_flag = '0' AND spmr.task_create_type = 'MANUAL_CREATE'
pi.del_flag = '0'
AND spmrn.route_check_status = 'AGREE'
AND spmrn.task_type in ('PHONE_OUTBOUND','QUESTIONNAIRE_SCALE','ARTIFICIAL_FOLLOW_UP')
<if test="patientName != null and patientName != ''">