diff --git a/src/main/java/kcc/ve/oprtn/tngrVisitEdu/eduCnfrmMng/web/EduCnfrmMngTngrController.java b/src/main/java/kcc/ve/oprtn/tngrVisitEdu/eduCnfrmMng/web/EduCnfrmMngTngrController.java index e0bec6ec..f53a3e56 100644 --- a/src/main/java/kcc/ve/oprtn/tngrVisitEdu/eduCnfrmMng/web/EduCnfrmMngTngrController.java +++ b/src/main/java/kcc/ve/oprtn/tngrVisitEdu/eduCnfrmMng/web/EduCnfrmMngTngrController.java @@ -433,38 +433,44 @@ public class EduCnfrmMngTngrController { LoginVO user = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; - String[] s_param = vEEduAplctVO.getEduAplctOrd().split("@"); - - vEEduAplctVO.setEduAplctOrd(s_param[0]); - vEEduAplctVO.setEduChasiOrd(s_param[1]); - - System.out.println(s_param[0]); - System.out.println(s_param[1]); - - // 확정 - vEEduAplctVO.setSearchStatusArr(new String[]{"60"}); - // 청소년 - vEEduAplctVO.setLctrDivCd(VeConstants.LCTR_DIV_CD_10); - //1.pageing step1 - PaginationInfo paginationInfo = this.setPagingStep1(vEEduAplctVO); - //2. pageing step2 - vEEduAplctVO = this.setPagingStep2(vEEduAplctVO, paginationInfo); - vEEduAplctVO.setNotiUserId(user.getUniqId()); - vEEduAplctVO.setMenuNo(session.getAttribute("menuNo").toString()); - List vEInstrAsgnmVOList = vEAsgnmMIXService.selectInstrDstncStep3(vEEduAplctVO); - - //이름 복호화 - vEInstrAsgnmVOList = egovCryptoUtil.decryptVEInstrAsgnmVOList(vEInstrAsgnmVOList); - + try { + String[] s_param = vEEduAplctVO.getEduAplctOrd().split("@"); + + vEEduAplctVO.setEduAplctOrd(s_param[0]); + vEEduAplctVO.setEduChasiOrd(s_param[1]); + + System.out.println(s_param[0]); + System.out.println(s_param[1]); + + // 확정 + vEEduAplctVO.setSearchStatusArr(new String[]{"60"}); + // 청소년 + vEEduAplctVO.setLctrDivCd(VeConstants.LCTR_DIV_CD_10); + //1.pageing step1 + PaginationInfo paginationInfo = this.setPagingStep1(vEEduAplctVO); + //2. pageing step2 + vEEduAplctVO = this.setPagingStep2(vEEduAplctVO, paginationInfo); + vEEduAplctVO.setNotiUserId(user.getUniqId()); + vEEduAplctVO.setMenuNo(session.getAttribute("menuNo").toString()); + List vEInstrAsgnmVOList = vEAsgnmMIXService.selectInstrDstncStep3(vEEduAplctVO); + + //이름 복호화 + vEInstrAsgnmVOList = egovCryptoUtil.decryptVEInstrAsgnmVOList(vEInstrAsgnmVOList); + + + + + //3.pageing step3 + paginationInfo = this.setPagingAsgnmStep3(vEInstrAsgnmVOList, paginationInfo); + //model.addAttribute("paginationInfo", paginationInfo); + //대상 리스트, 페이징 정보 전달 + model.addAttribute("list", vEInstrAsgnmVOList); + model.addAttribute("resultMap", vEInstrAsgnmVOList.get(0)); + + }catch(Exception ex) { + ex.printStackTrace(); + } - - - //3.pageing step3 - paginationInfo = this.setPagingAsgnmStep3(vEInstrAsgnmVOList, paginationInfo); - //model.addAttribute("paginationInfo", paginationInfo); - //대상 리스트, 페이징 정보 전달 - model.addAttribute("list", vEInstrAsgnmVOList); - model.addAttribute("resultMap", vEInstrAsgnmVOList.get(0)); return "oprtn/tngrVisitEdu/popup/instrAsgnmDstncPopupCount"; } diff --git a/src/main/resources/egovframework/sqlmap/ve/asgnm/VEAsgnm_MIX_SQL_Tibero.xml b/src/main/resources/egovframework/sqlmap/ve/asgnm/VEAsgnm_MIX_SQL_Tibero.xml index 2bd49a4f..59b0016d 100644 --- a/src/main/resources/egovframework/sqlmap/ve/asgnm/VEAsgnm_MIX_SQL_Tibero.xml +++ b/src/main/resources/egovframework/sqlmap/ve/asgnm/VEAsgnm_MIX_SQL_Tibero.xml @@ -509,10 +509,12 @@ ) AA WHERE 1=1 - AND AA.eduHopeDt = ]]> REPLACE(#searchEduHopeStartDt#, '.' , '') + AND AA.eduHopeDt = ]]> #searchEduHopeStartDt# + - AND AA.eduHopeDt REPLACE(#searchEduHopeEndDt#, '.' , '') + AND AA.eduHopeDt #searchEduHopeEndDt# + @@ -615,13 +617,16 @@ AND c.lctr_div_cd = #instrDiv# - AND b.edu_hope_dt = ]]> REPLACE(#searchEduHopeStartDt#, '.' , '') + + AND b.edu_hope_dt = ]]> #searchEduHopeStartDt# - AND b.edu_hope_dt REPLACE(#searchEduHopeEndDt#, '.' , '') + + AND b.edu_hope_dt #searchEduHopeEndDt# - AND c.SCHOL_INSTT_NM LIKE CONCAT('%' , #searchKeyword# , '%') + + AND c.SCHOL_INSTT_NM LIKE '%'||#searchKeyword#||'%' ORDER BY 1 @@ -4690,11 +4695,13 @@ AND c.edu_chasi_ord=cc.edu_chasi_ord - AND CC.EDU_HOPE_DT = ]]> REPLACE(#searchStartDt#, '.' , '') + + AND CC.EDU_HOPE_DT = ]]> #searchStartDt# - AND CC.EDU_HOPE_DT REPLACE(#searchEndDt#, '.' , '') + + AND CC.EDU_HOPE_DT #searchEndDt#