|
|
|
@@ -144,10 +144,10 @@ |
|
|
|
)s) and merchant_id is null and tenant_id=#{tenantId} |
|
|
|
</update> |
|
|
|
|
|
|
|
<select id="getRentContractList" parameterType="String" resultType="com.iformall.domain.po.WxRentContract"> |
|
|
|
<select id="getRentContractList" parameterType="hashmap" resultType="com.iformall.domain.po.WxRentContract"> |
|
|
|
select rc.*,s.shop_number from wx_rent_contract rc left join wx_shop s on rc.shop_id=s.id |
|
|
|
where rc.status not in(1,6,7) and rc.tenant_id=#{tenantId} |
|
|
|
and rc.id not in (select pc.rent_contract_id form ( |
|
|
|
and rc.id not in (select pc.rent_contract_id from ( |
|
|
|
select rent_contract_id from wx_property_contract where status not in(1,6,7) and tenant_id=#{tenantId} |
|
|
|
) pc) |
|
|
|
</select> |
|
|
|
|