|
@@ -5136,10 +5136,11 @@
|
|
|
AND a.behospital_code = b.behospital_code
|
|
|
AND a.behospital_code = c.behospital_code
|
|
|
AND a.qc_type_id != 0
|
|
|
+ AND ifnull(c.`status`,0) = 1
|
|
|
+ AND c.check_type = 0
|
|
|
<if test="isPlacefile != null and isPlacefile != ''">
|
|
|
and a.is_placefile = #{isPlacefile}
|
|
|
</if>
|
|
|
- AND ifnull(c.`status`,0) = 1
|
|
|
<if test="hospitalId != null and hospitalId != ''">
|
|
|
AND a.hospital_id = #{hospitalId}
|
|
|
</if>
|