code: public static boolean list2Xls(List<?> list, String xmlPath, OutputStream outputStream) throws Exception {
          try {
              ExcelConfig config = getEasyExcel(xmlPath);
              return list2Xls(config, list, outputStream);
          } catch (Exception e1) {
              return false;
          }
      }
docs: 导出list对象到excel
  
  @param list     导出的list
  @param xmlPath  xml完整路径
  @param outputStream 输出流
  @return 处理结果，true成功，false失败
  @throws Exception