@RequestParam MultipartFile file) throws IOException { String fileName = file.getOriginalFilename(); if (!ExcelHandler.isExcel(fileName)) { throw new RuntimeException("导入只支持Excel表格~"); } InputStream is = file.getInputStream(); //把流交给Excel工具类进行解析 ExcelHandler ...