diff --git a/mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml b/mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml index 07949b68d..163eaa2a0 100644 --- a/mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml @@ -390,7 +390,7 @@ and rc.`parent_tenant_id` = #{parentTenantId} 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 and `tenant_id` = #{tenantId}