2024-03-19 10:05 청소년 수정 요청 사항 작업
검색조건, 거리계산
This commit is contained in:
parent
3cf5a71506
commit
e31dfc5626
@ -433,6 +433,7 @@ public class EduCnfrmMngTngrController {
|
||||
|
||||
LoginVO user = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null;
|
||||
|
||||
try {
|
||||
String[] s_param = vEEduAplctVO.getEduAplctOrd().split("@");
|
||||
|
||||
vEEduAplctVO.setEduAplctOrd(s_param[0]);
|
||||
@ -466,6 +467,11 @@ public class EduCnfrmMngTngrController {
|
||||
model.addAttribute("list", vEInstrAsgnmVOList);
|
||||
model.addAttribute("resultMap", vEInstrAsgnmVOList.get(0));
|
||||
|
||||
}catch(Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
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