From 8f0f0fa3d6ee8c1e701ad2739e0a7c34daa70e4f Mon Sep 17 00:00:00 2001 From: gaoqr <13665037151@163.com> Date: Tue, 9 Jun 2026 18:17:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E6=8E=92=E8=AE=A2=E5=8D=95=20?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=88=86=E9=A1=B5=E6=8E=A5=E5=8F=A3=E7=BF=BB?= =?UTF-8?q?=E9=A1=B5=E6=95=B0=E6=8D=AE=E9=94=99=E8=AF=AF=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../imes/module/executor/service/plan/PlanServiceImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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();