diff --git a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml
index 0adaf3278..3eb6c2c9c 100644
--- a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml
+++ b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml
@@ -791,7 +791,9 @@
left join (
SELECT * from wx_coupon${tenantEntity.shardTableSuffix}
) wc on wc.id = ci.coupon_id
- left join wx_merchant_subsidy sc on sc.coupon_order_id = ci.id
+ left join (
+ SELECT * from wx_merchant_subsidy${tenantEntity.shardTableSuffix}
+ ) sc on sc.coupon_order_id = ci.id
where wc.id = c.id) as sum_subsidy
from (
@@ -840,7 +842,9 @@
left join (
SELECT * from wx_coupon_order${tenantEntity.shardTableSuffix}
) wo on wo.coupon_id = wc.id
- left join wx_merchant_subsidy sc on sc.coupon_order_id = wo.id
+ left join (
+ SELECT * from wx_merchant_subsidy${tenantEntity.shardTableSuffix}
+ ) sc on sc.coupon_order_id = wo.id
where wc.id = c.id) as sum_subsidy
from (
SELECT * from wx_coupon${tenantEntity.shardTableSuffix}