From 49a307744d1eedbdba9b2ececa129c4362ca4cc2 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Fri, 9 Jul 2021 16:03:35 +0800 Subject: [PATCH] aa --- business/model/dao/dao_print.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/model/dao/dao_print.go b/business/model/dao/dao_print.go index 498120ec3..a3cfec376 100644 --- a/business/model/dao/dao_print.go +++ b/business/model/dao/dao_print.go @@ -44,7 +44,7 @@ func GetPrintMsgs(db *DaoDB, statuss []int, beginAt, endAt time.Time, offset, pa sql += " AND created_at < ?" sqlParams = append(sqlParams, endAt) } - sql += "ORDER BY created_At LIMIT ? OFFSET ?" + sql += "ORDER BY created_at LIMIT ? OFFSET ?" sqlParams = append(sqlParams, pageSize, offset) err = GetRows(db, &prints, sql, sqlParams) return prints, err