@@ -25,6 +25,7 @@
LEFT JOIN park_room r on r.id = p.house_id
LEFT JOIN contract_manage c on c.id = p.contract_id
<where>
+ and p.status = 0
<if test="discIdList != null">
AND r.disc_id in
<foreach collection="discIdList" open="(" close=")" separator="," item="item">