From 34e21b209d93d53d0210cabc796c40c7cdefcf3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 5 Nov 2020 09:06:22 +0800 Subject: [PATCH] test --- business/model/dao/dao_job.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/model/dao/dao_job.go b/business/model/dao/dao_job.go index 17a0189a2..00e60d313 100644 --- a/business/model/dao/dao_job.go +++ b/business/model/dao/dao_job.go @@ -123,6 +123,8 @@ func GetJobs(db *DaoDB, userIDs []string, categoryIDs, statuss, vendorIDs, types sqlParams = append(sqlParams, pageSize, offset) Begin(db) defer Commit(db) + fmt.Println(sql) + fmt.Println(sqlParams) if err = GetRows(db, &jobs, sql, sqlParams...); err == nil { pagedInfo = &model.PagedInfo{ TotalCount: GetLastTotalRowCount(db),