aa
This commit is contained in:
@@ -1198,6 +1198,7 @@ func RefreshJdDelivery(ctx *jxcontext.Context) (err error) {
|
||||
)
|
||||
if ctx.GetUserName() == "jxadmin" {
|
||||
userID = ""
|
||||
userIDs = nil
|
||||
} else {
|
||||
userID = ctx.GetUserID()
|
||||
userIDs = append(userIDs, userID)
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package dao
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
@@ -76,6 +77,8 @@ func GetDeliveryOrders(db *DaoDB, userIDs []string, statuss []int, fromTime, toT
|
||||
sqlParams = append(sqlParams, pageSize, offset)
|
||||
Begin(db)
|
||||
defer Commit(db)
|
||||
fmt.Println(sql)
|
||||
fmt.Println(sqlParams)
|
||||
if err = GetRows(db, &dOrders, sql, sqlParams...); err == nil {
|
||||
pagedInfo = &model.PagedInfo{
|
||||
TotalCount: GetLastTotalRowCount(db),
|
||||
|
||||
Reference in New Issue
Block a user