Merge branch 'JIWOO' into advc
This commit is contained in:
commit
74b993f83f
@ -9,6 +9,7 @@ import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpSession;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.poi.xssf.streaming.SXSSFWorkbook;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
@ -191,6 +192,9 @@ public class EduAsgnmCnfrmMngAdultController {
|
||||
|
||||
vEEduAplctVO.setSearchAsgnmAprvlCd("30"); //교육배치확정 대상은 강사가 배정확정되어야 한다.
|
||||
|
||||
if(StringUtils.isEmpty(vEEduAplctVO.getOrderByQuery())) {
|
||||
vEEduAplctVO.setOrderByQuery("CC.EDU_HOPE_DT desc");
|
||||
}
|
||||
List<VEEduAplctVO> vEEduAplctVOList = vEEduMIXService.selectAdultPagingList(vEEduAplctVO);
|
||||
//이름 복호화
|
||||
VEEduAplctVO vo = new VEEduAplctVO();
|
||||
|
||||
@ -189,6 +189,9 @@ public class EduCnfrmMngAdultController {
|
||||
System.out.println("vEEduAplctVO.getSearchRsdne()");
|
||||
System.out.println(vEEduAplctVO.getSearchRsdne());
|
||||
|
||||
if(StringUtils.isEmpty(vEEduAplctVO.getOrderByQuery())) {
|
||||
vEEduAplctVO.setOrderByQuery("AA.eduHopeDt desc");
|
||||
}
|
||||
List<VEEduAplctVO> vEEduAplctVOList = vEEduMIXService.selectTngrRsltPagingList(vEEduAplctVO);
|
||||
VEEduAplctVO vo = new VEEduAplctVO();
|
||||
for(int i=0; i < vEEduAplctVOList.size(); i++) {
|
||||
|
||||
@ -204,6 +204,9 @@ public class EduRsltMngAdultController {
|
||||
vEEduAplctVO = egovCryptoUtil.encryptVEEduAplctVOInfo(vEEduAplctVO);
|
||||
|
||||
|
||||
if(StringUtils.isEmpty(vEEduAplctVO.getOrderByQuery())) {
|
||||
vEEduAplctVO.setOrderByQuery("AA.eduHopeDt desc");
|
||||
}
|
||||
List<VEEduAplctVO> vEEduAplctVOList = vEEduMIXService.selectTngrRsltPagingList(vEEduAplctVO);
|
||||
VEEduAplctVO vo = new VEEduAplctVO();
|
||||
for(int i=0; i < vEEduAplctVOList.size(); i++) {
|
||||
|
||||
@ -1586,7 +1586,7 @@ public class MainController {
|
||||
}
|
||||
}
|
||||
|
||||
menuManageVO.setAuthorCode(auth);
|
||||
/*menuManageVO.setAuthorCode(auth);*/
|
||||
menuManageVO.setMenuUserType(menuManageVO.getMenuUserType());
|
||||
List<MenuManageJTreeVO> menuResultList = menuCreateManageService.selectMenuListJtreeWeb(menuManageVO) ;
|
||||
System.out.println("======================== menuResultList");
|
||||
|
||||
@ -2816,13 +2816,13 @@
|
||||
AND AA.insttNm LIKE '%' || #searchKeyword# || '%'
|
||||
</isEqual>
|
||||
</isNotEmpty>
|
||||
ORDER BY 1
|
||||
|
||||
<isEmpty property="orderByQuery">
|
||||
ORDER BY 1
|
||||
, eduAplctOrd desc, eduChasiOrd
|
||||
</isEmpty>
|
||||
<isNotEmpty property="orderByQuery">
|
||||
, $orderByQuery$
|
||||
ORDER BY $orderByQuery$
|
||||
</isNotEmpty>
|
||||
<isNotEqual property="pageIndex" compareValue="0">
|
||||
/*
|
||||
|
||||
@ -38,6 +38,12 @@
|
||||
$(document).ready(function(){
|
||||
|
||||
|
||||
$('.eduHope').click(function(){
|
||||
var $tag = $('#orderByQuery');
|
||||
$tag.val($(this).data('info'));
|
||||
linkPage(1);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
function linkPage(pageNo){
|
||||
@ -80,6 +86,8 @@
|
||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${vEEduAplctVO.searchSortCnd}" />" />
|
||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${vEEduAplctVO.searchSortOrd}" />" />
|
||||
<input type="hidden" name="eduAplctOrd" value="" />
|
||||
<input type="hidden" name="orderByQuery" id="orderByQuery" value="<c:out value="${vEEduAplctVO.orderByQuery}" />" />
|
||||
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
<!-- cont_tit -->
|
||||
@ -167,7 +175,16 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<th>교육희망일자</th>
|
||||
<th>교육희망일자
|
||||
<c:choose>
|
||||
<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="CC.EDU_HOPE_DT asc" src="<c:url value='/images/sortDown.png' />" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</th>
|
||||
<th>시간</th>
|
||||
<th>온·오프라인</th>
|
||||
<th>지역</th>
|
||||
|
||||
@ -64,6 +64,12 @@
|
||||
// setSearchMonthDate('${vEEduAplctVO.searchMonth}');
|
||||
// }
|
||||
|
||||
$('.eduHope').click(function(){
|
||||
var $tag = $('#orderByQuery');
|
||||
$tag.val($(this).data('info'));
|
||||
linkPage(1);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
function setSearchMonthDate(month){
|
||||
@ -520,6 +526,7 @@
|
||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${vEEduAplctVO.searchSortCnd}" />" />
|
||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${vEEduAplctVO.searchSortOrd}" />" />
|
||||
<input type="hidden" name="eduAplctOrd" value="" />
|
||||
<input type="hidden" name="orderByQuery" id="orderByQuery" value="<c:out value="${vEEduAplctVO.orderByQuery}" />" />
|
||||
|
||||
<input type="hidden" name="instrDiv" value="<c:out value="${vEEduAplctVO.instrDiv}" />" /><!-- 성인 -->
|
||||
|
||||
@ -637,7 +644,16 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="chkAll(this);" /><label for="checkAll"></label></th>
|
||||
<th>교육희망일자</th>
|
||||
<th>교육희망일자
|
||||
<c:choose>
|
||||
<c:when test="${vEEduAplctVO.orderByQuery eq 'AA.eduHopeDt asc' }">
|
||||
<img style="cursor:pointer;" class="eduHope" data-info="AA.eduHopeDt desc" src="<c:url value='/images/sortUp.png' />" />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<img style="cursor:pointer;" class="eduHope" data-info="AA.eduHopeDt asc" src="<c:url value='/images/sortDown.png' />" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</th>
|
||||
<th>요일</th>
|
||||
<th>시간</th>
|
||||
<th>온·오프라인</th>
|
||||
@ -657,7 +673,7 @@
|
||||
<input name="chk" class="${list.asgnmAprvlCd}"
|
||||
value="${list.eduAplctOrd}@${list.eduChasiOrd}" data-phone="<c:out value='${list.clphone}' />"
|
||||
data-email="<c:out value='${list.email}' />" data-cnt="<c:out value='${list.cnt}'/>" data-lctr="<c:out value='${list.userId}' />"
|
||||
title="Check" type="checkbox"/>${list.asgnmAprvlCd}
|
||||
title="Check" type="checkbox"/>
|
||||
</td>
|
||||
<td>
|
||||
<fmt:parseDate value="${list.eduHopeDt}" var="eduHopeDt" pattern="yyyy.MM.dd"/>
|
||||
|
||||
@ -38,6 +38,12 @@
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
|
||||
$('.eduHope').click(function(){
|
||||
var $tag = $('#orderByQuery');
|
||||
$tag.val($(this).data('info'));
|
||||
linkPage(1);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
function fncGoList(){
|
||||
@ -242,6 +248,7 @@
|
||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${vEEduAplctVO.searchSortOrd}" />" />
|
||||
<input type="hidden" name="eduAplctOrd" value="" />
|
||||
<input type="hidden" name="eduChasiOrd" value="" />
|
||||
<input type="hidden" name="orderByQuery" id="orderByQuery" value="<c:out value="${vEEduAplctVO.orderByQuery}" />" />
|
||||
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
@ -328,7 +335,16 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="chkAll(this);" /><label for="checkAll"></label></th>
|
||||
<th>교육일자</th>
|
||||
<th>교육일자
|
||||
<c:choose>
|
||||
<c:when test="${vEEduAplctVO.orderByQuery eq 'AA.eduHopeDt asc' }">
|
||||
<img style="cursor:pointer;" class="eduHope" data-info="AA.eduHopeDt desc" src="<c:url value='/images/sortUp.png' />" />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<img style="cursor:pointer;" class="eduHope" data-info="AA.eduHopeDt asc" src="<c:url value='/images/sortDown.png' />" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</th>
|
||||
<th>차시</th>
|
||||
<th>기관구분</th>
|
||||
<th>신청유형</th>
|
||||
|
||||
@ -82,26 +82,6 @@ $(document).ready(function(){
|
||||
//-- /반복끝
|
||||
});
|
||||
|
||||
|
||||
// 이달의 과정 상태값 확인
|
||||
$(".best_con").each(function() {
|
||||
var currentDate = new Date(); // 현재 날짜 가져오기
|
||||
var strtPnttmValue = $(this).find("#strtPnttm").val(); // 시작 시간 값 가져오기
|
||||
var endPnttmValue = $(this).find("#endPnttm").val(); // 종료 시간 값 가져오기
|
||||
|
||||
var strtDate = new Date(strtPnttmValue); // 시작 시간을 Date 객체로 변환
|
||||
var endDate = new Date(endPnttmValue); // 종료 시간을 Date 객체로 변환
|
||||
|
||||
|
||||
// 현재 날짜가 시작 시간과 종료 시간 사이에 있는지 확인
|
||||
/*i f (currentDate >= strtDate && currentDate <= endDate) {
|
||||
console.log("현재 날짜가 포함됩니다: " + $(this).text().trim());
|
||||
} else {
|
||||
console.log("현재 날짜가 포함되지 않습니다: " + $(this).text().trim());
|
||||
$(this).find("button").attr('onclick', 'location.href="${pageContext.request.contextPath}/web/ve/aplct/fndtnEnhanceTrn/eduInfo.do"')
|
||||
} */
|
||||
});
|
||||
|
||||
// 리스트 상태값 확인
|
||||
$(".ddlnCdStts").each(function() {
|
||||
var $thisCell = $(this);
|
||||
@ -607,8 +587,8 @@ $(document).ready(function(){
|
||||
|
||||
<c:forEach var="list" items="${courseOfTheMonthList}" begin="0" end="3">
|
||||
<div class="best_con">
|
||||
<input type="hidden" id="strtPnttm" value="${list.strtPnttm }">
|
||||
<input type="hidden" id="endPnttm" value="${list.endPnttm }">
|
||||
<input type="hidden" value="${list.strtPnttm }">
|
||||
<input type="hidden" value="${list.endPnttm }">
|
||||
<ul>
|
||||
<li class="con_title"><c:out value="${list.prcsNm}"/></li>
|
||||
<li class="con_date"><c:out value="${list.eduStrtPnttm}"/>~<c:out value="${list.eduDdlnPnttm}"/></li>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user