2024-03-19 10:05 청소년 수정 요청 사항 작업
검색조건, 거리계산
This commit is contained in:
parent
3cf5a71506
commit
e31dfc5626
@ -433,38 +433,44 @@ public class EduCnfrmMngTngrController {
|
|||||||
|
|
||||||
LoginVO user = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null;
|
LoginVO user = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null;
|
||||||
|
|
||||||
String[] s_param = vEEduAplctVO.getEduAplctOrd().split("@");
|
try {
|
||||||
|
String[] s_param = vEEduAplctVO.getEduAplctOrd().split("@");
|
||||||
vEEduAplctVO.setEduAplctOrd(s_param[0]);
|
|
||||||
vEEduAplctVO.setEduChasiOrd(s_param[1]);
|
vEEduAplctVO.setEduAplctOrd(s_param[0]);
|
||||||
|
vEEduAplctVO.setEduChasiOrd(s_param[1]);
|
||||||
System.out.println(s_param[0]);
|
|
||||||
System.out.println(s_param[1]);
|
System.out.println(s_param[0]);
|
||||||
|
System.out.println(s_param[1]);
|
||||||
// 확정
|
|
||||||
vEEduAplctVO.setSearchStatusArr(new String[]{"60"});
|
// 확정
|
||||||
// 청소년
|
vEEduAplctVO.setSearchStatusArr(new String[]{"60"});
|
||||||
vEEduAplctVO.setLctrDivCd(VeConstants.LCTR_DIV_CD_10);
|
// 청소년
|
||||||
//1.pageing step1
|
vEEduAplctVO.setLctrDivCd(VeConstants.LCTR_DIV_CD_10);
|
||||||
PaginationInfo paginationInfo = this.setPagingStep1(vEEduAplctVO);
|
//1.pageing step1
|
||||||
//2. pageing step2
|
PaginationInfo paginationInfo = this.setPagingStep1(vEEduAplctVO);
|
||||||
vEEduAplctVO = this.setPagingStep2(vEEduAplctVO, paginationInfo);
|
//2. pageing step2
|
||||||
vEEduAplctVO.setNotiUserId(user.getUniqId());
|
vEEduAplctVO = this.setPagingStep2(vEEduAplctVO, paginationInfo);
|
||||||
vEEduAplctVO.setMenuNo(session.getAttribute("menuNo").toString());
|
vEEduAplctVO.setNotiUserId(user.getUniqId());
|
||||||
List<VEInstrAsgnmVO> vEInstrAsgnmVOList = vEAsgnmMIXService.selectInstrDstncStep3(vEEduAplctVO);
|
vEEduAplctVO.setMenuNo(session.getAttribute("menuNo").toString());
|
||||||
|
List<VEInstrAsgnmVO> vEInstrAsgnmVOList = vEAsgnmMIXService.selectInstrDstncStep3(vEEduAplctVO);
|
||||||
//이름 복호화
|
|
||||||
vEInstrAsgnmVOList = egovCryptoUtil.decryptVEInstrAsgnmVOList(vEInstrAsgnmVOList);
|
//이름 복호화
|
||||||
|
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";
|
return "oprtn/tngrVisitEdu/popup/instrAsgnmDstncPopupCount";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -509,10 +509,12 @@
|
|||||||
) AA
|
) AA
|
||||||
WHERE 1=1
|
WHERE 1=1
|
||||||
<isNotEmpty property="searchEduHopeStartDt">
|
<isNotEmpty property="searchEduHopeStartDt">
|
||||||
AND AA.eduHopeDt <![CDATA[ >= ]]> REPLACE(#searchEduHopeStartDt#, '.' , '')
|
AND AA.eduHopeDt <![CDATA[ >= ]]> #searchEduHopeStartDt#
|
||||||
|
<!-- AND AA.eduHopeDt <![CDATA[ >= ]]> REPLACE(#searchEduHopeStartDt#, '.' , '') -->
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
<isNotEmpty property="searchEduHopeEndDt">
|
<isNotEmpty property="searchEduHopeEndDt">
|
||||||
AND AA.eduHopeDt <![CDATA[ <= ]]> REPLACE(#searchEduHopeEndDt#, '.' , '')
|
AND AA.eduHopeDt <![CDATA[ <= ]]> #searchEduHopeEndDt#
|
||||||
|
<!-- AND AA.eduHopeDt <![CDATA[ <= ]]> REPLACE(#searchEduHopeEndDt#, '.' , '') -->
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
<isNotEmpty property="searchSubmitYn">
|
<isNotEmpty property="searchSubmitYn">
|
||||||
<isEqual property="searchSubmitYn" compareValue="Y">
|
<isEqual property="searchSubmitYn" compareValue="Y">
|
||||||
@ -615,13 +617,16 @@
|
|||||||
|
|
||||||
AND c.lctr_div_cd = #instrDiv#
|
AND c.lctr_div_cd = #instrDiv#
|
||||||
<isNotEmpty property="searchEduHopeStartDt">
|
<isNotEmpty property="searchEduHopeStartDt">
|
||||||
AND b.edu_hope_dt <![CDATA[ >= ]]> REPLACE(#searchEduHopeStartDt#, '.' , '')
|
<!-- AND b.edu_hope_dt <![CDATA[ >= ]]> REPLACE(#searchEduHopeStartDt#, '.' , '') -->
|
||||||
|
AND b.edu_hope_dt <![CDATA[ >= ]]> #searchEduHopeStartDt#
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
<isNotEmpty property="searchEduHopeEndDt">
|
<isNotEmpty property="searchEduHopeEndDt">
|
||||||
AND b.edu_hope_dt <![CDATA[ <= ]]> REPLACE(#searchEduHopeEndDt#, '.' , '')
|
<!-- AND b.edu_hope_dt <![CDATA[ <= ]]> REPLACE(#searchEduHopeEndDt#, '.' , '') -->
|
||||||
|
AND b.edu_hope_dt <![CDATA[ <= ]]> #searchEduHopeEndDt#
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
<isNotEmpty property="searchKeyword">
|
<isNotEmpty property="searchKeyword">
|
||||||
AND c.SCHOL_INSTT_NM LIKE CONCAT('%' , #searchKeyword# , '%')
|
<!-- AND c.SCHOL_INSTT_NM LIKE CONCAT('%' , #searchKeyword# , '%') -->
|
||||||
|
AND c.SCHOL_INSTT_NM LIKE '%'||#searchKeyword#||'%'
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
|
|
||||||
ORDER BY 1
|
ORDER BY 1
|
||||||
@ -4690,11 +4695,13 @@
|
|||||||
AND c.edu_chasi_ord=cc.edu_chasi_ord
|
AND c.edu_chasi_ord=cc.edu_chasi_ord
|
||||||
|
|
||||||
<isNotEmpty property="searchStartDt">
|
<isNotEmpty property="searchStartDt">
|
||||||
AND CC.EDU_HOPE_DT <![CDATA[ >= ]]> REPLACE(#searchStartDt#, '.' , '')
|
<!-- AND CC.EDU_HOPE_DT <![CDATA[ >= ]]> REPLACE(#searchStartDt#, '.' , '') -->
|
||||||
|
AND CC.EDU_HOPE_DT <![CDATA[ >= ]]> #searchStartDt#
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
|
|
||||||
<isNotEmpty property="searchEndDt">
|
<isNotEmpty property="searchEndDt">
|
||||||
AND CC.EDU_HOPE_DT <![CDATA[ <= ]]> REPLACE(#searchEndDt#, '.' , '')
|
<!-- AND CC.EDU_HOPE_DT <![CDATA[ <= ]]> REPLACE(#searchEndDt#, '.' , '') -->
|
||||||
|
AND CC.EDU_HOPE_DT <![CDATA[ <= ]]> #searchEndDt#
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
|
|
||||||
<isNotEmpty property="searchScholDivCd">
|
<isNotEmpty property="searchScholDivCd">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user