This commit is contained in:
邹宗楠
2024-02-26 17:33:11 +08:00
parent 7e471da34d
commit 0c8c6b9d3e

View File

@@ -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
}