diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/plan/PlanServiceImpl.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/plan/PlanServiceImpl.java index 57c245e5f..b4ceca597 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/plan/PlanServiceImpl.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/plan/PlanServiceImpl.java @@ -586,8 +586,9 @@ public class PlanServiceImpl implements PlanService { return new PageResult<>(); } - // 查询顶级列表的信息 - IPage orderList = planItemMapper.selectOrderList(page, queryWrapperX, type, orderGoodsIds, rootOrderIdList.getRecords()); + // 查询顶级列表的信息,分页在顶级查询做,此处查询全部信息避免分页互相影响 + PageDTO secondPage = new PageDTO<>(pageReqVO.getPageNo(), PAGE_SIZE_NONE); + IPage orderList = planItemMapper.selectOrderList(secondPage, queryWrapperX, type, orderGoodsIds, rootOrderIdList.getRecords()); List mainOrderList = orderList.getRecords();