diff --git a/mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml b/mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml
index 41635e9f7..6c93cfe1d 100644
--- a/mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml
+++ b/mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml
@@ -98,6 +98,31 @@
and `end_date` = #{endDate}
and `rent_shop_type` = #{rentShopType}
and `operation_type` = #{operationType}
+
+
+ and business_id in (${businessForRule})
+
+
+ and `id` in
+
+ select id from wx_property_contract where 1=1
+
+ and `tenant_id` = #{tenantId}
+
+
+ and `parent_tenant_id` = #{parentTenantId}
+
+ and json_unquote(json_extract(json_extract(rent_info,'$[*].shopId'),concat('$[',#{idx},']'))) in(select
+ id from wx_shop where 1=1
+
+ and `tenant_id` = #{tenantId}
+
+
+ and `parent_tenant_id` = #{parentTenantId}
+
+ and floor in (${floorForRule}))
+
+
and id in
diff --git a/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml b/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml
index 8850737ac..5ba324d17 100644
--- a/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml
+++ b/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml
@@ -135,6 +135,32 @@
and shop_name like concat('%',#{shopNumber},'%')
+
+
+ and business_id in (${businessForRule})
+
+
+ and `id` in
+
+ select id from wx_rent_contract where 1=1
+
+ and `tenant_id` = #{tenantId}
+
+
+ and `parent_tenant_id` = #{parentTenantId}
+
+ and json_unquote(json_extract(json_extract(rent_info,'$[*].shopId'),concat('$[',#{idx},']'))) in(select
+ id from wx_shop where 1=1
+
+ and `tenant_id` = #{tenantId}
+
+
+ and `parent_tenant_id` = #{parentTenantId}
+
+ and floor in (${floorForRule}))
+
+
+
and status in
@@ -588,7 +614,7 @@
and rc.business_id in (${businessForRule})
-
+