From 615acd6363cfdd33fd5f0fb38ee1f96465a587c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 4 Jan 2021 10:06:34 +0800 Subject: [PATCH] aa --- business/model/dao/dao_order.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/business/model/dao/dao_order.go b/business/model/dao/dao_order.go index 0c2cd4eca..1769c0f39 100644 --- a/business/model/dao/dao_order.go +++ b/business/model/dao/dao_order.go @@ -1,6 +1,7 @@ package dao import ( + "fmt" "time" "git.rosy.net.cn/baseapi/utils" @@ -245,6 +246,9 @@ func GetPayStatistics(db *DaoDB, userID string, pop int, cityCodes []int, mobile sql += ` AND a.city_code IN ` + GenQuestionMarks(len(cityCodes)) + `)` sqlParams = append(sqlParams, cityCodes) } + fmt.Println(sql) + fmt.Println(sqlParams) + fmt.Println(utils.Format4Output(getPayStatisticsResult, false)) err = GetRow(db, &getPayStatisticsResult, sql, sqlParams) sqlParams2 := []interface{}{}