From da91dd66b5d049968065ac6af71096ec6e3df316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 26 Nov 2024 17:49:33 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/store.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index b62f182fd..0f7551fd2 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -645,6 +645,8 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa sqlParams = append(sqlParams, pageSize, offset) //mapLimit := false txDB, _ := dao.Begin(db) + globals.SugarLogger.Debugf("---sql := %s", sql) + globals.SugarLogger.Debugf("---sql := %s", utils.Format4Output(sqlParams, false)) if err = dao.GetRowsTx(txDB, &storeList, sql, sqlParams...); err == nil { retVal.Stores = storeList retVal.TotalCount = dao.GetLastTotalRowCount2(db, txDB)