|
|
|
@@ -266,7 +266,7 @@ |
|
|
|
IFNULL(SUM(`pay_amount`),0) as 'payAmount', |
|
|
|
IFNULL(SUM(`increased_points`),0) as 'payPoints' |
|
|
|
FROM wx_business_circle_order |
|
|
|
where is_refund = 0 |
|
|
|
where is_refund = 0 and merchant_id is not null |
|
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
|
and `tenant_id` = #{tenantId} |
|
|
|
</if> |
|
|
|
|