1
This commit is contained in:
@@ -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 {
|
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
|
pageInfo.Data = acts
|
||||||
}
|
}
|
||||||
Commit(db, txDB)
|
Commit(db, txDB)
|
||||||
|
|||||||
Reference in New Issue
Block a user