| @@ -210,7 +210,7 @@ | |||||
| <select id="getRentContractListByShop" parameterType="hashmap" resultType="com.iformall.domain.po.WxRentContract"> | <select id="getRentContractListByShop" parameterType="hashmap" resultType="com.iformall.domain.po.WxRentContract"> | ||||
| select rc.* from wx_rent_contract rc | select rc.* from wx_rent_contract rc | ||||
| where rc.status not in(0,1,5,6,7) and rc.tenant_id=#{tenantId} | |||||
| where rc.status not in(0,1,5,6,7,8) and rc.tenant_id=#{tenantId} | |||||
| and rc.id not in (select pc.rent_contract_id from ( | and rc.id not in (select pc.rent_contract_id from ( | ||||
| select rent_contract_id from wx_property_contract where status not in(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) | ) pc) | ||||
| @@ -220,7 +220,7 @@ | |||||
| <select id="getRentContractListByPoint" parameterType="hashmap" resultType="com.iformall.domain.po.WxRentContract"> | <select id="getRentContractListByPoint" parameterType="hashmap" resultType="com.iformall.domain.po.WxRentContract"> | ||||
| select rc.*,s.shop_number from wx_rent_contract rc | select rc.*,s.shop_number from wx_rent_contract rc | ||||
| inner join wx_shop s on rc.shop_id=s.id | inner join wx_shop s on rc.shop_id=s.id | ||||
| where rc.status not in(0,1,5,6,7) and rc.tenant_id=#{tenantId} | |||||
| where rc.status not in(0,1,5,6,7,8) and rc.tenant_id=#{tenantId} | |||||
| and rc.id not in (select pc.rent_contract_id from ( | and rc.id not in (select pc.rent_contract_id from ( | ||||
| select rent_contract_id from wx_property_contract where status not in(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) | ) pc) | ||||