This commit is contained in:
邹宗楠
2023-07-17 16:23:09 +08:00
parent 09b2e45f7d
commit dbb20a524d

View File

@@ -753,7 +753,10 @@ func GetActMtwmVendorPage(db *DaoDB, storeIDs, skuIDs []int, keyword string, beg
}()
if err = GetRowsTx(txDB, &acts, sql, sqlParams...); err == nil && len(acts) != 0 {
pageInfo.TotalCount = GetLastTotalRowCount2(db, txDB)
globals.SugarLogger.Debugf("len := %d", len(acts))
aa := GetLastTotalRowCount2(db, txDB)
globals.SugarLogger.Debugf("aa := %d", aa)
pageInfo.TotalCount = aa
pageInfo.Data = acts
}
Commit(db, txDB)