1
This commit is contained in:
@@ -751,8 +751,9 @@ func GetActMtwmVendorPage(db *DaoDB, storeIDs, skuIDs []int, keyword string, beg
|
|||||||
panic(r)
|
panic(r)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
if err = GetRowsTx(txDB, &acts, sql, sqlParams...); err == nil {
|
if err = GetRowsTx(txDB, &acts, sql, sqlParams...); err == nil && len(acts) != 0 {
|
||||||
pageInfo.TotalCount = GetLastTotalRowCount2(db, txDB)
|
aa := GetLastTotalRowCount2(db, txDB)
|
||||||
|
pageInfo.TotalCount = aa
|
||||||
pageInfo.Data = acts
|
pageInfo.Data = acts
|
||||||
}
|
}
|
||||||
Commit(db, txDB)
|
Commit(db, txDB)
|
||||||
|
|||||||
Reference in New Issue
Block a user