aa
This commit is contained in:
@@ -191,7 +191,7 @@ type GetPayStatisticsResult struct {
|
||||
}
|
||||
|
||||
func GetPayStatistics(db *DaoDB, userID string, pop int, cityCodes []int, mobile string, fromTime, toTime time.Time, orderTypes []int) (getPayStatisticsResult *GetPayStatisticsResult, err error) {
|
||||
sqlParams := []interface{}{}
|
||||
var sqlParams []interface{}
|
||||
getWhereSql := func(sqlP []interface{}) (sql string) {
|
||||
if len(orderTypes) > 0 {
|
||||
sql += ` AND b.order_type IN ` + GenQuestionMarks(len(orderTypes)) + `)`
|
||||
|
||||
Reference in New Issue
Block a user