|
|
|
@ -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); |
|
|
|
|
} |
|
|
|
|