lyhzzz 2 years ago
parent
commit
b82613f2b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/fdkankan/manage/controller/ExcelController.java

+ 1 - 1
src/main/java/com/fdkankan/manage/controller/ExcelController.java

@@ -55,7 +55,7 @@ public class ExcelController {
             }
             File file = new File(fileName);
             FileUtils.copyInputStreamToFile(inputStream,file);
-            os.write(FileUtils.readFileToByteArray(file);
+            os.write(FileUtils.readFileToByteArray(file));
             os.flush();
         } finally {
             os.close();