This commit is contained in:
邹宗楠
2022-12-16 14:39:37 +08:00
parent 966d98c732
commit 0c3b2239c1
2 changed files with 3 additions and 1 deletions

View File

@@ -53,6 +53,9 @@ func GetPrintMsgs(db *DaoDB, printNo string, statuss []int, beginAt, endAt time.
sql += " ORDER BY a.created_at LIMIT ? OFFSET ?"
sqlParams = append(sqlParams, pageSize, offset)
err = GetRows(db, &prints, sql, sqlParams)
globals.SugarLogger.Debugf("======sql := %s", sql)
globals.SugarLogger.Debugf("======sql := %s", utils.Format4Output(sqlParams, false))
globals.SugarLogger.Debugf("======prints := %s", utils.Format4Output(prints, false))
return prints, err
}