diff --git a/business/model/dao/dao_print.go b/business/model/dao/dao_print.go index 831819779..dbfba68ac 100644 --- a/business/model/dao/dao_print.go +++ b/business/model/dao/dao_print.go @@ -1,6 +1,7 @@ package dao import ( + "fmt" "git.rosy.net.cn/baseapi/utils" "git.rosy.net.cn/jx-callback/business/model" "time" @@ -50,6 +51,8 @@ func GetPrintMsgs(db *DaoDB, printNo string, statuss []int, beginAt, endAt time. } sql += " ORDER BY a.created_at LIMIT ? OFFSET ?" sqlParams = append(sqlParams, pageSize, offset) + fmt.Println(sql) + fmt.Println(sqlParams) err = GetRows(db, &prints, sql, sqlParams) return prints, err }