|
@@ -312,7 +312,7 @@ public class LogisticsConsignmentController {
|
|
|
public void logisticOrderByPurchaseOrderIdExport(@RequestParam("ids") @NotBlank(message = "单据id不能为空") String ids, HttpServletResponse response) {
|
|
public void logisticOrderByPurchaseOrderIdExport(@RequestParam("ids") @NotBlank(message = "单据id不能为空") String ids, HttpServletResponse response) {
|
|
|
List<PurchaseLogisticOrderExcelVo> list = logisticsConsignmentService.logisticOrderByPurchaseOrderIdExport(ids);
|
|
List<PurchaseLogisticOrderExcelVo> list = logisticsConsignmentService.logisticOrderByPurchaseOrderIdExport(ids);
|
|
|
if (CollectionUtils.isEmpty(list)) {
|
|
if (CollectionUtils.isEmpty(list)) {
|
|
|
- throw new BusinessException("导出数据为空!");
|
|
|
|
|
|
|
+ throw new BusinessException("暂无数据,请确认");
|
|
|
}
|
|
}
|
|
|
ExcelUtil.downData(response, PurchaseLogisticOrderExcelVo.class, list);
|
|
ExcelUtil.downData(response, PurchaseLogisticOrderExcelVo.class, list);
|
|
|
}
|
|
}
|
|
@@ -328,7 +328,7 @@ public class LogisticsConsignmentController {
|
|
|
public void logisticOrderBySellOrderIdExport(@RequestParam("ids") @NotBlank(message = "单据id不能为空") String ids, HttpServletResponse response) {
|
|
public void logisticOrderBySellOrderIdExport(@RequestParam("ids") @NotBlank(message = "单据id不能为空") String ids, HttpServletResponse response) {
|
|
|
List<SellLogisticOrderExcelVo> list = logisticsConsignmentService.logisticOrderBySellOrderIdExport(ids);
|
|
List<SellLogisticOrderExcelVo> list = logisticsConsignmentService.logisticOrderBySellOrderIdExport(ids);
|
|
|
if (CollectionUtils.isEmpty(list)) {
|
|
if (CollectionUtils.isEmpty(list)) {
|
|
|
- throw new BusinessException("导出数据为空!");
|
|
|
|
|
|
|
+ throw new BusinessException("暂无数据,请确认");
|
|
|
}
|
|
}
|
|
|
ExcelUtil.downData(response, SellLogisticOrderExcelVo.class, list);
|
|
ExcelUtil.downData(response, SellLogisticOrderExcelVo.class, list);
|
|
|
}
|
|
}
|