Merge branch 'master' of http://yongjoon.cho@vcs.iten.co.kr:9999/itnAdmin/koipa_edu_2025-1
This commit is contained in:
commit
6d618dd821
@ -224,7 +224,6 @@ public class CmdTrgtMngController {
|
|||||||
|
|
||||||
//selectCondition = "AND a."+searchStatus+" LIKE CONCAT ('%', '" +cndtnTrgtInfoMngVO.getSearchKeyword() + "', '%')";
|
//selectCondition = "AND a."+searchStatus+" LIKE CONCAT ('%', '" +cndtnTrgtInfoMngVO.getSearchKeyword() + "', '%')";
|
||||||
selectCondition += "AND a."+searchStatus+" LIKE '%'||'" +cndtnTrgtInfoMngVO.getSearchKeyword() + "'||'%' ";
|
selectCondition += "AND a."+searchStatus+" LIKE '%'||'" +cndtnTrgtInfoMngVO.getSearchKeyword() + "'||'%' ";
|
||||||
cndtnTrgtInfoMngVO.setSearchQuery(selectCondition);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2265,14 +2264,31 @@ public class CmdTrgtMngController {
|
|||||||
//2. pageing step2
|
//2. pageing step2
|
||||||
cndtnTrgtInfoMngVO = this.setCndtnPagingStep2(cndtnTrgtInfoMngVO, paginationInfo);
|
cndtnTrgtInfoMngVO = this.setCndtnPagingStep2(cndtnTrgtInfoMngVO, paginationInfo);
|
||||||
|
|
||||||
//검색 조회
|
//검색 조회
|
||||||
String selectCondition = "";
|
String selectCondition = "";
|
||||||
if(StringUtil.isNotEmpty(cndtnTrgtInfoMngVO.getSearchKeyword())){
|
|
||||||
String searchStatus = cndtnTrgtInfoMngVO.getSearchStatus();
|
if(StringUtil.isNotEmpty(cndtnTrgtInfoMngVO.getSearchKeyword())){
|
||||||
// selectCondition = "AND a."+searchStatus+" LIKE CONCAT ('%', '" +cndtnTrgtInfoMngVO.getSearchKeyword() + "', '%')";
|
String searchStatus = cndtnTrgtInfoMngVO.getSearchStatus();
|
||||||
selectCondition = "AND a."+searchStatus+" LIKE '%" +cndtnTrgtInfoMngVO.getSearchKeyword() + "%'";
|
|
||||||
cndtnTrgtInfoMngVO.setSearchQuery(selectCondition);
|
//selectCondition = "AND a."+searchStatus+" LIKE CONCAT ('%', '" +cndtnTrgtInfoMngVO.getSearchKeyword() + "', '%')";
|
||||||
|
selectCondition += "AND a."+searchStatus+" LIKE '%'||'" +cndtnTrgtInfoMngVO.getSearchKeyword() + "'||'%' ";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//성명검색
|
||||||
|
if(StringUtil.isNotEmpty(cndtnTrgtInfoMngVO.getSearchKeywordFrom())){
|
||||||
|
//cndtnTrgtInfoMngVO.setSearchKeywordFrom(egovCryptoUtil.encrypt(cndtnTrgtInfoMngVO.getSearchKeywordFrom()));
|
||||||
|
selectCondition += " AND a.trgt_nm = '" +egovCryptoUtil.encrypt(cndtnTrgtInfoMngVO.getSearchKeywordFrom()) + "' ";
|
||||||
|
//cndtnTrgtInfoMngVO.setSearchQuery(selectCondition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//생년월일검색
|
||||||
|
if(StringUtil.isNotEmpty(cndtnTrgtInfoMngVO.getSearchKeywordTo())){
|
||||||
|
selectCondition += " AND a.d_birth ='" + egovCryptoUtil.encrypt(cndtnTrgtInfoMngVO.getSearchKeywordTo()) + "' ";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
cndtnTrgtInfoMngVO.setSearchQuery(selectCondition);
|
||||||
|
|
||||||
if(StringUtils.isNotEmpty(cndtnTrgtInfoMngVO.getSearchSelStatus()))
|
if(StringUtils.isNotEmpty(cndtnTrgtInfoMngVO.getSearchSelStatus()))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -219,7 +219,6 @@ public class CndtnTrgtMngController {
|
|||||||
|
|
||||||
//selectCondition = "AND a."+searchStatus+" LIKE CONCAT ('%', '" +cndtnTrgtInfoMngVO.getSearchKeyword() + "', '%')";
|
//selectCondition = "AND a."+searchStatus+" LIKE CONCAT ('%', '" +cndtnTrgtInfoMngVO.getSearchKeyword() + "', '%')";
|
||||||
selectCondition += "AND a."+searchStatus+" LIKE '%'||'" +cndtnTrgtInfoMngVO.getSearchKeyword() + "'||'%' ";
|
selectCondition += "AND a."+searchStatus+" LIKE '%'||'" +cndtnTrgtInfoMngVO.getSearchKeyword() + "'||'%' ";
|
||||||
cndtnTrgtInfoMngVO.setSearchQuery(selectCondition);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2259,14 +2258,31 @@ public class CndtnTrgtMngController {
|
|||||||
//2. pageing step2
|
//2. pageing step2
|
||||||
cndtnTrgtInfoMngVO = this.setCndtnPagingStep2(cndtnTrgtInfoMngVO, paginationInfo);
|
cndtnTrgtInfoMngVO = this.setCndtnPagingStep2(cndtnTrgtInfoMngVO, paginationInfo);
|
||||||
|
|
||||||
//검색 조회
|
//검색 조회
|
||||||
String selectCondition = "";
|
String selectCondition = "";
|
||||||
if(StringUtil.isNotEmpty(cndtnTrgtInfoMngVO.getSearchKeyword())){
|
|
||||||
String searchStatus = cndtnTrgtInfoMngVO.getSearchStatus();
|
if(StringUtil.isNotEmpty(cndtnTrgtInfoMngVO.getSearchKeyword())){
|
||||||
// selectCondition = "AND a."+searchStatus+" LIKE CONCAT ('%', '" +cndtnTrgtInfoMngVO.getSearchKeyword() + "', '%')";
|
String searchStatus = cndtnTrgtInfoMngVO.getSearchStatus();
|
||||||
selectCondition = "AND a."+searchStatus+" LIKE '%" +cndtnTrgtInfoMngVO.getSearchKeyword() + "%'";
|
|
||||||
cndtnTrgtInfoMngVO.setSearchQuery(selectCondition);
|
//selectCondition = "AND a."+searchStatus+" LIKE CONCAT ('%', '" +cndtnTrgtInfoMngVO.getSearchKeyword() + "', '%')";
|
||||||
|
selectCondition += "AND a."+searchStatus+" LIKE '%'||'" +cndtnTrgtInfoMngVO.getSearchKeyword() + "'||'%' ";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//성명검색
|
||||||
|
if(StringUtil.isNotEmpty(cndtnTrgtInfoMngVO.getSearchKeywordFrom())){
|
||||||
|
//cndtnTrgtInfoMngVO.setSearchKeywordFrom(egovCryptoUtil.encrypt(cndtnTrgtInfoMngVO.getSearchKeywordFrom()));
|
||||||
|
selectCondition += " AND a.trgt_nm = '" +egovCryptoUtil.encrypt(cndtnTrgtInfoMngVO.getSearchKeywordFrom()) + "' ";
|
||||||
|
//cndtnTrgtInfoMngVO.setSearchQuery(selectCondition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//생년월일검색
|
||||||
|
if(StringUtil.isNotEmpty(cndtnTrgtInfoMngVO.getSearchKeywordTo())){
|
||||||
|
selectCondition += " AND a.d_birth ='" + egovCryptoUtil.encrypt(cndtnTrgtInfoMngVO.getSearchKeywordTo()) + "' ";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
cndtnTrgtInfoMngVO.setSearchQuery(selectCondition);
|
||||||
|
|
||||||
if(StringUtils.isNotEmpty(cndtnTrgtInfoMngVO.getSearchSelStatus()))
|
if(StringUtils.isNotEmpty(cndtnTrgtInfoMngVO.getSearchSelStatus()))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -188,7 +188,7 @@
|
|||||||
defaultText="선택"
|
defaultText="선택"
|
||||||
/>
|
/>
|
||||||
<!-- <input type="text" name="instrNm"/> -->
|
<!-- <input type="text" name="instrNm"/> -->
|
||||||
<div class="put_photo">
|
<%-- <div class="put_photo">
|
||||||
<div class="put_photo_in">
|
<div class="put_photo_in">
|
||||||
<div class="put_photo_box">
|
<div class="put_photo_box">
|
||||||
<img id="emptyImg" src="${pageContext.request.contextPath}/visitEdu/usr/publish/images/content/img_add.png" alt="이미지를 넣어주세요">
|
<img id="emptyImg" src="${pageContext.request.contextPath}/visitEdu/usr/publish/images/content/img_add.png" alt="이미지를 넣어주세요">
|
||||||
@ -199,7 +199,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <button type="button" class="btnType01" onclick="fncPhotoPopup(); return false;">사진등록</button> -->
|
<!-- <button type="button" class="btnType01" onclick="fncPhotoPopup(); return false;">사진등록</button> -->
|
||||||
</div>
|
</div> --%>
|
||||||
<%-- <ve:select codeId="VE0015" name="prcsDiv" id="prcsDiv" css="class='sel_type1'" selectedValue="<c:out value='${info.prcsDiv}'/>" defaultValue='10'/> --%>
|
<%-- <ve:select codeId="VE0015" name="prcsDiv" id="prcsDiv" css="class='sel_type1'" selectedValue="<c:out value='${info.prcsDiv}'/>" defaultValue='10'/> --%>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -188,7 +188,7 @@
|
|||||||
defaultText="선택"
|
defaultText="선택"
|
||||||
/>
|
/>
|
||||||
<!-- <input type="text" name="instrNm"/> -->
|
<!-- <input type="text" name="instrNm"/> -->
|
||||||
<div class="put_photo">
|
<%-- <div class="put_photo">
|
||||||
<div class="put_photo_in">
|
<div class="put_photo_in">
|
||||||
<div class="put_photo_box">
|
<div class="put_photo_box">
|
||||||
<img id="emptyImg" src="${pageContext.request.contextPath}/visitEdu/usr/publish/images/content/img_add.png" alt="이미지를 넣어주세요">
|
<img id="emptyImg" src="${pageContext.request.contextPath}/visitEdu/usr/publish/images/content/img_add.png" alt="이미지를 넣어주세요">
|
||||||
@ -199,7 +199,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <button type="button" class="btnType01" onclick="fncPhotoPopup(); return false;">사진등록</button> -->
|
<!-- <button type="button" class="btnType01" onclick="fncPhotoPopup(); return false;">사진등록</button> -->
|
||||||
</div>
|
</div> --%>
|
||||||
<%-- <ve:select codeId="VE0015" name="prcsDiv" id="prcsDiv" css="class='sel_type1'" selectedValue="<c:out value='${info.prcsDiv}'/>" defaultValue='10'/> --%>
|
<%-- <ve:select codeId="VE0015" name="prcsDiv" id="prcsDiv" css="class='sel_type1'" selectedValue="<c:out value='${info.prcsDiv}'/>" defaultValue='10'/> --%>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -188,7 +188,7 @@
|
|||||||
defaultText="선택"
|
defaultText="선택"
|
||||||
/>
|
/>
|
||||||
<!-- <input type="text" name="instrNm"/> -->
|
<!-- <input type="text" name="instrNm"/> -->
|
||||||
<div class="put_photo">
|
<%-- <div class="put_photo">
|
||||||
<div class="put_photo_in">
|
<div class="put_photo_in">
|
||||||
<div class="put_photo_box">
|
<div class="put_photo_box">
|
||||||
<img id="emptyImg" src="${pageContext.request.contextPath}/visitEdu/usr/publish/images/content/img_add.png" alt="이미지를 넣어주세요">
|
<img id="emptyImg" src="${pageContext.request.contextPath}/visitEdu/usr/publish/images/content/img_add.png" alt="이미지를 넣어주세요">
|
||||||
@ -199,7 +199,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <button type="button" class="btnType01" onclick="fncPhotoPopup(); return false;">사진등록</button> -->
|
<!-- <button type="button" class="btnType01" onclick="fncPhotoPopup(); return false;">사진등록</button> -->
|
||||||
</div>
|
</div> --%>
|
||||||
<%-- <ve:select codeId="VE0015" name="prcsDiv" id="prcsDiv" css="class='sel_type1'" selectedValue="<c:out value='${info.prcsDiv}'/>" defaultValue='10'/> --%>
|
<%-- <ve:select codeId="VE0015" name="prcsDiv" id="prcsDiv" css="class='sel_type1'" selectedValue="<c:out value='${info.prcsDiv}'/>" defaultValue='10'/> --%>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user