|
|
|
@@ -320,7 +320,7 @@ |
|
|
|
SELECT |
|
|
|
IFNULL(SUM(`pay_amount`),0) as 'payAmount', |
|
|
|
IFNULL(SUM(`increased_points`),0) as 'payPoints' |
|
|
|
FROM ali_business_circle_order |
|
|
|
FROM wx_business_circle_order |
|
|
|
where is_refund = 0 |
|
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
|
and `tenant_id` = #{tenantId} |
|
|
|
@@ -346,7 +346,7 @@ |
|
|
|
SELECT |
|
|
|
IFNULL(SUM(`refund_amount`),0) as 'refundAmount', |
|
|
|
IFNULL(SUM(`increased_points`),0) as 'refundPoints' |
|
|
|
FROM ali_business_circle_order |
|
|
|
FROM wx_business_circle_order |
|
|
|
where is_refund = 1 |
|
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
|
and `tenant_id` = #{tenantId} |
|
|
|
|