diff --git a/blade-service/logpm-report/src/main/java/com/logpm/report/controller/ReportDeliveryController.java b/blade-service/logpm-report/src/main/java/com/logpm/report/controller/ReportDeliveryController.java index e39a1ecd6..75004f3b3 100644 --- a/blade-service/logpm-report/src/main/java/com/logpm/report/controller/ReportDeliveryController.java +++ b/blade-service/logpm-report/src/main/java/com/logpm/report/controller/ReportDeliveryController.java @@ -124,13 +124,8 @@ public class ReportDeliveryController extends BladeController { @GetMapping("/exportDetails/v2") @ApiOperationSupport(order = 6) @ApiOperation(value = "导出配送明细报表v2", notes = "导出配送明细报表v2") - public R exportDetailsV3(HttpServletResponse response, DevilerDetailsQuery query) { - try { - reportDeliverService.exportDetailsV3(response, query); - return R.success("导出成功"); - } catch (Exception e) { - return R.fail("导出失败,多仓权限最多只能导1周的数据,单仓权限最多只能导1个月的数"); - } + public void exportDetailsV3(HttpServletResponse response, DevilerDetailsQuery query) { + reportDeliverService.exportDetailsV3(response, query); } @GetMapping("/stockOrder") 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 64f4b31d9..088455872 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 @@ -455,6 +455,8 @@ public class ReportDeliverServiceImpl implements ReportDeliverService { @Override public void exportDetailsV3(HttpServletResponse response, DevilerDetailsQuery query) { IPage page = Condition.getPage(query); + page.setPages(1); + page.setSize(100000); if (StrUtil.isEmpty(query.getWarehouseNameRange())) { BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse(); if (ObjectUtil.isNotEmpty(myCurrentWarehouse)) { diff --git a/blade-service/logpm-report/src/main/java/com/logpm/report/vo/ReportDetailVO.java b/blade-service/logpm-report/src/main/java/com/logpm/report/vo/ReportDetailVO.java index eb912f644..da758a352 100644 --- a/blade-service/logpm-report/src/main/java/com/logpm/report/vo/ReportDetailVO.java +++ b/blade-service/logpm-report/src/main/java/com/logpm/report/vo/ReportDetailVO.java @@ -29,10 +29,6 @@ public class ReportDetailVO implements Serializable { @ExcelProperty("车次") private String trainNumber; - @ApiModelProperty(value = "回库状态") - @ExcelProperty("回库状态") - private String returnToStockStatus; - @ApiModelProperty(value = "品牌") @ExcelProperty("品牌") private String brand; @@ -213,4 +209,8 @@ public class ReportDetailVO implements Serializable { @ExcelProperty("签收方式") private String signType; + @ApiModelProperty(value = "回库状态") + @ExcelProperty("回库状态") + private String returnToStockStatus; + }