<iftest="callBackStatus != null and callBackStatus != ''">
<choose>
<whentest="callBackStatus == 1">
AND jzh is not null
@ -728,7 +728,7 @@
LEFT JOIN ( SELECT MasterID FROM archive_detail WHERE Source = '扫描上传' AND archive_detail.flag = '0' GROUP BY MasterID ) archive_detail ON m.id = archive_detail.MasterID
LEFT JOIN <includerefid="selectPatientIdByPrintInfo"></include> printInfoTable ON printInfoTable.patient_id = m.patient_id
where 1=1 and ArchiveState in ('64','1024')
<iftest="callBackStatus != null">
<iftest="callBackStatus != null and callBackStatus != ''">