code: public void exportObjects2Excel(String templatePath, List<?> data, Map<String, String> extendMap,
                                      Class clazz, boolean isWriteHeader, String targetPath)
              throws Excel4JException {
  
          exportObjects2Excel(templatePath, 0, data, extendMap, clazz, isWriteHeader, targetPath);
      }
docs: 基于Excel模板与注解{@link com.github.crab2died.annotation.ExcelField}导出Excel
  
  @param templatePath  Excel模板路径
  @param data          待导出数据的集合
  @param extendMap     扩展内容Map数据(具体就是key匹配替换模板#key内容,详情请查阅Excel模板定制方法)
  @param clazz         映射对象Class
  @param isWriteHeader 是否写表头
  @param targetPath    生成的Excel输出全路径
  @throws Excel4JException 异常
  @author Crab2Died