修改出院浏览非管理员查询缺陷

master
zengwh 4 years ago
parent 6a087f0025
commit 8cda09f0c7

@ -665,13 +665,20 @@
'是'
ELSE
'否'
END callBackStatus
END callBackStatus,
CASE
WHEN printInfoTable.patient_id IS NOT NULL THEN
'是'
ELSE
'否'
END printStatus
from
archive_transfer_dept_user
inner join
archive_master
on
archive_master.id = archive_transfer_dept_user.master_id
LEFT JOIN <include refid="selectPatientIdByPrintInfo"></include> printInfoTable ON printInfoTable.patient_id = archive_master.patient_id
LEFT JOIN <include refid="selectCallBackList"></include> archive_other_ext ON archive_master.patient_id = archive_other_ext.jzh
where user_name = #{userName}
<include refid="leaveHospitalCommomSearch"></include>

Loading…
Cancel
Save