Browse Source

自提清单导出BUG修复

master
汤建军 8 months ago
parent
commit
1294e4fb39
  1. 5
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/bean/MyExcelUtil.java

5
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/bean/MyExcelUtil.java

@ -136,10 +136,9 @@ public class MyExcelUtil extends ExcelUtil {
response.setCharacterEncoding("UTF-8");
outputStream = response.getOutputStream();
ExcelWriter build = EasyExcel.write(outputStream).build();
WriteSheet orderList = EasyExcel.writerSheet("订单列表").head(DistributionBillOrderExcel.class).build();
WriteSheet inventoryList = EasyExcel.writerSheet("库存品列表").head(DistributionBillOrderPackExcel.class).build();
WriteSheet packageList = EasyExcel.writerSheet("包件列表").head(DistributionBillInventoryExcel.class).build();
WriteSheet packageList = EasyExcel.writerSheet("包件列表").head(DistributionBillOrderPackExcel.class).build();
WriteSheet inventoryList = EasyExcel.writerSheet("库存品列表").head(DistributionBillInventoryExcel.class).build();
if (Func.isNotEmpty(map.getBillOrderExcelList())){
build.write(map.getBillOrderExcelList(),orderList);
}

Loading…
Cancel
Save