This commit is contained in:
邹宗楠
2024-02-27 10:58:13 +08:00
parent 0c8c6b9d3e
commit c067af71b6
5 changed files with 3 additions and 19 deletions

View File

@@ -149,12 +149,9 @@ 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
}