관리자 일/월별 매출액 엑셀 다운로드 시 데이터 결제일 정렬 오류 수정

리스트 화면 1/3/6개월 검색 후 개월 선택값 초기화 현상 오류 수정
This commit is contained in:
rosewiper 2024-09-11 12:27:47 +09:00
parent c2a682a473
commit 6076cc3e3d
3 changed files with 21 additions and 6 deletions

View File

@ -68,6 +68,7 @@ public class MjonPayVO extends ComDefaultVO{
private String recvUserId; // 받는 사용자 아이디
private String admUserId; // 관리자 아이디
private String blineCode;
private String monthTerm; //검색 개월 1/3/6개월
public String getBlineCode() {
@ -1735,6 +1736,14 @@ public class MjonPayVO extends ComDefaultVO{
public void setAmtAfterPayCnt(String amtAfterPayCnt) {
this.amtAfterPayCnt = amtAfterPayCnt;
}
public String getMonthTerm() {
return monthTerm;
}
public void setMonthTerm(String monthTerm) {
this.monthTerm = monthTerm;
}
}

View File

@ -5416,6 +5416,8 @@ public class MjonPayController {
HttpServletResponse response ,
ModelMap model) throws Exception {
mjonPayVO.setSearchSortCnd("regDate");
mjonPayVO.setSearchSortOrd("asc");
mjonPayVO.setRecordCountPerPage(mjonPayVO.getPageUnit());
mjonPayVO.setFirstIndex(0);
LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
@ -5704,7 +5706,9 @@ public class MjonPayController {
HttpServletResponse response ,
ModelMap model) throws Exception {
mjonPayVO.setRecordCountPerPage(mjonPayVO.getPageUnit());
mjonPayVO.setSearchSortCnd("regDate");
mjonPayVO.setSearchSortOrd("asc");
mjonPayVO.setRecordCountPerPage(20);
mjonPayVO.setFirstIndex(0);
LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
if(null != loginVO && !"super".equals(loginVO.getSiteId())){

View File

@ -180,11 +180,11 @@ function payDayExcelDownload(){
<div class="pageCont">
<div class="listSerch">
<select name="setCalMonth" onchange="fnSetCalMonth(this.value)">
<option value="0">전체</option>
<option value="1" selected="selected">1개월</option>
<option value="3">3개월</option>
<option value="6">6개월</option>
<select id="monthTerm" name="monthTerm" onchange="fnSetCalMonth(this.value)">
<option value="0" <c:if test="${searchVO.monthTerm eq '0'}">selected</c:if> >전체</option>
<option value="1" <c:if test="${searchVO.monthTerm eq '1'}">selected</c:if> >1개월</option>
<option value="3" <c:if test="${searchVO.monthTerm eq '3'}">selected</c:if> >3개월</option>
<option value="6" <c:if test="${searchVO.monthTerm eq '6'}">selected</c:if> >6개월</option>
</select>
<input type="hidden" name="cal_url" id="cal_url" value="/sym/cmm/EgovNormalCalPopup.do">
<a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.listForm, document.forms.listForm.ntceBgndeYYYMMDD);">
@ -385,6 +385,8 @@ function payDayExcelDownload(){
<form id="payExcelDwnForm" name="payExcelDwnForm" method="post">
<input type="hidden" name="ntceBgnde" id="excelNtceBgnde" value="<c:out value="${searchVO.ntceBgnde}" />">
<input type="hidden" name="ntceEndde" id="excelNtceEndde" value="<c:out value="${searchVO.ntceEndde}" />">
<input type="hidden" name="pageUnit" id="excelPageUnit" value="<c:out value="${paginationInfo.totalRecordCount}" />"><!-- 엑셀의 총 건수로 넘겨줌 -->
</form>
</body>