@@ -114,6 +114,7 @@
left JOIN biz_infusion_clinic bic ON bih.id = bic.infusion_id
left JOIN biz_clinic_room bcr ON bic.clinic_id = bcr.id
<where>
+ and bcr.deleted = 0
<if test="query.deviceType != null and query.deviceType != ''">
and bih.device_type = #{query.deviceType}
</if>