code: public void exportMap2Excel(String templatePath, Map<String, List<?>> data,
                                  Map<String, String> extendMap, Class clazz, String targetPath)
              throws Excel4JException {
  
          try (SheetTemplate sheetTemplate = exportExcelByMapHandler(templatePath, 0, data, extendMap, clazz, true)) {
              sheetTemplate.write2File(targetPath);
          } catch (IOException e) {
              throw new Excel4JException(e);
          }
      }
docs: 基于模板、注解导出{@code Map[String, List[?]]}类型数据
  模板定制详见定制说明
  
  @param templatePath Excel模板路径
  @param data         待导出的{@code Map<String, List<?>>}类型数据
  @param extendMap    扩展内容Map数据(具体就是key匹配替换模板#key内容,详情请查阅Excel模板定制方法)
  @param clazz        映射对象Class
  @param targetPath   生成的Excel输出全路径
  @throws Excel4JException 异常
  @author Crab2Died