@@ -3798,7 +3798,7 @@
</if>
) t1 LEFT JOIN med_qcresult_cases e
on t1.behospitalCode = e.behospital_code
- and t1.hospital_id = e.hospital_id
+ and t1.hospitalId = e.hospital_id
AND e.is_deleted = 'N'
and e.cases_id = 243,
(