Browse Source

feat(all): 2B配送报表

1 修改查询总页数不正确问题
pre-production
zhaoqiaobo 4 days ago
parent
commit
4269b95663
  1. 2
      blade-service/logpm-report/src/main/java/com/logpm/report/config/MybatisPlusConfig.java
  2. 4
      blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/ReportDeliverServiceImpl.java

2
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 * @create 2024-03-08 13:59
*/ */
@Configuration @Configuration
@MapperScan("com.baomidou.cloud.service.*.mapper*r") @MapperScan("com.baomidou.cloud.service.*.mapper*")
public class MybatisPlusConfig implements WebMvcConfigurer { public class MybatisPlusConfig implements WebMvcConfigurer {
// @Bean // @Bean

4
blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/ReportDeliverServiceImpl.java

@ -457,8 +457,8 @@ public class ReportDeliverServiceImpl implements ReportDeliverService {
@Override @Override
public void exportDetailsV3(HttpServletResponse response, DevilerDetailsQuery query) { public void exportDetailsV3(HttpServletResponse response, DevilerDetailsQuery query) {
IPage<ReportDetailVO> page = Condition.getPage(query); IPage<ReportDetailVO> page = Condition.getPage(query);
page.setPages(-1); page.setPages(1);
page.setSize(-1); page.setSize(Integer.MAX_VALUE);
Integer more = 1; Integer more = 1;
if (StrUtil.isEmpty(query.getWarehouseNameRange())) { if (StrUtil.isEmpty(query.getWarehouseNameRange())) {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse(); BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse();

Loading…
Cancel
Save