feat : [관리자] 성인 > 교육신청관리 리스트 정렬 수정

This commit is contained in:
hylee 2023-07-14 17:26:46 +09:00
parent 6073e72a84
commit 61557453c4
2 changed files with 7 additions and 7 deletions

View File

@ -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);

View File

@ -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>