From 73b2f631b392ccd24fc5ab9de4bd5a901365b2c0 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Wed, 13 Sep 2023 14:05:31 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8F=99=EC=98=81=EC=83=81=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=20=EC=98=88=EC=99=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cokr/xit/fims/crdn/service/bean/ImportServiceBean.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/cokr/xit/fims/crdn/service/bean/ImportServiceBean.java b/src/main/java/cokr/xit/fims/crdn/service/bean/ImportServiceBean.java index 4064a8c7..66eeeb04 100644 --- a/src/main/java/cokr/xit/fims/crdn/service/bean/ImportServiceBean.java +++ b/src/main/java/cokr/xit/fims/crdn/service/bean/ImportServiceBean.java @@ -47,6 +47,12 @@ public class ImportServiceBean extends AbstractServiceBean implements ImportServ List files = byInfoKey.get(crdn.getLinkId()); for(FileInfo file : files) { + + if(file.getMimeType().startsWith("video")) { + files.remove(file); + continue; + } + file.setInputStream(file.getInputStream()); //신규 인풋스트림 생성 file.setUrl(""); //인터페이스 첨부파일정보 제거 file.setPath(""); //국민신문고 첨부파일정보 제거