This commit is contained in:
邹宗楠
2024-12-27 22:41:06 +08:00
parent 7e817ad1d4
commit 9f4d875b5e

View File

@@ -397,7 +397,8 @@ func GetStoresSkusForStore(ctx *jxcontext.Context, storeID int, isFocus, isAct b
sqlParams = append(sqlParams, pageSize, offset)
txDB, _ := dao.Begin(db)
defer dao.Commit(db, txDB)
globals.SugarLogger.Debugf("---------------------------sql := %s", sql)
globals.SugarLogger.Debugf("---------------------------sqlParams := %s", utils.Format4Output(sqlParams, false))
if err = dao.GetRowsTx(txDB, &SkuNames, sql, sqlParams...); err == nil {
skuNamesInfo = &dao.StoreSkuNamesInfo2{
TotalCount: dao.GetLastTotalRowCount2(db, txDB),