From 0c8c6b9d3e5f90007d374ceeb01b97c50bae45b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 26 Feb 2024 17:33:11 +0800 Subject: [PATCH] 1 --- business/model/dao/act.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/business/model/dao/act.go b/business/model/dao/act.go index c84e2a076..16110d2a7 100644 --- a/business/model/dao/act.go +++ b/business/model/dao/act.go @@ -149,9 +149,13 @@ func GetActStoreSkuVendorList(db *DaoDB, actID int, vendorIDs, storeIDs, skuIDs sqlParams = append(sqlParams, pageSize, offset) txDB, _ := Begin(db) defer Commit(db, txDB) + globals.SugarLogger.Debugf("========sql := %s", sql) + globals.SugarLogger.Debugf("========sql := %s", utils.Format4Output(sqlParams, false)) if err = GetRowsTx(txDB, &actStoreSkuList, sql, sqlParams...); err == nil { totalCount = GetLastTotalRowCount2(db, txDB) } + globals.SugarLogger.Debugf("========actStoreSkuList := %s", utils.Format4Output(actStoreSkuList, false)) + return totalCount, actStoreSkuList, err }