From 94f1bf07b20899d5a77f1c3b21f7c97a4fe98d76 Mon Sep 17 00:00:00 2001 From: jjh Date: Fri, 18 Aug 2023 15:28:59 +0900 Subject: [PATCH] =?UTF-8?q?1.=20=EC=9E=AC=EB=93=B1=EB=A1=9D=20->=20?= =?UTF-8?q?=EB=8B=A8=EC=86=8D=EC=82=AC=EC=A7=84=20=EB=B3=B5=EC=82=AC?= =?UTF-8?q?=EC=8B=9C=20=EC=9B=90=EB=B3=B8=20=ED=8C=8C=EC=9D=BC=EB=AA=85?= =?UTF-8?q?=EC=9D=84=20=EC=9C=A0=EC=A7=80=ED=95=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95.=202.=20=EC=86=8C=EC=8A=A4=20=EC=A0=95?= =?UTF-8?q?=EB=A6=AC.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/fims/excl/service/bean/Excl03ServiceBean.java | 5 +++++ src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp | 8 +++----- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/main/java/cokr/xit/fims/excl/service/bean/Excl03ServiceBean.java b/src/main/java/cokr/xit/fims/excl/service/bean/Excl03ServiceBean.java index 069665da..7d159c4f 100644 --- a/src/main/java/cokr/xit/fims/excl/service/bean/Excl03ServiceBean.java +++ b/src/main/java/cokr/xit/fims/excl/service/bean/Excl03ServiceBean.java @@ -135,6 +135,11 @@ public class Excl03ServiceBean extends AbstractServiceBean implements Excl03Serv } fileInfoList = new FileInfoFactory().createFileInfos(null, files); + + // 원본 파일명 + for (int iLoop = 0; iLoop < fileInfoList.size(); iLoop++) { + fileInfoList.get(iLoop).setName(infoCrdnFileList.get(iLoop).string("FILE_NM")); + } } // 단속 대장 입력 diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp index 5a27e3d5..a6712b56 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp @@ -356,7 +356,7 @@ } ajax.get({ - url : wctx.url("/sprt/sprt01/020/info.do") + url : wctx.url("/sprt/sprt02/010/main.do") , data : { crdnId : crdnId } , success : resp => { resp = resp.replace(/infoPrefix/g, this.prefix) diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp index 0c4321d8..5865a551 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp @@ -1,8 +1,6 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> - -
@@ -230,10 +228,10 @@ let item = ${pageName}Control.getCurrent("item"); let create = isEmpty(info.opnnId); - // 첨부파일 -// let formData = new FormData(document.getElementById("frmFile--${pageName}")); + let formData = new FormData(); -debugger; + + // 첨부파일 배열에 있는 내용을 등록 for (let iLoop = 0; iLoop < $fileListArr.length; iLoop++) { formData.append("uploadFiles" , $fileListArr[iLoop]); }