|
|
@@ -1471,7 +1471,7 @@ |
|
|
select count(co.id) |
|
|
select count(co.id) |
|
|
from wx_coupon_order co |
|
|
from wx_coupon_order co |
|
|
left join wx_merchant_b_user mbu on co.b_user_id = mbu.id |
|
|
left join wx_merchant_b_user mbu on co.b_user_id = mbu.id |
|
|
where where 1 = 1 |
|
|
|
|
|
|
|
|
where 1 = 1 |
|
|
|
|
|
|
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
and co.`tenant_id` = #{tenantId} |
|
|
and co.`tenant_id` = #{tenantId} |
|
|
|