@@ -3731,7 +3731,9 @@
med_behospital_info tt2
WHERE
tt2.is_deleted = 'N'
- AND tt2.is_placefile = 1
+ <if test="isPlacefile != null and isPlacefile != ''">
+ and tt2.is_placefile = #{isPlacefile}
+ </if>
AND tt2.qc_type_id != 0
AND tt1.file_code = tt2.file_code
AND tt1.diagnose = tt2.diagnose