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;
|
||||
|
||||
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<VEInstrAsgnmVO> 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<VEInstrAsgnmVO> 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";
|
||||
}
|
||||
|
||||
@ -509,10 +509,12 @@
|
||||
) AA
|
||||
WHERE 1=1
|
||||
<isNotEmpty property="searchEduHopeStartDt">
|
||||
AND AA.eduHopeDt <![CDATA[ >= ]]> REPLACE(#searchEduHopeStartDt#, '.' , '')
|
||||
AND AA.eduHopeDt <![CDATA[ >= ]]> #searchEduHopeStartDt#
|
||||
<!-- AND AA.eduHopeDt <![CDATA[ >= ]]> REPLACE(#searchEduHopeStartDt#, '.' , '') -->
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="searchEduHopeEndDt">
|
||||
AND AA.eduHopeDt <![CDATA[ <= ]]> REPLACE(#searchEduHopeEndDt#, '.' , '')
|
||||
AND AA.eduHopeDt <![CDATA[ <= ]]> #searchEduHopeEndDt#
|
||||
<!-- AND AA.eduHopeDt <![CDATA[ <= ]]> REPLACE(#searchEduHopeEndDt#, '.' , '') -->
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="searchSubmitYn">
|
||||
<isEqual property="searchSubmitYn" compareValue="Y">
|
||||
@ -615,13 +617,16 @@
|
||||
|
||||
AND c.lctr_div_cd = #instrDiv#
|
||||
<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 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 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>
|
||||
|
||||
ORDER BY 1
|
||||
@ -4690,11 +4695,13 @@
|
||||
AND c.edu_chasi_ord=cc.edu_chasi_ord
|
||||
|
||||
<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 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 property="searchScholDivCd">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user