1.DefaultExcelBuilder、DefaultStreamExcelBuilder

  1. Workbook workbook1=DefaultExcelBuilder.of(A.class).build(dataList);
  2. // of(class,workbook)
  3. Workbook workbook2=DefaultExcelBuilder.of(B.class , workbook1).build(dataList);

2.模板导出

模板导出情况下,每一个table就是一个sheet。