Merge branch 'master' of

http://yongjoon.cho@vcs.iten.co.kr:9999/itnAdmin/koipa_edu_2025-1

Conflicts:
	src/main/webapp/WEB-INF/jsp/oprtn/prevent/cndtnEduPrcsAplctCfnMngDetail.jsp
This commit is contained in:
myname 2025-11-10 16:22:09 +09:00
commit d6fb0c2c0f
8 changed files with 66 additions and 30 deletions

View File

@ -463,6 +463,7 @@ public class ScholInfoController {
vEPrcsDetailVO = vEPrcsAplctPrdService.selectCompleteDocDetail(vEPrcsDetailVO); vEPrcsDetailVO = vEPrcsAplctPrdService.selectCompleteDocDetail(vEPrcsDetailVO);
vEPrcsDetailVO.setTrgtNm(egovCryptoUtil.decrypt(vEPrcsDetailVO.getTrgtNm())); vEPrcsDetailVO.setTrgtNm(egovCryptoUtil.decrypt(vEPrcsDetailVO.getTrgtNm()));
vEPrcsDetailVO.setChrgNm(egovCryptoUtil.decrypt(vEPrcsDetailVO.getChrgNm()));
//기본정보 //기본정보
model.addAttribute("completeDocDetail", vEPrcsDetailVO); model.addAttribute("completeDocDetail", vEPrcsDetailVO);

View File

@ -2040,23 +2040,19 @@
</select> </select>
<select id="selectCompleteDocDetail" parameterClass="VEPrcsDetailVO" resultClass="VEPrcsDetailVO"> <select id="selectCompleteDocDetail" parameterClass="VEPrcsDetailVO" resultClass="VEPrcsDetailVO">
SELECT SELECT b.prcs_aplct_prd_ord AS prcsAplctPdrOrd,
a.prcs_aplct_prd_ord AS prcsAplctPdrOrd a.lctr_div_cd AS lctrDivCd,
, b.lctr_div_cd AS lctrDivCd b.edu_cmplt_crtfc_nmbr AS eduCmpltCrtfcNmbr,
, a.edu_cmplt_crtfc_nmbr AS eduCmpltCrtfcNmbr c.title AS title,
, b.title AS title c.edu_strt_pnttm AS eduStrtPnttm,
, b.edu_strt_pnttm AS eduStrtPnttm a.chrg_nm AS chrgNm
, c.chrg_nm AS chrgNm FROM ve_edu_aplct a
FROM LEFT JOIN vea_aplct_detail_info b ON a.edu_aplct_ord = b.edu_aplct_ord
vea_aplct_detail_info a LEFT JOIN ve_prcs_aplct_prd c ON c.prcs_aplct_prd_ord = b.prcs_aplct_prd_ord
LEFT JOIN ve_prcs_aplct_prd b
ON a.prcs_aplct_prd_ord = b.prcs_aplct_prd_ord
LEFT JOIN ve_edu_aplct c
ON a.prcs_aplct_prd_ord = c.prcs_ord
AND c.aprvl_cd = '60'
WHERE WHERE
a.prcs_aplct_prd_ord = #prcsAplctPrdOrd# b.prcs_aplct_prd_ord = #prcsAplctPrdOrd#
AND a.aplct_state_cd = '20'; AND b.aplct_state_cd = '20'
AND a.edu_aplct_ord = #eduAplctOrd#
</select> </select>
<select id="selectMainContent" resultClass="VEPrcsDetailVO"> <select id="selectMainContent" resultClass="VEPrcsDetailVO">

View File

@ -485,6 +485,20 @@
vForm.action = "<c:url value='/kccadr/oprtn/cmdTrgt/trgtEduAplctCnfrmExcel.do'/>"; vForm.action = "<c:url value='/kccadr/oprtn/cmdTrgt/trgtEduAplctCnfrmExcel.do'/>";
vForm.submit(); vForm.submit();
} }
// 이수증
function fncPrintCert(prcsAplctPrdOrd, eduAplctOrd) {
var form = document.popForm;
form.prcsAplctPrdOrd.value = prcsAplctPrdOrd;
form.eduAplctOrd.value = eduAplctOrd;
form.action = "<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/popup/printCertPopup.do'/>";
window.open("#", "_printCertPop", "scrollbars = no, top=10px, left=10px, height=1500px, width=1200px");
form.target = "_printCertPop";
form.submit();
}
</script> </script>
</head> </head>
@ -528,6 +542,7 @@
<form id="popForm" name="popForm" method="post"> <form id="popForm" name="popForm" method="post">
<input type="hidden" name="pageIndex" value="1"/> <input type="hidden" name="pageIndex" value="1"/>
<input type="hidden" name="prcsAplctPrdOrd" value="" /> <input type="hidden" name="prcsAplctPrdOrd" value="" />
<input type="hidden" name="eduAplctOrd" value="" />
<input type="hidden" name="pageUnit" value="5" /> <input type="hidden" name="pageUnit" value="5" />
</form> </form>
<form:form id="detailForm" name="detailForm" commandName="vEPrcsDetailVO" method="post"> <form:form id="detailForm" name="detailForm" commandName="vEPrcsDetailVO" method="post">
@ -946,7 +961,7 @@
<!-- 교육 기간 종료 & 교육신청은 확정(60) & 교육상태는 이슈(20) & 수료증 출력 가능 --> <!-- 교육 기간 종료 & 교육신청은 확정(60) & 교육상태는 이슈(20) & 수료증 출력 가능 -->
<button type="button" class="btn_type04" <button type="button" class="btn_type04"
onclick="fncPrintCert('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert','${list.qustnrTmplatId}','${list.qestnrId10}','')"/>출력</button> onclick="fncPrintCert('<c:out value="${info.prcsAplctPrdOrd }" />', '<c:out value="${list.eduAplctOrd}"/>')"/>출력</button>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
- -

