public void exportFile(File destFile, ExportConfig exportConfig) throws ExportFileException { String format = exportConfig.getFormat(); long start = System.currentTimeMillis(); if ("csv".equalsIgnoreCase(format)) { this.exportCsvFile(destFile, exportConfig); } else if ("excel".equalsIgnoreCase(format)) { this.exportExcelFile(destFile, exportConfig); } log.debug("导出耗时:" + ((System.currentTimeMillis() - start) / 1000) + " 秒"); }