Quellcode durchsuchen

bug

release_toaliyun_real
xhxu vor 6 Jahren
Ursprung
Commit
2ac4834631
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. +3
    -1
      mallinkService/src/main/resources/mapper/WxCouponMapper.xml

+ 3
- 1
mallinkService/src/main/resources/mapper/WxCouponMapper.xml Datei anzeigen

@@ -840,7 +840,9 @@
left join (<foreach collection="tenantEntitys" item="tenantEntity" index="index" separator="union all"> left join (<foreach collection="tenantEntitys" item="tenantEntity" index="index" separator="union all">
SELECT * from wx_coupon_order${tenantEntity.shardTableSuffix} SELECT * from wx_coupon_order${tenantEntity.shardTableSuffix}
</foreach>) wo on wo.coupon_id = wc.id </foreach>) wo on wo.coupon_id = wc.id
left join wx_merchant_subsidy sc on sc.coupon_order_id = wo.id
left join (<foreach collection="tenantEntitys" item="tenantEntity" index="index" separator="union all">
SELECT * from wx_merchant_subsidy${tenantEntity.shardTableSuffix}
</foreach>) sc on sc.coupon_order_id = wo.id
where wc.id = c.id) as sum_subsidy where wc.id = c.id) as sum_subsidy
from (<foreach collection="tenantEntitys" item="tenantEntity" index="index" separator="union all"> from (<foreach collection="tenantEntitys" item="tenantEntity" index="index" separator="union all">
SELECT * from wx_coupon${tenantEntity.shardTableSuffix} SELECT * from wx_coupon${tenantEntity.shardTableSuffix}


Laden…
Abbrechen
Speichern