diff --git a/mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml b/mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml
index 9fcf6bf4a..40a5f3b97 100644
--- a/mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml
+++ b/mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml
@@ -126,6 +126,22 @@
and br.`late_pay_status` = #{latePayStatus}
and br.`late_pay_status` = #{latePayStatus}
and d.`status` = #{depositStatus}
+
+
+ and br.merchant_id in(
+ select ms.merchant_id from (select merchant_id,shop_id from wx_merchant_shop where is_del=0) ms
+ inner join wx_merchant m on ms.merchant_id = m.id
+ inner join wx_shop s on s.id=ms.shop_id
+ where s.is_del=0
+
+ and s.`building`= #{building}
+
+
+ and s.`floor` = #{floor}
+
+ )
+
+
order by ${sortColumns}