diff --git a/src/main/java/kcc/com/cmm/service/AdrInnorixFileEnumVO.java b/src/main/java/kcc/com/cmm/service/AdrInnorixFileEnumVO.java index 9a1d66f4..371cf040 100644 --- a/src/main/java/kcc/com/cmm/service/AdrInnorixFileEnumVO.java +++ b/src/main/java/kcc/com/cmm/service/AdrInnorixFileEnumVO.java @@ -1,23 +1,40 @@ package kcc.com.cmm.service; public enum AdrInnorixFileEnumVO { - /** 과거사건문서 > 문서관리 */ adjReqMgrPastFileRegist("PST_", "", "", "", "") - /** 조정진행목록 > 사건문서 > 문서등록 */ , docRegPop("CHGDATE_", "정진행관리>>조정진행목록>조정진행상세>사건문서>P>문서등록", "A160", "", "") + /** 과거사건문서 > 문서관리 */ adjReqMgrPastFileRegist("INSERT", "PST_", "", "", "", "", true) + /** 조정진행목록 > 사건문서 > 문서등록 */ , docRegPop("INSERT", "CHGDATE_", "정진행관리>>조정진행목록>조정진행상세>사건문서>P>문서등록", "A160", "", "", true) + /** 조정진행목록 > 조정진행상세 > 대리인 수정 */ , updtRpplPop("UPDATE", "CHGDATE_", "", "", "", "", true) ; - + // INSERT UPDATE 구분 + private final String mode; + + // save 파일명 앞 private final String p_file_nm_prefix; + + // history 값 private final String p_code_desc; + + // history 값 private final String p_stat_cd; private final String p_adrHstryMgrSeq; private final String p_updateQuery; + + //AdrRpplDoc 메소드를 사용할지 말지 여부 + private final boolean isAdrRpplDoc; - AdrInnorixFileEnumVO(String p_file_nm_prefix, String p_code_desc, String p_stat_cd, String p_adrHstryMgrSeq, String p_updateQuery) { + AdrInnorixFileEnumVO(String mode, String p_file_nm_prefix, String p_code_desc, String p_stat_cd, String p_adrHstryMgrSeq, String p_updateQuery, boolean isAdrRpplDoc) { + this.mode = mode; this.p_file_nm_prefix = p_file_nm_prefix; this.p_code_desc = p_code_desc; this.p_stat_cd = p_stat_cd; this.p_adrHstryMgrSeq = p_adrHstryMgrSeq; this.p_updateQuery = p_updateQuery; + this.isAdrRpplDoc = isAdrRpplDoc; + } + + public String getMode() { + return mode; } public String getP_file_nm_prefix() { @@ -40,12 +57,18 @@ public enum AdrInnorixFileEnumVO { return p_updateQuery; } + public boolean isAdrRpplDoc() { + return isAdrRpplDoc; + } + public AdrInnorixFileVO conversion(AdrInnorixFileEnumVO enumVO, AdrInnorixFileVO adrInnorixFileListVO) { adrInnorixFileListVO.setP_file_nm_prefix(enumVO.getP_file_nm_prefix()); adrInnorixFileListVO.setP_code_desc(enumVO.getP_code_desc()); adrInnorixFileListVO.setP_stat_cd(enumVO.getP_stat_cd()); adrInnorixFileListVO.setP_adrHstryMgrSeq(enumVO.getP_adrHstryMgrSeq()); + adrInnorixFileListVO.setMode(enumVO.getMode()); + adrInnorixFileListVO.setAdrRpplDoc(enumVO.isAdrRpplDoc()); return adrInnorixFileListVO; } diff --git a/src/main/java/kcc/com/cmm/service/AdrInnorixFileVO.java b/src/main/java/kcc/com/cmm/service/AdrInnorixFileVO.java index 10860f01..e75b01e6 100644 --- a/src/main/java/kcc/com/cmm/service/AdrInnorixFileVO.java +++ b/src/main/java/kcc/com/cmm/service/AdrInnorixFileVO.java @@ -42,7 +42,8 @@ public class AdrInnorixFileVO extends ComDefaultVO implements Serializable { public String adrDocCn1 = ""; public String openYn = ""; public String atchFileId = ""; - + public String mode = ""; + public boolean isAdrRpplDoc; /* * jsp file name @@ -208,6 +209,22 @@ public class AdrInnorixFileVO extends ComDefaultVO implements Serializable { public void setRpplDocSeq(String rpplDocSeq) { this.rpplDocSeq = rpplDocSeq; } + + public String getMode() { + return mode; + } + + public void setMode(String mode) { + this.mode = mode; + } + + public boolean isAdrRpplDoc() { + return isAdrRpplDoc; + } + + public void setAdrRpplDoc(boolean isAdrRpplDoc) { + this.isAdrRpplDoc = isAdrRpplDoc; + } diff --git a/src/main/java/kcc/com/cmm/service/impl/InnorixFileServiceImpl.java b/src/main/java/kcc/com/cmm/service/impl/InnorixFileServiceImpl.java index aafad0d8..2dc43ecf 100644 --- a/src/main/java/kcc/com/cmm/service/impl/InnorixFileServiceImpl.java +++ b/src/main/java/kcc/com/cmm/service/impl/InnorixFileServiceImpl.java @@ -17,11 +17,14 @@ import org.springframework.beans.factory.annotation.Value; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Service; +import com.dreamsecurity.magicline.util.Log; + import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; import egovframework.rte.fdl.cmmn.exception.FdlException; import egovframework.rte.fdl.idgnr.EgovIdGnrService; import kcc.com.cmm.service.AdrInnorixFileEnumVO; import kcc.com.cmm.service.AdrInnorixFileVO; +import kcc.com.cmm.service.EgovFileMngService; import kcc.com.cmm.service.FileVO; import kcc.com.cmm.service.InnorixFileService; import kcc.com.cmm.service.InnorixFileVO; @@ -50,7 +53,7 @@ import kcc.let.utl.fcc.service.EgovStringUtil; @Service("InnorixFileService") public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements InnorixFileService { - private static final Logger logger = LoggerFactory.getLogger(InnorixFileServiceImpl.class); + private static final Logger log = LoggerFactory.getLogger(InnorixFileServiceImpl.class); @Resource(name = "InnorixFileDAO") private InnorixFileDAO innorixDAO; @@ -59,7 +62,7 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I private FileManageDAO fileManageDAO; @Value("#{globalSettings['Globals.Innorix.FilePath']}") - private String innoFilePath; + private String INNO_FILE_PATH; @Resource(name = "ansDAO") private AnsDAO ansDAO; @@ -74,6 +77,10 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I //답변서 idgen 서비스 @Resource(name = "egovRldMgrManageGnrService") private EgovIdGnrService egovRldMgrManageGnrService; + + // 첨부파일 정보 + @Resource(name="EgovFileMngService") + private EgovFileMngService fileMngService; @Override public RestResponse insertInnorixFileAjax(AdrInnorixFileVO adrInnorixFileListVO) throws FdlException, Exception { @@ -81,11 +88,17 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I try { AdrInnorixFileEnumVO innorixEnumVO = AdrInnorixFileEnumVO.valueOf(adrInnorixFileListVO.getJspFileName()); adrInnorixFileListVO = innorixEnumVO.conversion(innorixEnumVO, adrInnorixFileListVO); - + // 파일 저장 후 atchFileId 받아옴 - adrInnorixFileListVO.setAtchFileId(this.updateFileData(adrInnorixFileListVO)); + if("INSERT".equals(adrInnorixFileListVO.getMode())) + adrInnorixFileListVO.setAtchFileId(this.insertFileData(adrInnorixFileListVO)); + if("UPDATE".equals(adrInnorixFileListVO.getMode())) + adrInnorixFileListVO.setAtchFileId(this.updateFileData(adrInnorixFileListVO)); - adrInnorixFileListVO.setRpplDocSeq(this.insertAdrRpplDoc(adrInnorixFileListVO)); + log.info("adrInnorixFileListVO.isAdrRpplDoc() :: [{}]", adrInnorixFileListVO.isAdrRpplDoc()); + + if(adrInnorixFileListVO.isAdrRpplDoc()) + adrInnorixFileListVO.setRpplDocSeq(this.insertAdrRpplDoc(adrInnorixFileListVO)); // P_code_desc가 없으면 이력을 넣지 않음. if(StringUtils.isNotEmpty(adrInnorixFileListVO.getP_code_desc())) @@ -108,38 +121,69 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I * @return * @throws Exception */ + public String insertFileData(AdrInnorixFileVO innorixVO) throws Exception { + + + String atchFileId = idgenService.getNextStringId(); + + List result = this.fileChange(innorixVO, atchFileId, 0); + + + log.info(" // file data 반복문 끝 "); + // 파일 업로드 + fileManageDAO.insertFileInfs(result); + + return atchFileId; + } + public String updateFileData(AdrInnorixFileVO innorixVO) throws Exception { + + + String atchFileId = innorixVO.getAtchFileId(); + + + FileVO fvo = new FileVO(); + fvo.setAtchFileId(atchFileId); + int fileSn = fileMngService.getMaxFileSN(fvo); + + List result = this.fileChange(innorixVO, atchFileId, fileSn); + + + // 파일 업로드 + fileManageDAO.updateFileInfs(result); + + return atchFileId; + } + + + + private List fileChange(AdrInnorixFileVO innorixVO, String atchFileId, int fileSn) { List result = new ArrayList(); - - String fileNextId = idgenService.getNextStringId(); - - int fileSn = 0; - - logger.info(" file data 반복문 시작 :: [{}]", innorixVO.getInnorixFileListVO().size()); + log.info(" file data 반복문 시작 :: [{}]", innorixVO.getInnorixFileListVO().size()); for(InnorixFileVO innorixFileVO : innorixVO.getInnorixFileListVO()) { FileVO fileVO = new FileVO(); // new 파일명 String newName = innorixVO.getP_file_nm_prefix() + EgovStringUtil.getTimeStamp(); - logger.info("[{}]번쨰 newName :: [{}]", fileSn, newName); + log.info("[{}]번쨰 newName :: [{}]", fileSn, newName); - String oriFullPath = innoFilePath + innorixFileVO.getServerFileName(); - String newFullPath = innoFilePath + newName; + String oriFullPath = INNO_FILE_PATH + innorixFileVO.getServerFileName(); + String newFullPath = INNO_FILE_PATH + newName; try { File orifile = FileUtils.getFile(oriFullPath); File newfile = FileUtils.getFile(newFullPath); FileUtils.moveFile(orifile, newfile); } catch (IOException e) { - logger.info("파일명 수정 실패 :: [{}] ==> [{}]", oriFullPath, newFullPath ); + log.info("파일명 수정 실패 :: [{}] ==> [{}]", oriFullPath, newFullPath ); e.printStackTrace(); } - fileVO.setAtchFileId(fileNextId); + fileVO.setAtchFileId(atchFileId); fileVO.setFileSn(Integer.toString(fileSn)); - fileVO.setFileStreCours(innoFilePath); + fileVO.setFileStreCours(INNO_FILE_PATH); fileVO.setStreFileNm(newName); fileVO.setOrignlFileNm(innorixFileVO.getServerFileName()); fileVO.setFileExtsn(FilenameUtils.getExtension(oriFullPath)); @@ -150,16 +194,10 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I fileSn++; } - - logger.info(" // file data 반복문 끝 "); - // 파일 업로드 - fileManageDAO.insertFileInfs(result); - - return fileNextId; + log.info(" // file data 반복문 끝 "); + return result; } - - /** * @methodName : updateAdrRpplDoc * @author : 이호영 @@ -172,7 +210,7 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I */ private String insertAdrRpplDoc(AdrInnorixFileVO adrInnorixFileListVO) throws Exception { // RpplDoc Insert - logger.info("RpplDoc Insert "); + log.info("RpplDoc Insert "); AnsVO ansVO = new AnsVO(); ansVO.setAdrSeq(adrInnorixFileListVO.getAdrSeq()); // adrSn이 비여있으면 과거사건등록문서라 "1"이 고정으로 들어감 @@ -187,7 +225,7 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I ansVO.setLastUpdusrId(adrInnorixFileListVO.getLastUpdusrId()); ansDAO.ansSubmitAjax_setp1(ansVO); - logger.info(" + ansVO.getRpplDocSeq() :: [{}]", ansVO.getRpplDocSeq()); + log.info(" + ansVO.getRpplDocSeq() :: [{}]", ansVO.getRpplDocSeq()); return ansVO.getRpplDocSeq(); } diff --git a/src/main/java/kcc/kccadr/adjPgrMgr/apm/service/ApmService.java b/src/main/java/kcc/kccadr/adjPgrMgr/apm/service/ApmService.java index cc2bc8d5..d0ac9926 100644 --- a/src/main/java/kcc/kccadr/adjPgrMgr/apm/service/ApmService.java +++ b/src/main/java/kcc/kccadr/adjPgrMgr/apm/service/ApmService.java @@ -1,6 +1,7 @@ package kcc.kccadr.adjPgrMgr.apm.service; import java.util.List; +import java.util.Map; import kcc.kccadr.accdnt.adr.service.AdjstDeputyReqVO; import kcc.kccadr.accdnt.arc.service.CorReqVO; @@ -118,6 +119,6 @@ public interface ApmService { void updtRpplPopPastAjax(RpplVO rpplVO); - RpplVO findByResPonDentDId(RpplVO rpplVO); + Map findByResPonDentDIdAndFileList(RpplVO rpplVO); } diff --git a/src/main/java/kcc/kccadr/adjPgrMgr/apm/service/impl/ApmServiceImpl.java b/src/main/java/kcc/kccadr/adjPgrMgr/apm/service/impl/ApmServiceImpl.java index da6a4097..a0bcbf40 100644 --- a/src/main/java/kcc/kccadr/adjPgrMgr/apm/service/impl/ApmServiceImpl.java +++ b/src/main/java/kcc/kccadr/adjPgrMgr/apm/service/impl/ApmServiceImpl.java @@ -2,11 +2,16 @@ package kcc.kccadr.adjPgrMgr.apm.service.impl; import java.util.HashMap; import java.util.List; +import java.util.Map; import javax.annotation.Resource; +import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Repository; +import com.dreamsecurity.magice2e.util.Log; + +import kcc.com.cmm.service.impl.FileManageDAO; import kcc.com.cmm.util.StringUtil; import kcc.kccadr.accdnt.adr.service.AdjstDeputyReqVO; import kcc.kccadr.accdnt.arc.service.CorReqVO; @@ -38,7 +43,9 @@ public class ApmServiceImpl implements ApmService { // 조정사건이력관리 DAO @Resource(name = "adrHstryMgrDAO") private AdrHstryMgrDAO adrHstryMgrDAO; - + + @Resource(name = "FileManageDAO") + private FileManageDAO fileMngDAO; @Override public List selectApmCorrectionList(ApmCorrectVO apmCorrectVO) throws Exception { @@ -597,23 +604,33 @@ public class ApmServiceImpl implements ApmService { @Override public void updtRpplPopPastAjax(RpplVO rpplVO) { - System.out.println("rpplVO.getRpplNm() :: "+ rpplVO.getRpplNm()); RpplVO returnVO = this.rpplDataEncrypt(rpplVO); apmDAO.updtRpplPopPastAjax(returnVO); } @Override - public RpplVO findByResPonDentDId(RpplVO rpplVO) { + public Map findByResPonDentDIdAndFileList(RpplVO rpplVO) { - System.out.println(" ;::::: "+ rpplVO.getRpplRespddSeq()); try { - return this.rpplDataDecrypt(apmDAO.findByResPonDentDId(rpplVO)); + Map map = new HashMap(); + RpplVO rpplInfoVO = this.rpplDataDecrypt(apmDAO.findByResPonDentDId(rpplVO)); + + if(StringUtils.isNotBlank(rpplInfoVO.getAtchFileId())){ + kcc.com.cmm.service.FileVO fileVO = new kcc.com.cmm.service.FileVO(); + fileVO.setAtchFileId(rpplInfoVO.getAtchFileId()); + List fileList = fileMngDAO.selectFileInfs(fileVO); + map.put("fileList", fileList); + } + + map.put("rpplInfoVO", rpplInfoVO); + + + return map; } catch (Exception e) { e.printStackTrace(); } -// RpplVO resultVO = apmDAO.findByResPonDentDId(rpplVO); return null; } diff --git a/src/main/java/kcc/kccadr/adjPgrMgr/apm/web/ApmController.java b/src/main/java/kcc/kccadr/adjPgrMgr/apm/web/ApmController.java index 7604f655..c94f7298 100644 --- a/src/main/java/kcc/kccadr/adjPgrMgr/apm/web/ApmController.java +++ b/src/main/java/kcc/kccadr/adjPgrMgr/apm/web/ApmController.java @@ -3,8 +3,10 @@ package kcc.kccadr.adjPgrMgr.apm.web; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; +import java.util.LinkedHashMap; import java.util.List; import java.util.Locale; +import java.util.Map; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; @@ -26,6 +28,7 @@ import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartHttpServletRequest; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.mvc.support.RedirectAttributes; @@ -722,9 +725,13 @@ public class ApmController { @RequestMapping(value = "popup/updtRpplPop.do") public String updtRpplPop(@ModelAttribute("info") RpplVO rpplVO, ModelMap model) throws Exception { - RpplVO resultVO = apmService.findByResPonDentDId(rpplVO); - model.addAttribute("resultVO", resultVO); + Map resultMap = apmService.findByResPonDentDIdAndFileList(rpplVO); + + + + model.addAttribute("resultVO", resultMap.get("rpplInfoVO")); + model.addAttribute("fileList", resultMap.get("fileList")); return "/kccadr/adjPgrMgr/apm/popup/updtRpplPop"; } @@ -1319,7 +1326,7 @@ public class ApmController { //String atchFileId = this.fileValCheckNdbInsert(multiRequest, modelAndView, checkFileUtil.getS_exts(), i_limit_size, i_file_limit); //EXT, MB size and ea String atchFileId = checkFileUtil.fileValCheckNdbInsert(multiRequest, modelAndView, "CHGDATE_", checkFileUtil.getS_exts(), i_limit_size, i_file_limit); //EXT, MB size and ea - log.debug(">>>>>>>>>>>>>>>>>>>>>>>atchFileId:"+atchFileId); + log.debug(">>>>>>>>>>>>>>>>>>>>>>>atchFileId: [{}]"+atchFileId); if ("ERROR".equals(atchFileId)) return modelAndView; @@ -1406,11 +1413,15 @@ public class ApmController { modelAndView.addObject("message", "로그인 해주세요."); return modelAndView; } - - rpplVO.setLastUpdusrId(userId); - - try { - apmService.updtRpplPopPastAjax(rpplVO); + /*파일등록 */ + //String atchFileId = ""; // 조정신청 첨부파일 아이디 + //String FratchFileId = ""; //대리인 첨부파일 아이디 + + rpplVO.setLastUpdusrId(userId); + + try { + log.info(" === apmService.updtRpplPopPastAjax() === "); + apmService.updtRpplPopPastAjax(rpplVO); } catch (Exception e) { e.printStackTrace(); diff --git a/src/main/resources/egovframework/sqlmap/kccadr/adjPgrMgr/apm/Apm_SQL_Mysql.xml b/src/main/resources/egovframework/sqlmap/kccadr/adjPgrMgr/apm/Apm_SQL_Mysql.xml index 198f1380..e954e657 100644 --- a/src/main/resources/egovframework/sqlmap/kccadr/adjPgrMgr/apm/Apm_SQL_Mysql.xml +++ b/src/main/resources/egovframework/sqlmap/kccadr/adjPgrMgr/apm/Apm_SQL_Mysql.xml @@ -597,12 +597,13 @@ , RPPL_GRADE = #rpplGrade# , RPPL_EMAIL_YN = #rpplEmailYn# , RPPL_SMS_YN = #rpplSmsYn# + , ATCH_FILE_ID = #atchFileId# + , LAST_UPDT_PNTTM = SYS_DATETIME , LAST_UPDUSR_ID = #lastUpdusrId# , RPPL_RELATION = #rpplRelation# , RPPL_RELATION_ETC = #rpplRelationEtc# - , RPPL_CONN_NO = #rpplConnNo# WHERE ADR_SEQ = #adrSeq# AND RPPL_SEQ = #rpplSeq# diff --git a/src/main/webapp/WEB-INF/jsp/kccadr/adjPgrMgr/apm/popup/updtRpplPop.jsp b/src/main/webapp/WEB-INF/jsp/kccadr/adjPgrMgr/apm/popup/updtRpplPop.jsp index 1fddd404..8417c8fc 100644 --- a/src/main/webapp/WEB-INF/jsp/kccadr/adjPgrMgr/apm/popup/updtRpplPop.jsp +++ b/src/main/webapp/WEB-INF/jsp/kccadr/adjPgrMgr/apm/popup/updtRpplPop.jsp @@ -25,12 +25,14 @@ %> -대리인등록 +대리인수정 + + <%-- 원자력 --%> " /> " /> - " /> + " /> + " /> + " />
- -

대리인 등록

+ +

대리인 수정

@@ -248,40 +419,15 @@
대리신청서 - - - - -
- - - - - - - - - - - - - - - - - - - -
파일 명종류크기삭제
-

- 첨부하실 파일을 - 마우스로 끌어서 - 넣어주세요. -

-
+ + + +

* 첨부파일을 등록해 주세요. (최대3개)

+ + +

+ <%--
@@ -327,13 +473,15 @@
+ --%>
- + +
diff --git a/src/main/webapp/WEB-INF/jsp/kccadr/adjPgrMgr/apm/popup/updtRpplPop_backup.jsp b/src/main/webapp/WEB-INF/jsp/kccadr/adjPgrMgr/apm/popup/updtRpplPop_backup.jsp new file mode 100644 index 00000000..72cbb64d --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/kccadr/adjPgrMgr/apm/popup/updtRpplPop_backup.jsp @@ -0,0 +1,341 @@ + +<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> +<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator"%> +<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%> +<% +/** + * @Class Name : srcAdmNoPop.jsp + * @Description : 조정접수 + * @Modification Information + * @ + * @ 수정일 수정자 수정내용 + * @ ------- -------- --------------------------- + * @ 2021.08.16 김봉호 최초 생성 + * @author 김봉호 + * @since 2021.08.16 + * @version 1.0 + * @see + * + */ +%> + + +대리인수정 + + + + + + +<%-- 원자력 --%> + + + + + " /> + " /> + " /> + " /> + + + +
+
+ +

대리인 수정

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
대리인 이름 + +
본인과의 관계 +
+ + + + + + + + + + + + + + + + + +
+
직책 + +
대리인 주소 + + +
+ + +
+ +
이메일 + + + + "> + @ + "> + + +
연락처 + + - + + - + + +
이메일 수신여부 +
+ + + + + + + + +
+
SMS 수신여부 +
+ + + + + + + + +
+
대리신청서 + + + + +
+ + + + + + + + + + + + + + + + + + + +
파일 명종류크기삭제
+

+ 첨부하실 파일을 + 마우스로 끌어서 + 넣어주세요. +

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
파일 명종류크기삭제
+ + + + "> + + + + "> + + + + +
+
+
+ +
+ + +
+
+
+
+ + diff --git a/src/main/webapp/innorix/exam/download.jsp b/src/main/webapp/innorix/exam/download.jsp index 5408f3cc..97e5b24e 100644 --- a/src/main/webapp/innorix/exam/download.jsp +++ b/src/main/webapp/innorix/exam/download.jsp @@ -14,6 +14,8 @@ String filePath = saveDir.substring(0, saveDir.lastIndexOf("/") + 1); 유닉스 - /storage/path1/path2/data */ +// filePath = request.getParameter("innoDirPath"); +filePath = "D:/usr/local/tomcat/file/sht/"; // downloadType : "stream" 설정시 자동 전달되는 GET Param 값 String szStartOffset = request.getParameter("_StartOffset"); String szEndOffset = request.getParameter("_EndOffset"); @@ -42,8 +44,10 @@ if (fileID != null) { } if (fileName != null) { - sysFileName = "data/" + fileName; - orgFileName = "data/" + fileName; + sysFileName = "" + fileName; + sysFileName = "" + fileName; +// orgFileName = "data/" + fileName; +// orgFileName = "data/" + fileName; } // 파일명 깨짐대응 문자열 인코딩 처리 diff --git a/src/main/webapp/innorix/exam/edit.html b/src/main/webapp/innorix/exam/edit.html index d1918c20..f3ea1d5c 100644 --- a/src/main/webapp/innorix/exam/edit.html +++ b/src/main/webapp/innorix/exam/edit.html @@ -1 +1 @@ - ← 예제 목록


| |

\ No newline at end of file + ← 예제 목록


| |

\ No newline at end of file