feat : [관리자] 성인 > 교육신청관리 리스트 정렬 수정
This commit is contained in:
parent
6073e72a84
commit
61557453c4
@ -147,11 +147,9 @@ public class EduAplctMngAdultController {
|
||||
vEEduAplctVO.setNotiUserId(user.getUniqId());
|
||||
vEEduAplctVO.setMenuNo(session.getAttribute("menuNo").toString());
|
||||
|
||||
System.out.println("orderByQuery getOrderByQuery :: "+ vEEduAplctVO.getOrderByQuery());
|
||||
|
||||
// OrderByQuery(교육희망일자) 값이 비여있으면 desc로 초기화 함 => hylee
|
||||
if(StringUtils.isEmpty(vEEduAplctVO.getOrderByQuery())) {
|
||||
vEEduAplctVO.setOrderByQuery("desc");
|
||||
vEEduAplctVO.setOrderByQuery("CC.EDU_HOPE_DT desc");
|
||||
}
|
||||
|
||||
List<VEEduAplctVO> vEEduAplctVOList = vEEduMIXService.selectPagingList(vEEduAplctVO);
|
||||
|
||||
@ -28,8 +28,10 @@
|
||||
linkPage(1);
|
||||
});
|
||||
|
||||
fn_orderByQueryInit();
|
||||
|
||||
});
|
||||
|
||||
|
||||
function linkPage(pageNo){
|
||||
var listForm = document.listForm ;
|
||||
listForm.pageIndex.value = pageNo ;
|
||||
@ -189,11 +191,11 @@
|
||||
<th>번호</th>
|
||||
<th>교육희망일자
|
||||
<c:choose>
|
||||
<c:when test="${vEEduAplctVO.orderByQuery eq 'asc' }">
|
||||
<img style="cursor:pointer;" class="eduHope" data-info="desc" src="<c:url value='/images/sortUp.png' />" />
|
||||
<c:when test="${vEEduAplctVO.orderByQuery eq 'CC.EDU_HOPE_DT asc' }">
|
||||
<img style="cursor:pointer;" class="eduHope" data-info="CC.EDU_HOPE_DT desc" src="<c:url value='/images/sortUp.png' />" />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<img style="cursor:pointer;" class="eduHope" data-info="asc" src="<c:url value='/images/sortDown.png' />" />
|
||||
<img style="cursor:pointer;" class="eduHope" data-info="CC.EDU_HOPE_DT asc" src="<c:url value='/images/sortDown.png' />" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</th>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user