캐시, 포인트현황 기간검색 초기값 설정 추가
This commit is contained in:
parent
5cd4dbac1a
commit
b5e9b3ab0f
@ -61,6 +61,7 @@ import itn.com.cmm.EgovMessageSource;
|
||||
import itn.com.cmm.LoginVO;
|
||||
import itn.com.cmm.service.EgovCmmUseService;
|
||||
import itn.com.cmm.service.FileVO;
|
||||
import itn.com.cmm.util.MJUtil;
|
||||
import itn.com.cmm.util.RedirectUrlMaker;
|
||||
import itn.com.cmm.util.StringUtil;
|
||||
import itn.com.utl.fcc.service.EgovStringUtil;
|
||||
@ -254,6 +255,12 @@ public class MjonPayController {
|
||||
mjonPayVO.setSearchCondition2("N");
|
||||
}
|
||||
|
||||
// 기간검색 설정
|
||||
String beforeMonthDay = MJUtil.getBefore1MonthDate(); //한달 전
|
||||
if (null == mjonPayVO.getSearchStartDate() || mjonPayVO.getSearchStartDate().equals("")) {
|
||||
mjonPayVO.setSearchStartDate(beforeMonthDay);
|
||||
}
|
||||
|
||||
List<MjonPayVO> resultList = mjonPayService.selectCashList(mjonPayVO);
|
||||
|
||||
List<BigDecimal> cashList = new ArrayList<>();
|
||||
@ -1387,6 +1394,12 @@ public class MjonPayController {
|
||||
mjonPayVO.setSearchCondition2("N");
|
||||
}
|
||||
|
||||
// 기간검색 설정
|
||||
String beforeMonthDay = MJUtil.getBefore1MonthDate(); //한달 전
|
||||
if (null == mjonPayVO.getSearchStartDate() || mjonPayVO.getSearchStartDate().equals("")) {
|
||||
mjonPayVO.setSearchStartDate(beforeMonthDay);
|
||||
}
|
||||
|
||||
List<MjonPayVO> resultList = mjonPayService.selectPointList(mjonPayVO);
|
||||
model.addAttribute("resultList", resultList);
|
||||
paginationInfo.setTotalRecordCount(resultList.size() > 0 ? ((MjonPayVO)resultList.get(0)).getTotCnt() : 0);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user