aa
This commit is contained in:
@@ -313,8 +313,7 @@ func (c *OrderManager) GetOrders(ctx *jxcontext.Context, isIncludeFake bool, fro
|
||||
var (
|
||||
db = dao.GetDB()
|
||||
isJxIncomeArea = params["jxIncomeBegin"] != nil || params["jxIncomeEnd"] != nil
|
||||
begin = utils.MustInterface2Int64(params["jxIncomeBegin"])
|
||||
end = utils.MustInterface2Int64(params["jxIncomeEnd"])
|
||||
begin, end int64
|
||||
)
|
||||
//权限
|
||||
if permission.IsRoled(ctx) {
|
||||
@@ -343,6 +342,8 @@ func (c *OrderManager) GetOrders(ctx *jxcontext.Context, isIncludeFake bool, fro
|
||||
}
|
||||
}
|
||||
if isJxIncomeArea {
|
||||
begin = utils.MustInterface2Int64(params["jxIncomeBegin"])
|
||||
end = utils.MustInterface2Int64(params["jxIncomeEnd"])
|
||||
//begin := utils.MustInterface2Int64(params["jxIncomeBegin"])
|
||||
//end := utils.MustInterface2Int64(params["jxIncomeEnd"])
|
||||
pageSize = math.MaxInt64
|
||||
|
||||
Reference in New Issue
Block a user