aa
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
package dao
|
package dao
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"sort"
|
"sort"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@@ -1218,6 +1219,8 @@ func GetStoreManageState(db *DaoDB, storeIDs []int, vendorID, sortType, offset,
|
|||||||
sqlParams = append(sqlParams, pageSize, offset)
|
sqlParams = append(sqlParams, pageSize, offset)
|
||||||
Begin(db)
|
Begin(db)
|
||||||
defer Commit(db)
|
defer Commit(db)
|
||||||
|
fmt.Println(sql)
|
||||||
|
fmt.Println(sqlParams)
|
||||||
if err = GetRows(db, &requestList, sql, sqlParams...); err == nil {
|
if err = GetRows(db, &requestList, sql, sqlParams...); err == nil {
|
||||||
return &model.PagedInfo{
|
return &model.PagedInfo{
|
||||||
TotalCount: GetLastTotalRowCount(db),
|
TotalCount: GetLastTotalRowCount(db),
|
||||||
|
|||||||
Reference in New Issue
Block a user