aa
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
package dao
|
package dao
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"git.rosy.net.cn/baseapi/utils"
|
"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)) + `)`
|
sql += ` AND a.city_code IN ` + GenQuestionMarks(len(cityCodes)) + `)`
|
||||||
sqlParams = append(sqlParams, cityCodes)
|
sqlParams = append(sqlParams, cityCodes)
|
||||||
}
|
}
|
||||||
|
fmt.Println(sql)
|
||||||
|
fmt.Println(sqlParams)
|
||||||
|
fmt.Println(utils.Format4Output(getPayStatisticsResult, false))
|
||||||
err = GetRow(db, &getPayStatisticsResult, sql, sqlParams)
|
err = GetRow(db, &getPayStatisticsResult, sql, sqlParams)
|
||||||
|
|
||||||
sqlParams2 := []interface{}{}
|
sqlParams2 := []interface{}{}
|
||||||
|
|||||||
Reference in New Issue
Block a user