View File

@ -486,10 +486,11 @@
} }
// 이수증 // 이수증
function fncPrintCert(prcsAplctPrdOrd) { function fncPrintCert(prcsAplctPrdOrd, eduAplctOrd) {
var form = document.popForm; var form = document.popForm;
form.prcsAplctPrdOrd.value = prcsAplctPrdOrd; form.prcsAplctPrdOrd.value = prcsAplctPrdOrd;
form.eduAplctOrd.value = eduAplctOrd;
form.action = "<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/popup/printCertPopup.do'/>"; form.action = "<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/popup/printCertPopup.do'/>";
@ -591,6 +592,7 @@
<form id="popForm" name="popForm" method="post"> <form id="popForm" name="popForm" method="post">
<input type="hidden" name="pageIndex" value="1"/> <input type="hidden" name="pageIndex" value="1"/>
<input type="hidden" name="prcsAplctPrdOrd" value="" /> <input type="hidden" name="prcsAplctPrdOrd" value="" />
<input type="hidden" name="eduAplctOrd" value="" />
<input type="hidden" name="pageUnit" value="5" /> <input type="hidden" name="pageUnit" value="5" />
</form> </form>
<form:form id="detailForm" name="detailForm" commandName="vEPrcsDetailVO" method="post"> <form:form id="detailForm" name="detailForm" commandName="vEPrcsDetailVO" method="post">
@ -1008,7 +1010,7 @@
<c:when test="${list.qestRsltExists and list.aprvlCd eq '60' and list.aplctStateCd eq '20' and list.qestnrId10Cnt gt 0}"> <c:when test="${list.qestRsltExists and list.aprvlCd eq '60' and list.aplctStateCd eq '20' and list.qestnrId10Cnt gt 0}">
<!-- 교육 기간 종료 & 교육신청은 확정(60) & 교육상태는 이슈(20) & 수료증 출력 가능 --> <!-- 교육 기간 종료 & 교육신청은 확정(60) & 교육상태는 이슈(20) & 수료증 출력 가능 -->
<button type="button" class="btn_type04" <button type="button" class="btn_type04"
onclick="fncPrintCert('<c:out value="${info.prcsAplctPrdOrd }" />')"/>출력</button> onclick="fncPrintCert('<c:out value="${info.prcsAplctPrdOrd }" />', '<c:out value="${list.eduAplctOrd}"/>')"/>출력</button>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
- -

View File

@ -81,7 +81,7 @@
$(document).ready(function(){ $(document).ready(function(){
fncPrintCert_aft('${vEPrcsDetailVO.prcsAplctPrdOrd}'); fncPrintCert_aft('${vEPrcsDetailVO.prcsAplctPrdOrd}', '<c:out value="${vEPrcsDetailVO.eduAplctOrd}"/>');
}); });
function fncPopClose(){ function fncPopClose(){
@ -91,10 +91,12 @@
//이수증 출력 //이수증 출력
function fncPrintCert_aft( function fncPrintCert_aft(
prcsAplctPrdOrd //aplctOrd prcsAplctPrdOrd //aplctOrd
, eduAplctOrd
){ ){
paramObj = { paramObj = {
"prcsAplctPrdOrd" : prcsAplctPrdOrd "prcsAplctPrdOrd" : prcsAplctPrdOrd
, "eduAplctOrd" : eduAplctOrd
}; };
commonPopLayeropen( commonPopLayeropen(

View File

@ -485,6 +485,20 @@
vForm.action = "<c:url value='/kccadr/oprtn/prevent/trgtEduAplctCnfrmExcel.do'/>"; vForm.action = "<c:url value='/kccadr/oprtn/prevent/trgtEduAplctCnfrmExcel.do'/>";
vForm.submit(); vForm.submit();
} }
// 이수증
function fncPrintCert(prcsAplctPrdOrd, eduAplctOrd) {
var form = document.popForm;
form.prcsAplctPrdOrd.value = prcsAplctPrdOrd;
form.eduAplctOrd.value = eduAplctOrd;
form.action = "<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/popup/printCertPopup.do'/>";
window.open("#", "_printCertPop", "scrollbars = no, top=10px, left=10px, height=1500px, width=1200px");
form.target = "_printCertPop";
form.submit();
}
</script> </script>
</head> </head>
@ -528,6 +542,7 @@
<form id="popForm" name="popForm" method="post"> <form id="popForm" name="popForm" method="post">
<input type="hidden" name="pageIndex" value="1"/> <input type="hidden" name="pageIndex" value="1"/>
<input type="hidden" name="prcsAplctPrdOrd" value="" /> <input type="hidden" name="prcsAplctPrdOrd" value="" />
<input type="hidden" name="eduAplctOrd" value="" />
<input type="hidden" name="pageUnit" value="5" /> <input type="hidden" name="pageUnit" value="5" />
</form> </form>
<form:form id="detailForm" name="detailForm" commandName="vEPrcsDetailVO" method="post"> <form:form id="detailForm" name="detailForm" commandName="vEPrcsDetailVO" method="post">
@ -929,8 +944,10 @@
<c:choose> <c:choose>
<c:when test="${list.qestRsltExists and list.aprvlCd eq '60' and list.aplctStateCd eq '20' and list.qestnrId10Cnt gt 0}"> <c:when test="${list.qestRsltExists and list.aprvlCd eq '60' and list.aplctStateCd eq '20' and list.qestnrId10Cnt gt 0}">
<!-- 교육 기간 종료 & 교육신청은 확정(60) & 교육상태는 이슈(20) & 수료증 출력 가능 --> <!-- 교육 기간 종료 & 교육신청은 확정(60) & 교육상태는 이슈(20) & 수료증 출력 가능 -->
<button type="button" class="btn_type04" <button type="button" class="btn_type04"
onclick="fncPrintCert('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert','${list.qustnrTmplatId}','${list.qestnrId10}','')"/>출력</button> onclick="fncPrintCert('<c:out value="${info.prcsAplctPrdOrd }" />', '<c:out value="${list.eduAplctOrd}"/>')"/>출력</button>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
- -

View File

@ -83,6 +83,7 @@ function actionLogin() {
<option value="최길동:01077778888:W:19240501:EwekrDfuErjWrj/DSjfsduerlkrkjweR+DJfisdfioueklrjiJeudsdWErQWERasdvDASgfeRTdsioufiuERwe==">최길동:01077778888:W:19240501</option> <option value="최길동:01077778888:W:19240501:EwekrDfuErjWrj/DSjfsduerlkrkjweR+DJfisdfioueklrjiJeudsdWErQWERasdvDASgfeRTdsioufiuERwe==">최길동:01077778888:W:19240501</option>
<option value="채길동:01099998888:M:20040101:FwekrDfuErjWrj/DSjfsduerlkrkjweR+DJfisdfioueklrjiJeudsdWErQWERasdvDASgfeRTdsioufiuERwe==">채길동:01099998888:M:20040101</option> <option value="채길동:01099998888:M:20040101:FwekrDfuErjWrj/DSjfsduerlkrkjweR+DJfisdfioueklrjiJeudsdWErQWERasdvDASgfeRTdsioufiuERwe==">채길동:01099998888:M:20040101</option>
<option value="박길동:01055551111:W:19991124:GwekrDfuErjWrj/DSjfsduerlkrkjweR+DJfisdfioueklrjiJeudsdWErQWERasdvDASgfeRTdsioufiuERwe==">박길동:01055551111:W:19991124</option> <option value="박길동:01055551111:W:19991124:GwekrDfuErjWrj/DSjfsduerlkrkjweR+DJfisdfioueklrjiJeudsdWErQWERasdvDASgfeRTdsioufiuERwe==">박길동:01055551111:W:19991124</option>
<option value="이준호:01030266269:M:19890202:HwekrDfuErjWrj/DSjfsduerlkrkjweR+DJfisdfioueklrjiJeudsdWErQWERasdvDASgfeRTdsioufiuERwe==">이준호:01030266269:M:19890202</option>
</select> </select>
<br></br> <br></br>
<div class="login_form"> <div class="login_form">

View File

@ -152,10 +152,12 @@
//이수증 출력 //이수증 출력
function fncPrintCert( function fncPrintCert(
prcsAplctPrdOrd //aplctOrd prcsAplctPrdOrd //aplctOrd
, eduAplctOrd
){ ){
paramObj = { paramObj = {
"prcsAplctPrdOrd" : prcsAplctPrdOrd "prcsAplctPrdOrd" : prcsAplctPrdOrd
, "eduAplctOrd" : eduAplctOrd
}; };
commonPopLayeropen( commonPopLayeropen(
@ -299,7 +301,7 @@
<c:when test="${list.qestRsltExists and list.aprvlCd eq '60' and list.aplctStateCd eq '20' and list.qestnrId10Cnt gt 0}"> <c:when test="${list.qestRsltExists and list.aprvlCd eq '60' and list.aplctStateCd eq '20' and list.qestnrId10Cnt gt 0}">
<!-- 교육 기간 종료 & 교육신청은 확정(60) & 교육상태는 이슈(20) & 설문이 완료된 경우만 수료증 출력 가능 --> <!-- 교육 기간 종료 & 교육신청은 확정(60) & 교육상태는 이슈(20) & 설문이 완료된 경우만 수료증 출력 가능 -->
<button type="button" class="btn small mint line sur_bt" data-info="${list.eduAplctOrd}" data-tooltip="sub36_pop02" <button type="button" class="btn small mint line sur_bt" data-info="${list.eduAplctOrd}" data-tooltip="sub36_pop02"
onclick="fncPrintCert('${list.prcsAplctPrdOrd}')" title="출력">출력</button> onclick="fncPrintCert('${list.prcsAplctPrdOrd}', '<c:out value="${list.eduAplctOrd}"/>')" title="출력">출력</button>
</c:when> </c:when>
<c:when test="${list.dateChk eq 1 and not list.qestRsltExists}"> <c:when test="${list.dateChk eq 1 and not list.qestRsltExists}">
교육완료 교육완료