This commit is contained in:
邹宗楠
2025-12-24 15:55:55 +08:00
parent c8e1500892
commit bf44d2b733

View File

@@ -150,6 +150,8 @@ func QueryPrintList(db *DaoDB, printNo, printKey string, status, isOnline int, p
sqlParams = append(sqlParams, utils.DefaultTimeValue)
sql += ` ORDER BY status desc,is_online desc LIMIT ? OFFSET ? `
sqlParams = append(sqlParams, size, page)
globals.SugarLogger.Debugf("-----sql := %s", sql)
globals.SugarLogger.Debugf("-----sqlParams := %s", utils.Format4Output(sqlParams, false))
tx, _ := Begin(db)
defer func() {
if r := recover(); r != nil {