From 4dd8e861fe20732ad02d7281cfc46b237ef1e855 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Thu, 27 May 2021 14:09:16 +0800 Subject: [PATCH] aa --- business/jxstore/report/report.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/report/report.go b/business/jxstore/report/report.go index 3ab166758..9fc878154 100644 --- a/business/jxstore/report/report.go +++ b/business/jxstore/report/report.go @@ -722,7 +722,7 @@ func UserMemberReport(ctx *jxcontext.Context, vendorID int, keyword string, offs GROUP BY 1 ) t1 ON t1.mobile = a.mobile LEFT JOIN ( - SELECT a.mobile, COUNT(b.vendor_store_id) finished_count, SUM(ISNULL(b.actual_pay_price)) finished_price + SELECT a.mobile, COUNT(b.vendor_store_id) finished_count, SUM(b.actual_pay_price) finished_price FROM user_member a LEFT JOIN goods_order b ON a.mobile = b.consignee_mobile2 AND a.vendor_id = b.vendor_id AND b.order_type = ? AND status = ? AND b.store_id <> ? GROUP BY 1