code: public static Workbook createBook(boolean isXlsx) {
  		Workbook workbook;
  		if (isXlsx) {
  			workbook = new XSSFWorkbook();
  		} else {
  			workbook = new org.apache.poi.hssf.usermodel.HSSFWorkbook();
  		}
  		return workbook;
  	}
docs: 根据文件类型创建新的工作簿，文件路径
  
  @param isXlsx 是否为xlsx格式的Excel
  @return {@link Workbook}
  @since 4.1.0