|
|
|
@@ -390,7 +390,7 @@ |
|
|
|
and rc.`parent_tenant_id` = #{parentTenantId} |
|
|
|
</if> |
|
|
|
and rc.id not in (select pc.rent_contract_id from ( |
|
|
|
select rent_contract_id from wx_property_contract where 1=1 |
|
|
|
select rent_contract_id from wx_property_contract where 1=1 and `status`!=6 |
|
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
|
and `tenant_id` = #{tenantId} |
|
|
|
</if> |
|
|
|
|