Merge branch 'hylee'
This commit is contained in:
commit
898eb39430
@ -200,6 +200,17 @@ public class MjonMsgCampainDataController {
|
||||
, HttpServletRequest request
|
||||
, ModelMap model) throws Exception{
|
||||
|
||||
|
||||
|
||||
// 요청의 호스트명을 가져오기
|
||||
String hostName = request.getServerName();
|
||||
|
||||
// 외부에서 선거발송 페이지로 들어오는걸 막음
|
||||
// 20250102 이호영
|
||||
if (!"localhost".equals(hostName)) {
|
||||
return "redirect:/web/mjon/msgdata/selectMsgDataView.do";
|
||||
}
|
||||
|
||||
String categoryType = cateCode.getCateType();
|
||||
|
||||
if(categoryType == null) {
|
||||
@ -265,7 +276,6 @@ public class MjonMsgCampainDataController {
|
||||
model.addAttribute("addrVO", searchVO);
|
||||
}
|
||||
|
||||
/** pageing */
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(letterVO.getPageIndex());
|
||||
paginationInfo.setRecordCountPerPage(letterVO.getPageUnit());
|
||||
|
||||
@ -189,6 +189,17 @@ public class MjonMsgCampainTWDataController {
|
||||
, HttpServletRequest request
|
||||
, ModelMap model) throws Exception{
|
||||
|
||||
|
||||
|
||||
// 요청의 호스트명을 가져오기
|
||||
String hostName = request.getServerName();
|
||||
|
||||
// 외부에서 선거발송 페이지로 들어오는걸 막음
|
||||
// 20250102 이호영
|
||||
if (!"localhost".equals(hostName)) {
|
||||
return "redirect:/web/mjon/msgdata/selectMsgDataView.do";
|
||||
}
|
||||
|
||||
String categoryType = cateCode.getCateType();
|
||||
|
||||
if(categoryType == null) {
|
||||
@ -254,7 +265,6 @@ public class MjonMsgCampainTWDataController {
|
||||
model.addAttribute("addrVO", searchVO);
|
||||
}
|
||||
|
||||
/** pageing */
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(letterVO.getPageIndex());
|
||||
paginationInfo.setRecordCountPerPage(letterVO.getPageUnit());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user