Browse Source

feat(all): 2B配送报表

1 修改查询总页数不正确问题
pre-production
zhaoqiaobo 3 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
*/
@Configuration
@MapperScan("com.baomidou.cloud.service.*.mapper*r")
@MapperScan("com.baomidou.cloud.service.*.mapper*")
public class MybatisPlusConfig implements WebMvcConfigurer {
// @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
public void exportDetailsV3(HttpServletResponse response, DevilerDetailsQuery query) {
IPage<ReportDetailVO> 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();

Loading…
Cancel
Save