diff --git a/mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml b/mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml index 660836a94..35de11c19 100644 --- a/mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml @@ -175,7 +175,7 @@ select rc.*,s.shop_number from wx_rent_contract rc inner join wx_shop s on rc.shop_id=s.id where rc.status not in(1,5,6,7) and rc.tenant_id=#{tenantId} and rc.id not in (select pc.rent_contract_id from ( - select rent_contract_id from wx_property_contract where status not in(1,5,6,7) and tenant_id=#{tenantId} + select rent_contract_id from wx_property_contract where status not in(5,6,7) and tenant_id=#{tenantId} ) pc) and rent_shop_type = #{rentShopType}