From a912bbf2d2d823f7104f736eab6d1fab80f101d1 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Fri, 4 Jun 2021 17:24:32 +0800 Subject: [PATCH] aa --- business/model/dao/dao_order.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/model/dao/dao_order.go b/business/model/dao/dao_order.go index fbf8036fd..8adf31602 100644 --- a/business/model/dao/dao_order.go +++ b/business/model/dao/dao_order.go @@ -1003,6 +1003,8 @@ func GetOrders(db *DaoDB, ids []int64, isIncludeSku, isIncludeFake bool, fromDat sql += " LIMIT ? OFFSET ?" sqlParams = append(sqlParams, pageSize, offset) txDB, _ := Begin(db) + fmt.Println(sql) + fmt.Println(sqlParams) defer Commit(db, txDB) if err = GetRowsTx(txDB, &orders, sql, sqlParams...); err == nil { totalCount = GetLastTotalRowCount2(db, txDB)