From 059d83f41e5fa1b75a0af0f70725a9090e46b00b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 31 Oct 2022 17:55:44 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/store_sku.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index 421daff35..8c622dd5f 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -1152,6 +1152,8 @@ func GetStoresSkusNew(ctx *jxcontext.Context, storeIDs, skuIDs []int, upcs []str if isHighPrice || priceType != 0 { sql += " , t4.unit_price DESC LIMIT 99" } + globals.SugarLogger.Debugf("==========slq := %s", sql) + globals.SugarLogger.Debugf("==========param := %s", utils.Format4Output(params, false)) var tmpList []*tGetStoresSkusInfo if err = dao.GetRowsTx(txDB, &tmpList, sql, sqlParams...); err != nil { dao.Rollback(db, txDB)