瀏覽代碼

feat(供应商):大股东填充逻辑修改

liutao 6 月之前
父節點
當前提交
a5b3436c74
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/main/java/com/inkasso/factoring/file/controller/FilePreviewController.java

+ 2 - 0
src/main/java/com/inkasso/factoring/file/controller/FilePreviewController.java

@@ -114,6 +114,7 @@ public class FilePreviewController {
             // 通过文件路径获得File对象
             inputStream = new FileInputStream(pdfFile);
             OutputStream os = response.getOutputStream();
+            log.error(inputStream);
             int read;
             while ((read = inputStream.read()) != -1) {
                 os.write(read);
@@ -182,6 +183,7 @@ public class FilePreviewController {
         FileInputStream inputStream;
         try {
             inputStream = new FileInputStream(xmlFile);
+            log.error(inputStream);
             OutputStream os = response.getOutputStream();
             int read;
             while ((read = inputStream.read()) != -1) {