|
@@ -470,11 +470,15 @@
|
|
|
d.is_reject
|
|
|
FROM
|
|
|
med_behospital_info a,
|
|
|
+ med_qcresult_info c,
|
|
|
med_qcresult_detail d
|
|
|
WHERE
|
|
|
a.is_deleted = 'N'
|
|
|
+ AND c.is_deleted = 'N'
|
|
|
AND d.is_deleted = 'N'
|
|
|
+ AND a.hospital_id = c.hospital_id
|
|
|
AND a.hospital_id = d.hospital_id
|
|
|
+ AND a.behospital_code = c.behospital_code
|
|
|
AND a.behospital_code = d.behospital_code
|
|
|
<if test="filterPageVO.isPlacefile != null and filterPageVO.isPlacefile != ''">
|
|
|
and a.is_placefile = #{filterPageVO.isPlacefile}
|