From 35d7aa013a17d872d9e91f5dc9c401945225db20 Mon Sep 17 00:00:00 2001 From: zhaoqiaobo <583671871@qq.com> Date: Wed, 2 Apr 2025 18:21:37 +0800 Subject: [PATCH] =?UTF-8?q?feat(all):=202B=E9=85=8D=E9=80=81=E6=8A=A5?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1 修改查询总页数不正确问题 --- .../service/impl/QualityDispatchNumberServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/QualityDispatchNumberServiceImpl.java b/blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/QualityDispatchNumberServiceImpl.java index 935229cc3..13ecf79e7 100644 --- a/blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/QualityDispatchNumberServiceImpl.java +++ b/blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/QualityDispatchNumberServiceImpl.java @@ -57,7 +57,7 @@ public class QualityDispatchNumberServiceImpl implements QualityDispatchNumberSe throw new ServiceException("时间不能为空"); } page.setPages(1); - page.setSize(-1); + page.setSize(Integer.MAX_VALUE); if (StrUtil.isEmpty(query.getWarehouseName())) { BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse(); if (ObjectUtil.isNotEmpty(myCurrentWarehouse)) { @@ -128,7 +128,7 @@ public class QualityDispatchNumberServiceImpl implements QualityDispatchNumberSe throw new ServiceException("时间不能为空"); } page.setPages(1); - page.setSize(-1); + page.setSize(Integer.MAX_VALUE); if (StrUtil.isEmpty(query.getWarehouseName())) { BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse(); if (ObjectUtil.isNotEmpty(myCurrentWarehouse)) { @@ -204,7 +204,7 @@ public class QualityDispatchNumberServiceImpl implements QualityDispatchNumberSe public void exporTask(HttpServletResponse response, QualityDispatchTaskQuery query) { IPage page = Condition.getPage(query); page.setPages(1); - page.setSize(-1); + page.setSize(Integer.MAX_VALUE); List list = getQualityDispatchTaskVOS(query, page); ExcelUtil.export(response, list, QualityDispatchTaskVO.class); }