提交 a33b2781 authored 作者: 吕本才's avatar 吕本才

1、旺店通分页bug

上级 e80ccadf
...@@ -98,7 +98,7 @@ public class WangdiantongUtil { ...@@ -98,7 +98,7 @@ public class WangdiantongUtil {
log.info("当前时间段{}-{},查询返回的order条数:{},总条数totalCount:{},page_no:{}", wangdiantongQuery.getStart_time(), wangdiantongQuery.getEnd_time(), orderJsonArray.size(), totalCount, pageNo); log.info("当前时间段{}-{},查询返回的order条数:{},总条数totalCount:{},page_no:{}", wangdiantongQuery.getStart_time(), wangdiantongQuery.getEnd_time(), orderJsonArray.size(), totalCount, pageNo);
// 计算下一次分页的页码 // 计算下一次分页的页码
pageNo++; pageNo++;
} while (size < maxDealCount && pageNo < maxPage); } while (size < maxDealCount && pageNo <= maxPage);
if (pageNo >= maxPage) { if (pageNo >= maxPage) {
// 已经到最后一页了,设置成-1,表示已经处理完了,不再查询 // 已经到最后一页了,设置成-1,表示已经处理完了,不再查询
beginPageNo.set(-1); beginPageNo.set(-1);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论