From a2f098f0139458ddac6f53efe982b3fcec6c7e3a Mon Sep 17 00:00:00 2001 From: jiwoo Date: Fri, 2 Feb 2024 12:05:59 +0900 Subject: [PATCH 1/6] =?UTF-8?q?=EC=9D=B4=EC=A7=80=EC=9A=B0=20-=20=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=EC=9E=90=20=EC=8B=A4=EB=AC=B4,=EA=B8=B0=EC=86=8C=20?= =?UTF-8?q?=EA=B0=95=EC=9D=98=EA=B3=84=ED=9A=8D=EC=84=9C,=20=EA=B2=B0?= =?UTF-8?q?=EA=B3=BC=EB=B3=B4=EA=B3=A0=EC=84=9C=20=EC=97=85=EB=A1=9C?= =?UTF-8?q?=EB=93=9C=20=EA=B8=B0=EB=8A=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../innorix/web/InnorixFileController.java | 10 +- .../service/VEAPrcsAplctPrdInstrAsgnmVO.java | 9 + .../web/OprtnStateMngController.java | 13 ++ src/main/webapp/WEB-INF/decorators.xml | 3 +- .../cndtnEduPrcsAplctCfnMngDetail.jsp | 19 +- .../popup/fndthRsltRprtfileInsertPopup.jsp | 188 ++++++++++++++++++ .../fndthEduPrcsAplctCfnMngDetail.jsp | 19 +- 7 files changed, 245 insertions(+), 16 deletions(-) create mode 100644 src/main/webapp/WEB-INF/jsp/oprtn/cpyrgExprnClsrm/popup/fndthRsltRprtfileInsertPopup.jsp diff --git a/src/main/java/kcc/kccadr/cmm/innorix/web/InnorixFileController.java b/src/main/java/kcc/kccadr/cmm/innorix/web/InnorixFileController.java index c22bcc91..ff7701e3 100644 --- a/src/main/java/kcc/kccadr/cmm/innorix/web/InnorixFileController.java +++ b/src/main/java/kcc/kccadr/cmm/innorix/web/InnorixFileController.java @@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.RequestMethod; import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper; import kcc.com.cmm.LoginVO; +import kcc.com.cmm.util.StringUtil; import kcc.com.utl.fcc.service.EgovStringUtil; import kcc.kccadr.accdnt.ans.service.AnsVO; import kcc.kccadr.cmm.RestResponse; @@ -155,7 +156,9 @@ public class InnorixFileController { if(userId.equals("")) { return ResponseEntity.ok(new RestResponse(HttpStatus.UNAUTHORIZED, "로그인이 필요합니다.", LocalDateTime.now())); } - adrInnorixFileVO.setUniqId(userId); + if(StringUtil.isEmpty(adrInnorixFileVO.getUniqId())) { + adrInnorixFileVO.setUniqId(userId); + } return ResponseEntity.ok(innorixService.insertInnorixLctrPlanFile(adrInnorixFileVO)); } @@ -301,8 +304,9 @@ public class InnorixFileController { if(userId.equals("")) { return ResponseEntity.ok(new RestResponse(HttpStatus.UNAUTHORIZED, "로그인이 필요합니다.", LocalDateTime.now())); } - adrInnorixFileVO.setUniqId(userId); - + if(StringUtil.isEmpty(adrInnorixFileVO.getUniqId())) { + adrInnorixFileVO.setUniqId(userId); + } return ResponseEntity.ok(innorixService.insertInnorixDocAtchFile(adrInnorixFileVO)); } } \ No newline at end of file diff --git a/src/main/java/kcc/ve/instr/tngrVisitEdu/prcsInfo/service/VEAPrcsAplctPrdInstrAsgnmVO.java b/src/main/java/kcc/ve/instr/tngrVisitEdu/prcsInfo/service/VEAPrcsAplctPrdInstrAsgnmVO.java index dd8339a7..cd469a5d 100644 --- a/src/main/java/kcc/ve/instr/tngrVisitEdu/prcsInfo/service/VEAPrcsAplctPrdInstrAsgnmVO.java +++ b/src/main/java/kcc/ve/instr/tngrVisitEdu/prcsInfo/service/VEAPrcsAplctPrdInstrAsgnmVO.java @@ -43,6 +43,7 @@ public class VEAPrcsAplctPrdInstrAsgnmVO extends ComDefaultVO implements Seriali // ve_instr_detail private String instrNm; // 강사 이름 private String phone; // phone + private String rprtFileType; // 첨부파일 종류 public String getPrcsAplctPrdOrd() { return prcsAplctPrdOrd; @@ -156,6 +157,14 @@ public class VEAPrcsAplctPrdInstrAsgnmVO extends ComDefaultVO implements Seriali this.phone = phone; } + public String getRprtFileType() { + return rprtFileType; + } + + public void setRprtFileType(String rprtFileType) { + this.rprtFileType = rprtFileType; + } + diff --git a/src/main/java/kcc/ve/oprtn/cpyrgExprnClsrm/oprtnStateMng/web/OprtnStateMngController.java b/src/main/java/kcc/ve/oprtn/cpyrgExprnClsrm/oprtnStateMng/web/OprtnStateMngController.java index 5178e38f..b437ddff 100644 --- a/src/main/java/kcc/ve/oprtn/cpyrgExprnClsrm/oprtnStateMng/web/OprtnStateMngController.java +++ b/src/main/java/kcc/ve/oprtn/cpyrgExprnClsrm/oprtnStateMng/web/OprtnStateMngController.java @@ -656,6 +656,19 @@ public class OprtnStateMngController { return "oprtn/cpyrgExprnClsrm/popup/auldtRsltRprtfileInsertPopup"; } + + /* 관리자 결과보고 등록 팝업(실무) + * + * + * */ + @RequestMapping(value = "popup/fndthRsltRprtfileInsertPopup.do") + public String fndthRsltRprtfileInsertPopup( + @ModelAttribute("vEAPrcsAplctPrdInstrAsgnmVO") VEAPrcsAplctPrdInstrAsgnmVO vEAPrcsAplctPrdInstrAsgnmVO, ModelMap model + ) throws Exception { + + + return "oprtn/cpyrgExprnClsrm/popup/fndthRsltRprtfileInsertPopup"; + } /** * 교육실적통계 화면 */ diff --git a/src/main/webapp/WEB-INF/decorators.xml b/src/main/webapp/WEB-INF/decorators.xml index 500bcd69..b6e25065 100644 --- a/src/main/webapp/WEB-INF/decorators.xml +++ b/src/main/webapp/WEB-INF/decorators.xml @@ -51,8 +51,7 @@ */ve/oprtn/instr/adultVisitEdu/instrInfo/instrMdfyRqstPopup.do */kccadr/oprtn/cpyrgExprnClsrm/popup/slctnTeacherPopup.do */kccadr/oprtn/cpyrgExprnClsrm/popup/slctnTeacherChkPopup.do - */kccadr/oprtn/cpyrgExprnClsrm/popup/rsltRprtfileInsertNewPopup.do - */kccadr/oprtn/cpyrgExprnClsrm/popup/auldtRsltRprtfileInsertPopup.do + */kccadr/oprtn/cpyrgExprnClsrm/popup/**Popup.do diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/cndtnSspnIdtmt/cndtnEduPrcsAplctCfnMngDetail.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/cndtnSspnIdtmt/cndtnEduPrcsAplctCfnMngDetail.jsp index 9faba99e..3b4bd206 100644 --- a/src/main/webapp/WEB-INF/jsp/oprtn/cndtnSspnIdtmt/cndtnEduPrcsAplctCfnMngDetail.jsp +++ b/src/main/webapp/WEB-INF/jsp/oprtn/cndtnSspnIdtmt/cndtnEduPrcsAplctCfnMngDetail.jsp @@ -337,11 +337,17 @@ form.action = ""; openPopupAndSubmitForm('popupNewForm', 'popupNewForm', 900, 1200); } - - function fncAttachFileCreate(){ - alert("구현해야 합니다."); + + function fncAttachFileCreate(userId, rprtFileType){ + + document.instrForm.userId.value = userId; + document.instrForm.rprtFileType.value = rprtFileType; + document.instrForm.action = ""; + window.open("#", "_attachFileCreatePop", "scrollbars = no, top=100px, left=100px, height=550px, width=850px"); + document.instrForm.target = "_attachFileCreatePop"; + document.instrForm.submit(); + } - // 결과보고서 삭제 function fncAttachFileDelete( p_atchFileId @@ -409,6 +415,7 @@
+
@@ -589,7 +596,7 @@ - + @@ -603,7 +610,7 @@ - + diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/cpyrgExprnClsrm/popup/fndthRsltRprtfileInsertPopup.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/cpyrgExprnClsrm/popup/fndthRsltRprtfileInsertPopup.jsp new file mode 100644 index 00000000..375aa7a6 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/oprtn/cpyrgExprnClsrm/popup/fndthRsltRprtfileInsertPopup.jsp @@ -0,0 +1,188 @@ +<%@ 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 : filePopup.jsp + * @Description : 교육확정안 등록 팝업 + * @Modification Information + * @ + * @ 수정일 수정자 수정내용 + * @ ------- -------- --------------------------- + * @ 2021.08.09 김봉호 최초 생성 + * @author 김봉호 + * @since 2021.08.21 + * @version 1.0 + * @see + * + */ +%> + + + + + + + + " /> + " /> + " /> + + + + +
+
+ +
+

