|
|
@@ -149,7 +149,7 @@ |
|
|
<if test="null != rentShopType and 1 == rentShopType and null != floorForRule and '' != floorForRule "> |
|
|
<if test="null != rentShopType and 1 == rentShopType and null != floorForRule and '' != floorForRule "> |
|
|
and rc.`id` in |
|
|
and rc.`id` in |
|
|
<foreach collection="tempShop" index="idx" separator=" union all " open="(" close=")"> |
|
|
<foreach collection="tempShop" index="idx" separator=" union all " open="(" close=")"> |
|
|
select id from wx_rent_contract where tenant_id=#{tenantId} and |
|
|
|
|
|
|
|
|
select id from wx_property_contract where tenant_id=#{tenantId} and |
|
|
json_unquote(json_extract(json_extract(rent_info,'$[*].shopId'),concat('$[',#{idx},']'))) in(select |
|
|
json_unquote(json_extract(json_extract(rent_info,'$[*].shopId'),concat('$[',#{idx},']'))) in(select |
|
|
id from wx_shop where tenant_id=#{tenantId} and floor in (${floorForRule})) |
|
|
id from wx_shop where tenant_id=#{tenantId} and floor in (${floorForRule})) |
|
|
</foreach> |
|
|
</foreach> |
|
|
|