팩스목록 검색필터 한달전검색으로 변경
@682c9015b3fd5bf02bcad3cbb2d4f2976b454ffb
--- src/main/java/itn/let/fax/admin/web/FaxAdmController.java
+++ src/main/java/itn/let/fax/admin/web/FaxAdmController.java
... | ... | @@ -28,6 +28,7 @@ |
| 28 | 28 |
import itn.com.cmm.EgovMessageSource; |
| 29 | 29 |
import itn.com.cmm.LoginVO; |
| 30 | 30 |
import itn.com.cmm.util.FileUtil; |
| 31 |
+import itn.com.cmm.util.MJUtil; |
|
| 31 | 32 |
import itn.com.cmm.util.PdfUtil; |
| 32 | 33 |
import itn.com.cmm.util.RedirectUrlMaker; |
| 33 | 34 |
import itn.com.utl.fcc.service.EgovStringUtil; |
... | ... | @@ -111,8 +112,13 @@ |
| 111 | 112 |
} |
| 112 | 113 |
model.addAttribute("loginVO", loginVO);
|
| 113 | 114 |
|
| 114 |
- /* 목록을 가져 온다 */ |
|
| 115 |
+ // 기간검색 설정 |
|
| 116 |
+ String beforeMonthDay = MJUtil.getBefore1MonthDate(); //한달 전 |
|
| 117 |
+ if (null == faxGroupDataVO.getSearchStartDate() || faxGroupDataVO.getSearchStartDate().equals("")) {
|
|
| 118 |
+ faxGroupDataVO.setSearchStartDate(beforeMonthDay); |
|
| 119 |
+ } |
|
| 115 | 120 |
|
| 121 |
+ /* 목록을 가져 온다 */ |
|
| 116 | 122 |
Map<String, Object> faxSendListMap = faxService.selectFaxSendList(faxGroupDataVO); |
| 117 | 123 |
// 전송내역 |
| 118 | 124 |
model.addAttribute("faxGroupListVO", faxSendListMap.get("faxGroupListVO"));
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?