From d3390d002117a5809c8e438c664eac8767f876f0 Mon Sep 17 00:00:00 2001 From: leebj Date: Thu, 11 Jul 2024 14:28:21 +0900 Subject: [PATCH] =?UTF-8?q?=ED=95=9C=EA=B8=80=EB=AC=B8=EC=84=9C=EC=84=9C?= =?UTF-8?q?=EC=8B=9D=20=EC=88=98=EC=A0=95(=ED=8F=90=EA=B8=B0=EC=A7=84?= =?UTF-8?q?=ED=96=89=EC=82=AC=EC=A7=84=EC=9D=B4=20=EC=97=86=EB=8A=94=20?= =?UTF-8?q?=EC=9E=90=EB=A3=8C=EB=8A=94=20=ED=8E=98=EC=9D=B4=EC=A7=80=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../adds/cmmn/hwp/format/DisposeProcessDetails.java | 2 +- .../cokr/xit/adds/nims/web/AddsNimsController.java | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/java/cokr/xit/adds/cmmn/hwp/format/DisposeProcessDetails.java b/src/main/java/cokr/xit/adds/cmmn/hwp/format/DisposeProcessDetails.java index 650570c..af68c01 100644 --- a/src/main/java/cokr/xit/adds/cmmn/hwp/format/DisposeProcessDetails.java +++ b/src/main/java/cokr/xit/adds/cmmn/hwp/format/DisposeProcessDetails.java @@ -51,7 +51,7 @@ public class DisposeProcessDetails extends HWPFormat { for(int a=0;a photos = (List)partitionN.get("dsuseimgPaths"); for(int i=0;i dsuseimgs = fileService.getFileList( new FileQuery().setInfoType("110").setInfoKeys(data.string("dscdmngId")) @@ -446,6 +444,10 @@ public class AddsNimsController extends ApplicationController { }) .toList(); + if(dsuseimgs.isEmpty()) { + continue; + } + List dsuseimgPaths = new ArrayList(); for(DataObject dsuseimg : dsuseimgs) { dsuseimgPaths.add(dsuseimg.string("FILE_PATH"));