diff --git a/business/model/dao/store.go b/business/model/dao/store.go index d31027776..7899bf282 100644 --- a/business/model/dao/store.go +++ b/business/model/dao/store.go @@ -3,6 +3,7 @@ package dao import ( "errors" "fmt" + "git.rosy.net.cn/jx-callback/globals" "sort" "strings" "time" @@ -1689,6 +1690,9 @@ func StatisticsIncome(db *DaoDB, startTime, endTime time.Time, storeId int, bran sql += ` GROUP BY t1.jx_store_id` + globals.SugarLogger.Debugf("---------sql := %s", sql) + globals.SugarLogger.Debugf("---------parm := %s", utils.Format4Output(parma, false)) + incomeInfo := make([]*StatisticsIncomeInfo, 0, 0) if err := GetRows(db, &incomeInfo, sql, parma...); err != nil { return nil, err