From bcfb0306302e8328955fd478a283859c26040fa7 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 14 Sep 2023 16:13:34 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=EA=B5=AD=EB=AF=BC=EC=8B=A0=EB=AC=B8?= =?UTF-8?q?=EA=B3=A0=ED=8C=8C=EC=9D=BC=20=EC=A4=91=20=EB=8F=99=EC=98=81?= =?UTF-8?q?=EC=83=81=20=EC=A0=9C=EC=99=B8=20=EC=B2=98=EB=A6=AC=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/fims/crdn/service/bean/ImportServiceBean.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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 66eeeb04..2068dde1 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 @@ -46,17 +46,13 @@ public class ImportServiceBean extends AbstractServiceBean implements ImportServ for (Crdn crdn: crdns) { List files = byInfoKey.get(crdn.getLinkId()); - for(FileInfo file : files) { - - if(file.getMimeType().startsWith("video")) { - files.remove(file); - continue; - } + files.removeIf(item -> item.getMimeType().startsWith("video")); + for(FileInfo file : files) { file.setInputStream(file.getInputStream()); //신규 인풋스트림 생성 file.setUrl(""); //인터페이스 첨부파일정보 제거 file.setPath(""); //국민신문고 첨부파일정보 제거 - } + } crdn.setCvlcptLinkYn("Y"); crdnBean.create(null, crdn, files); From 09126c48c8067d7fe0e11c582227a76fcdda8dbc Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 14 Sep 2023 16:14:02 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EB=8F=99=EC=98=81=EC=83=81=20=EC=BA=A1?= =?UTF-8?q?=EC=B3=90=EC=8B=9C=20=EB=8F=99=EC=98=81=EC=83=81=20=EC=B5=9C?= =?UTF-8?q?=EB=8C=80=20=ED=81=AC=EA=B8=B0=20=EC=A1=B0=EC=A0=88=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/jsp/fims/sprt/sprt03010-main.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt03010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt03010-main.jsp index 8fb70a05..53df2a32 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt03010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt03010-main.jsp @@ -64,7 +64,7 @@
-