|
|
@@ -180,7 +180,8 @@ func QueryAmountLog(c *gin.Context) {
|
|
|
// 分页
|
|
|
rst := make([]QueryAmountLogRsp, 0)
|
|
|
// 开始上标
|
|
|
- start := req.Page * req.PageSize
|
|
|
+ // 终端分页1开始
|
|
|
+ start := (req.Page - 1) * req.PageSize
|
|
|
// 结束下标
|
|
|
end := start + req.PageSize
|
|
|
|
|
|
@@ -290,7 +291,8 @@ func QueryHisAmountLog(c *gin.Context) {
|
|
|
// 分页
|
|
|
rst := make([]QueryHisAmountLogRsp, 0)
|
|
|
// 开始上标
|
|
|
- start := req.Page * req.PageSize
|
|
|
+ // 终端分页1开始
|
|
|
+ start := (req.Page - 1) * req.PageSize
|
|
|
// 结束下标
|
|
|
end := start + req.PageSize
|
|
|
|