aa
This commit is contained in:
@@ -88,9 +88,9 @@ func QueryPageStores(db *DaoDB, pageSize, offset int, keyword string, vendorStor
|
||||
panic(r)
|
||||
}
|
||||
}()
|
||||
if err = GetRows(db, &shopList, sql, sqlParams...); err == nil {
|
||||
if err = GetRowsTx(txDB, &shopList, sql, sqlParams...); err == nil {
|
||||
pagedInfo = &model.PagedInfo{
|
||||
TotalCount: GetLastTotalRowCount(db),
|
||||
TotalCount: GetLastTotalRowCount2(db, txDB),
|
||||
Data: shopList,
|
||||
}
|
||||
Commit(db, txDB)
|
||||
|
||||
Reference in New Issue
Block a user