diff --git a/business/model/dao/dao_job.go b/business/model/dao/dao_job.go index 99f96d299..b96f20b62 100644 --- a/business/model/dao/dao_job.go +++ b/business/model/dao/dao_job.go @@ -121,6 +121,8 @@ func GetJobs(db *DaoDB, userIDs []string, categoryIDs, statuss, vendorIDs, types sql += " LIMIT ? OFFSET ?" pageSize = jxutils.FormalizePageSize(pageSize) sqlParams = append(sqlParams, pageSize, offset) + fmt.Println(sql) + fmt.Println(sqlParams) Begin(db) defer Commit(db) if err = GetRows(db, &jobs, sql, sqlParams...); err == nil {