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]); }