From 4269b9566368223a0ddb5cbeef413aede88e6ef5 Mon Sep 17 00:00:00 2001 From: zhaoqiaobo <583671871@qq.com> Date: Wed, 2 Apr 2025 18:19:19 +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 修改查询总页数不正确问题 --- .../main/java/com/logpm/report/config/MybatisPlusConfig.java | 2 +- .../logpm/report/service/impl/ReportDeliverServiceImpl.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blade-service/logpm-report/src/main/java/com/logpm/report/config/MybatisPlusConfig.java b/blade-service/logpm-report/src/main/java/com/logpm/report/config/MybatisPlusConfig.java index 10998183b..cbed4465d 100644 --- a/blade-service/logpm-report/src/main/java/com/logpm/report/config/MybatisPlusConfig.java +++ b/blade-service/logpm-report/src/main/java/com/logpm/report/config/MybatisPlusConfig.java @@ -21,7 +21,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; * @create 2024-03-08 13:59 */ @Configuration -@MapperScan("com.baomidou.cloud.service.*.mapper*r") +@MapperScan("com.baomidou.cloud.service.*.mapper*") public class MybatisPlusConfig implements WebMvcConfigurer { // @Bean diff --git a/blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/ReportDeliverServiceImpl.java b/blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/ReportDeliverServiceImpl.java index 77a30b2ac..640f70301 100644 --- a/blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/ReportDeliverServiceImpl.java +++ b/blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/ReportDeliverServiceImpl.java @@ -457,8 +457,8 @@ public class ReportDeliverServiceImpl implements ReportDeliverService { @Override public void exportDetailsV3(HttpServletResponse response, DevilerDetailsQuery query) { IPage page = Condition.getPage(query); - page.setPages(-1); - page.setSize(-1); + page.setPages(1); + page.setSize(Integer.MAX_VALUE); Integer more = 1; if (StrUtil.isEmpty(query.getWarehouseNameRange())) { BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse();