diff --git a/business/jxstore/report/report.go b/business/jxstore/report/report.go index c1352495b..5f4b44996 100644 --- a/business/jxstore/report/report.go +++ b/business/jxstore/report/report.go @@ -329,6 +329,7 @@ func getStoreStatusCount(db *dao.DaoDB, cityCodes []int, vendorID, status int) ( func getOrderStateCount(db *dao.DaoDB, cityCodes []int, vendorID, status int) (getManageStateOrderInfo *GetManageStateOrderInfo, err error) { sqlParams := []interface{}{} + getManageStateOrderInfo = &GetManageStateOrderInfo{} endTime := time.Now().AddDate(0, -3, 0) sql := ` SELECT SUM(b.actual_pay_price) actual_pay_price, SUM(b.total_shop_money) total_shop_money, SUM(IFNULL(c.desired_fee, 0)) desired_fee