diff --git a/src/main/resources/egovframework/sqlmap/ve/edu/VEEdu_MIX_SQL_Postgresql.xml b/src/main/resources/egovframework/sqlmap/ve/edu/VEEdu_MIX_SQL_Postgresql.xml index a464be86..206c7e9c 100644 --- a/src/main/resources/egovframework/sqlmap/ve/edu/VEEdu_MIX_SQL_Postgresql.xml +++ b/src/main/resources/egovframework/sqlmap/ve/edu/VEEdu_MIX_SQL_Postgresql.xml @@ -896,10 +896,14 @@ 1 = 1 /* AND b.respond_id = a.user_id */ AND a.edu_aplct_ord = b.edu_aplct_ord - AND b.EDU_CHASI_ORD IS NULL )aa , + AND (b.EDU_CHASI_ORD IS NULL or b.EDU_CHASI_ORD = '') + )aa , lettnqestnrinfo bb WHERE + /* aa.qustnr_tmplat_id = bb.qustnr_tmplat_id + */ + 1=1 AND aa.qestnr_id = bb.qestnr_id GROUP BY aa.EDU_APLCT_ORD , diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/cndtnSspnIdtmt/popup/printCertPopup.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/cndtnSspnIdtmt/popup/printCertPopup.jsp index a79cbf5c..7aa0aede 100644 --- a/src/main/webapp/WEB-INF/jsp/oprtn/cndtnSspnIdtmt/popup/printCertPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/oprtn/cndtnSspnIdtmt/popup/printCertPopup.jsp @@ -27,6 +27,7 @@ + <%-- --%> - diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cmdTrgt/main.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cmdTrgt/main.jsp index 03c7a160..1b0ff345 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cmdTrgt/main.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cmdTrgt/main.jsp @@ -141,6 +141,42 @@ , "Y" , "QustnrList" ); + } + + //이수증 출력 + function fncPrintCert( + id //aplctOrd + , chId //chasiOrd + , p_site_id_cd //10,20,30 + , p_action //select, insert + , p_qustnrTmplatId //select, insert + , p_qestnrId //select, insert + , p_qustnrRespondId //select, insert + ){ + + paramObj = { + "eduAplctOrd" : id + ,"eduChasiOrd" : chId + ,"siteIdCd" : p_site_id_cd + ,"siteId" : "60" //설문정보를 위해서 설문지의 대상값을 넣는다. VE0011 10-청소년, 20-성인,30-체험, 40-외부, 50-기반, 60-기소 + + ,"action" : p_action + + ,"qustnrTmplatId" : p_qustnrTmplatId + ,"qestnrId" : p_qestnrId + ,"qustnrRespondId" : p_qustnrRespondId + }; + + commonPopLayeropen( + //"${pageContext.request.contextPath}/web/ve/aplct/cpyrgExprnClsrm/scholInfo/popup/qustnrPopList.do" + "${pageContext.request.contextPath}/web/ve/aplct/cpyrgExprnClsrm/scholInfo/popup/certPopList.do" + , 800 + , 700 + , paramObj + , "Y" + , "QustnrList" + ); + } diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/prevent/main.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/prevent/main.jsp index 6d6b4ae4..4f7b0e92 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/prevent/main.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/prevent/main.jsp @@ -141,7 +141,43 @@ , "Y" , "QustnrList" ); - } + } + + //이수증 출력 + function fncPrintCert( + id //aplctOrd + , chId //chasiOrd + , p_site_id_cd //10,20,30 + , p_action //select, insert + , p_qustnrTmplatId //select, insert + , p_qestnrId //select, insert + , p_qustnrRespondId //select, insert + ){ + + paramObj = { + "eduAplctOrd" : id + ,"eduChasiOrd" : chId + ,"siteIdCd" : p_site_id_cd + ,"siteId" : "60" //설문정보를 위해서 설문지의 대상값을 넣는다. VE0011 10-청소년, 20-성인,30-체험, 40-외부, 50-기반, 60-기소 + + ,"action" : p_action + + ,"qustnrTmplatId" : p_qustnrTmplatId + ,"qestnrId" : p_qestnrId + ,"qustnrRespondId" : p_qustnrRespondId + }; + + commonPopLayeropen( + //"${pageContext.request.contextPath}/web/ve/aplct/cpyrgExprnClsrm/scholInfo/popup/qustnrPopList.do" + "${pageContext.request.contextPath}/web/ve/aplct/cpyrgExprnClsrm/scholInfo/popup/certPopList.do" + , 800 + , 700 + , paramObj + , "Y" + , "QustnrList" + ); + + }