+ + 결과보고서 + + + 강의계획서 + + 등록 +

+
+ + + + + + + + + + + +
+

첨부파일

+
+ +
+ +
+
+
+
+
+ + +
+
+ +
+
+
+ +
+
+ + + +
diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/fndthEnhanceTrn/fndthEduPrcsAplctCfnMngDetail.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/fndthEnhanceTrn/fndthEduPrcsAplctCfnMngDetail.jsp index 31a39c1a..0e0c8ee6 100644 --- a/src/main/webapp/WEB-INF/jsp/oprtn/fndthEnhanceTrn/fndthEduPrcsAplctCfnMngDetail.jsp +++ b/src/main/webapp/WEB-INF/jsp/oprtn/fndthEnhanceTrn/fndthEduPrcsAplctCfnMngDetail.jsp @@ -292,9 +292,6 @@ } - function fncAttachFileCreate(){ - alert("구현해야 합니다."); - } // 결과보고서 삭제 function fncAttachFileDelete( @@ -364,6 +361,17 @@ } }); } + + function fncAttachFileCreate(userId, rprtFileType){ + + document.instrForm.userId.value = userId; + document.instrForm.rprtFileType.value = rprtFileType; + document.instrForm.action = ""; + window.open("#", "_attachFileCreatePop", "scrollbars = no, top=100px, left=100px, height=550px, width=850px"); + document.instrForm.target = "_attachFileCreatePop"; + document.instrForm.submit(); + + } @@ -389,6 +397,7 @@ +
@@ -579,7 +588,7 @@ - + @@ -593,7 +602,7 @@ - + From 2ccc3b3704b6b440d6eff158722c3031997dafb8 Mon Sep 17 00:00:00 2001 From: jiwoo Date: Fri, 2 Feb 2024 12:37:05 +0900 Subject: [PATCH 2/6] =?UTF-8?q?=EC=9D=B4=EC=A7=80=EC=9A=B0=20-=20=EA=B0=9C?= =?UTF-8?q?=EB=B0=9C=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20=EA=B3=84=EC=A0=95=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80(=EA=B8=B0=EC=86=8C=EC=9C=A0=EC=98=88=201~10)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/web/kccadr/login/SsoLoginUsr.jsp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main/webapp/WEB-INF/jsp/web/kccadr/login/SsoLoginUsr.jsp b/src/main/webapp/WEB-INF/jsp/web/kccadr/login/SsoLoginUsr.jsp index c2a89238..4daaa901 100644 --- a/src/main/webapp/WEB-INF/jsp/web/kccadr/login/SsoLoginUsr.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/kccadr/login/SsoLoginUsr.jsp @@ -156,6 +156,18 @@ function usrIdPassFind(choose){ + + + + + + + + + + + + + From 8aadeaaf881e3704ef00cbc60f0680e132df6ef8 Mon Sep 17 00:00:00 2001 From: jiwoo Date: Fri, 2 Feb 2024 16:20:10 +0900 Subject: [PATCH 4/6] =?UTF-8?q?=EC=9D=B4=EC=A7=80=EC=9A=B0=20-=20=EC=82=AC?= =?UTF-8?q?=EC=9A=A9=EC=9E=90=20=EC=84=B1=EC=9D=B8=20=EA=B5=90=EC=9C=A1=20?= =?UTF-8?q?=EC=8B=A0=EC=B2=AD=20=EC=8B=9C=20=EA=B4=80=EB=A6=AC=EC=9E=90=20?= =?UTF-8?q?noti=20pk=20=EA=B4=80=EB=A0=A8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../let/uss/notify/service/impl/NotifyManageServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/kcc/let/uss/notify/service/impl/NotifyManageServiceImpl.java b/src/main/java/kcc/let/uss/notify/service/impl/NotifyManageServiceImpl.java index 56893fcc..aaf1b734 100644 --- a/src/main/java/kcc/let/uss/notify/service/impl/NotifyManageServiceImpl.java +++ b/src/main/java/kcc/let/uss/notify/service/impl/NotifyManageServiceImpl.java @@ -97,7 +97,6 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements // for(String chasi : eduChasiOrdList) { NotifyManageVO notifyManageVO = new NotifyManageVO(); - notifyManageVO.setCmmNotifyOrd(veaCmmNotifyOrdGnrService.getNextStringId()); notifyManageVO.setLctrDivCd(lctrDivCd); notifyManageVO.setNotifyCn("["+loginVO.getId()+"]["+eduChasiOrdList.size()+"개 차시] 교육신청을 하였습니다."); String notifyPath = ""; @@ -114,6 +113,7 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements notifyManageVO.setFrstRegisterId(loginVO.getUniqId()); for(NotifyManageVO vo : notifyManageListVO) { notifyManageVO.setToUserId(vo.getMngUserId()); + notifyManageVO.setCmmNotifyOrd(veaCmmNotifyOrdGnrService.getNextStringId()); notifyManageDAO.insertNotifyInfo(notifyManageVO); } // } From 820fac6efaeea3af82d4a4658313025b5117cbf4 Mon Sep 17 00:00:00 2001 From: jiwoo Date: Fri, 2 Feb 2024 16:40:25 +0900 Subject: [PATCH 5/6] =?UTF-8?q?=EC=9D=B4=EC=A7=80=EC=9A=B0=20-=20=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=EC=9E=90=20=EC=84=B1=EC=9D=B8=20=EC=8B=A0=EC=B2=AD?= =?UTF-8?q?=EC=84=9C=20=EC=B6=9C=EB=A0=A5=20=EC=8B=9C=20=EA=B0=95=EC=9D=98?= =?UTF-8?q?=EB=A3=8C=EC=A7=80=EA=B8=89=EA=B8=B0=EA=B4=80,=20=EB=8C=80?= =?UTF-8?q?=EC=83=81,=20=EC=9D=B8=EC=9B=90=20=ED=95=AD=EB=AA=A9=20=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../popup/eduAplctMngDetailPopup.jsp | 65 ++++++++++--------- 1 file changed, 36 insertions(+), 29 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/adultVisitEdu/popup/eduAplctMngDetailPopup.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/adultVisitEdu/popup/eduAplctMngDetailPopup.jsp index 86dcbce3..0138a5e2 100644 --- a/src/main/webapp/WEB-INF/jsp/oprtn/adultVisitEdu/popup/eduAplctMngDetailPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/oprtn/adultVisitEdu/popup/eduAplctMngDetailPopup.jsp @@ -118,34 +118,35 @@ - -

교육매체

- - ${info.eduMd} - - - - -

교육매체

- - - - - -
- - - -

주소

- - - (${info.post}) ${info.addr} ${info.addrDetail} - - -
-
+ + + + +

교육매체

+ + + + + + + + + + +
+ + + +

주소

+ + + (${info.post}) ${info.addr}  ${info.addrDetail} + + +
+
@@ -187,7 +188,7 @@ -

신청상태${info.aprvlCd}

+

신청상태

@@ -227,6 +228,12 @@ + + +

강의료지급기관

+ + + @@ -281,8 +288,8 @@ (${list.lrnTm}분) - - + + From 19b948d1a5a2e16d5ac1fba411aaf09e3aff9e0c Mon Sep 17 00:00:00 2001 From: kmg Date: Fri, 2 Feb 2024 17:54:58 +0900 Subject: [PATCH 6/6] =?UTF-8?q?2024/02/02=20=EC=8B=A0=EC=B2=AD=EA=B8=B0?= =?UTF-8?q?=EA=B0=84=20=EB=8B=AC=EB=A0=A5=EB=B0=8F=EC=8B=9C=EA=B0=84=20inp?= =?UTF-8?q?ut=EB=B0=95=EC=8A=A4=20=EC=A0=95=EB=A0=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/oprtn/cpyrgExprnClsrm/oprtnAplctAnncmMngReg.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/cpyrgExprnClsrm/oprtnAplctAnncmMngReg.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/cpyrgExprnClsrm/oprtnAplctAnncmMngReg.jsp index bdf761ed..fb20f50e 100644 --- a/src/main/webapp/WEB-INF/jsp/oprtn/cpyrgExprnClsrm/oprtnAplctAnncmMngReg.jsp +++ b/src/main/webapp/WEB-INF/jsp/oprtn/cpyrgExprnClsrm/oprtnAplctAnncmMngReg.jsp @@ -353,7 +353,7 @@

필수입력 항목*

신청기간

- +