From 21d56935b495ed3cc9acfdfa5ab303ca1c93cee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Wed, 4 Dec 2024 14:31:50 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/store_sku.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index ce55ae206..95884c92d 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -1173,11 +1173,14 @@ func GetStoresSkusNew(ctx *jxcontext.Context, storeIDs, skuIDs []int, upcs []str if isHighPrice || priceType != 0 { sql += " , t4.unit_price DESC LIMIT 99" } + globals.SugarLogger.Debugf("-----sql := %s", sql) + globals.SugarLogger.Debugf("-----sqlParams := %s", utils.Format4Output(sqlParams, false)) var tmpList []*tGetStoresSkusInfo if err = dao.GetRowsTx(txDB, &tmpList, sql, sqlParams...); err != nil { dao.Rollback(db, txDB) return nil, err } + globals.SugarLogger.Debugf("-----tmpList := %s", utils.Format4Output(tmpList, false)) if isBySku { skuNamesInfo.TotalCount = dao.GetLastTotalRowCount2(db, txDB) }