@@ -146,9 +146,10 @@
</if>
<if test="flag==0">
AND hns.id is null
+ AND hn.house_status = 1
<if test="flag==1">
- AND hns.id is not null
+ AND (hns.id is not null or hn.house_status = 2)
<if test="keyWord != null and keyWord != ''">