@@ -385,7 +385,7 @@
, vi.house_type, vi.update_by, vi.code, vi.rlr, vi.yhzgx
from czrk vi
<!--把户主放第一位-->
- where vi.is_del = 'N' and code = #{code} order by house_type desc
+ where vi.is_del = 'N' and vi.code = #{code} and vi.status = '1' order by house_type desc
</select>
<select id="listByCodeSynchronization" resultMap="CzrkResult">
@@ -395,7 +395,7 @@
vi.now_in, vi.code