diff --git a/src/main/java/itn/com/cmm/web/EgovImageProcessController.java b/src/main/java/itn/com/cmm/web/EgovImageProcessController.java index 2f5bdc5..442a19c 100644 --- a/src/main/java/itn/com/cmm/web/EgovImageProcessController.java +++ b/src/main/java/itn/com/cmm/web/EgovImageProcessController.java @@ -265,4 +265,80 @@ public class EgovImageProcessController extends HttpServlet { } } } + + @SuppressWarnings("resource") + @RequestMapping("/cmm/fms/getImage_advc.do") + public void getImage_advc(SessionVO sessionVO, ModelMap model, @RequestParam Map commandMap, HttpServletResponse response) throws Exception { + + String filePath = (String) commandMap.get("filePath"); + + //파일 확장자명 + String fileExtsn = ""; + int lastDot = filePath.lastIndexOf('.'); + if (lastDot != -1 && lastDot < filePath.length() - 1) { + fileExtsn = filePath.substring(lastDot + 1); + } + + File file = new File(filePath); + + FileInputStream fis = null; + try { + new FileInputStream(file); + }catch(Exception e) {} + + BufferedInputStream in = null; + ByteArrayOutputStream bStream = null; + try { + fis = new FileInputStream(file); + in = new BufferedInputStream(fis); + bStream = new ByteArrayOutputStream(); + int imgByte; + + byte[] outputByte=new byte[104096]; + while ((imgByte =in.read(outputByte, 0, 4096 )) > 0 ) { + bStream.write(outputByte,0,imgByte); + } + String type = ""; + if (fileExtsn != null && !"".equals(fileExtsn)) { + if ("jpg".equals(fileExtsn.toLowerCase())) { + type = "image/jpeg"; + } else { + type = "image/" + fileExtsn.toLowerCase(); + } + } else { + LOGGER.debug("Image fileType is null."); + } + + response.setHeader("Content-Type", type); + response.setContentLength(bStream.size()); + bStream.writeTo(response.getOutputStream()); + response.getOutputStream().flush(); + response.getOutputStream().close(); + + } catch (Exception e) { + LOGGER.debug("{}", e); + } finally { + if (bStream != null) { + try { + bStream.close(); + } catch (Exception est) { + LOGGER.debug("IGNORED: {}", est.getMessage()); + } + } + if (in != null) { + try { + in.close(); + } catch (Exception ei) { + LOGGER.debug("IGNORED: {}", ei.getMessage()); + } + } + if (fis != null) { + try { + fis.close(); + } catch (Exception efis) { + LOGGER.debug("IGNORED: {}", efis.getMessage()); + } + } + } + } } diff --git a/src/main/java/itn/let/mjo/msg/service/MjonMsgService.java b/src/main/java/itn/let/mjo/msg/service/MjonMsgService.java index b2b5ddb..193a5c4 100644 --- a/src/main/java/itn/let/mjo/msg/service/MjonMsgService.java +++ b/src/main/java/itn/let/mjo/msg/service/MjonMsgService.java @@ -5,6 +5,7 @@ import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import itn.let.mjo.msgsent.service.MjonMsgSentVO; import itn.let.mjo.reservmsg.service.MjonResvMsgVO; public interface MjonMsgService { @@ -243,4 +244,5 @@ public interface MjonMsgService { //관리자 문자/알림톡 전송 결과 코드 엑셀다운로드 void getMsgResultCodeExcelDownload(String menuType, String[][] msgResultCodeExcelValue, MjonMsgResultCodeVO mjonMsgResultCodeVO, HttpServletRequest request, HttpServletResponse response); + List selectMjonMsgGroupCompleteList_advc(MjonMsgVO searchVO) throws Exception; } diff --git a/src/main/java/itn/let/mjo/msg/service/impl/MjonMsgDAO.java b/src/main/java/itn/let/mjo/msg/service/impl/MjonMsgDAO.java index 5108b0a..26f3537 100644 --- a/src/main/java/itn/let/mjo/msg/service/impl/MjonMsgDAO.java +++ b/src/main/java/itn/let/mjo/msg/service/impl/MjonMsgDAO.java @@ -522,4 +522,9 @@ public class MjonMsgDAO extends EgovAbstractDAO { update("mjonMsgDAO.updateHoliMsgResultYn", mjonMsgVO); } + @SuppressWarnings("unchecked") + public List selectMjonMsgGroupCompleteList_advc(MjonMsgVO mjonMsgVO) throws Exception{ + return (List)list("mjonMsgDAO.selectMjonMsgGroupCompleteList_advc", mjonMsgVO); + } + } diff --git a/src/main/java/itn/let/mjo/msg/service/impl/MjonMsgServiceImpl.java b/src/main/java/itn/let/mjo/msg/service/impl/MjonMsgServiceImpl.java index b8f417b..c70beb9 100644 --- a/src/main/java/itn/let/mjo/msg/service/impl/MjonMsgServiceImpl.java +++ b/src/main/java/itn/let/mjo/msg/service/impl/MjonMsgServiceImpl.java @@ -1283,4 +1283,9 @@ public class MjonMsgServiceImpl extends EgovAbstractServiceImpl implements MjonM } + @Override + public List selectMjonMsgGroupCompleteList_advc(MjonMsgVO mjonMsgVO) throws Exception { + return mjonMsgDAO.selectMjonMsgGroupCompleteList_advc(mjonMsgVO); + } + } diff --git a/src/main/java/itn/let/mjo/msg/web/MjonMsgController.java b/src/main/java/itn/let/mjo/msg/web/MjonMsgController.java index a6fc050..daf5e48 100644 --- a/src/main/java/itn/let/mjo/msg/web/MjonMsgController.java +++ b/src/main/java/itn/let/mjo/msg/web/MjonMsgController.java @@ -199,7 +199,7 @@ public class MjonMsgController { } // 문자발송 완료건은 모두 보이도록 처리 - resultList = mjonMsgService.selectMjonMsgGroupCompleteList(searchVO); + resultList = mjonMsgService.selectMjonMsgGroupCompleteList_advc(searchVO); model.addAttribute("resultList", resultList); diff --git a/src/main/java/itn/let/sec/gmt/service/EgovGroupManageService.java b/src/main/java/itn/let/sec/gmt/service/EgovGroupManageService.java deleted file mode 100644 index 38a4f2c..0000000 --- a/src/main/java/itn/let/sec/gmt/service/EgovGroupManageService.java +++ /dev/null @@ -1,70 +0,0 @@ -package itn.let.sec.gmt.service; - -import java.util.List; - -/** - * 그룹관리에 관한 서비스 인터페이스 클래스를 정의한다. - * @author 공통서비스 개발팀 이문준 - * @since 2009.06.01 - * @version 1.0 - * @see - * - *
- * << 개정이력(Modification Information) >>
- *   
- *   수정일      수정자           수정내용
- *  -------    --------    ---------------------------
- *   2009.03.20  이문준          최초 생성
- *   2011.08.31  JJY            경량환경 템플릿 커스터마이징버전 생성 
- *
- * 
- */ - -public interface EgovGroupManageService { - - /** - * 검색조건에 따른 그룹정보를 조회 - * @param groupManageVO GroupManageVO - * @return GroupManageVO - * @exception Exception - */ - public GroupManageVO selectGroup(GroupManageVO groupManageVO) throws Exception; - - /** - * 시스템사용 목적별 그룹 목록 조회 - * @param groupManageVO GroupManageVO - * @return List - * @exception Exception - */ - public List selectGroupList(GroupManageVO groupManageVO) throws Exception; - - /** - * 그룹 기본정보를 화면에서 입력하여 항목의 정합성을 체크하고 데이터베이스에 저장 - * @param groupManage GroupManage - * @param groupManageVO GroupManageVO - * @return GroupManageVO - * @exception Exception - */ - public GroupManageVO insertGroup(GroupManage groupManage, GroupManageVO groupManageVO) throws Exception; - /** - * 화면에 조회된 그룹의 기본정보를 수정하여 항목의 정합성을 체크하고 수정된 데이터를 데이터베이스에 반영 - * @param groupManage GroupManage - * @exception Exception - */ - public void updateGroup(GroupManage groupManage) throws Exception; - - /** - * 불필요한 그룹정보를 화면에 조회하여 데이터베이스에서 삭제 - * @param groupManage GroupManage - * @exception Exception - */ - public void deleteGroup(GroupManage groupManage) throws Exception; - - /** - * 목록조회 카운트를 반환한다 - * @param groupManageVO GroupManageVO - * @return int - * @exception Exception - */ - public int selectGroupListTotCnt(GroupManageVO groupManageVO) throws Exception; -} \ No newline at end of file diff --git a/src/main/java/itn/let/sec/gmt/service/GroupManage.java b/src/main/java/itn/let/sec/gmt/service/GroupManage.java deleted file mode 100644 index b90e202..0000000 --- a/src/main/java/itn/let/sec/gmt/service/GroupManage.java +++ /dev/null @@ -1,119 +0,0 @@ -package itn.let.sec.gmt.service; - -import itn.com.cmm.ComDefaultVO; - -/** - * 그룹관리에 대한 model 클래스를 정의한다. - * @author 공통서비스 개발팀 이문준 - * @since 2009.06.01 - * @version 1.0 - * @see - * - *
- * << 개정이력(Modification Information) >>
- *   
- *   수정일      수정자           수정내용
- *  -------    --------    ---------------------------
- *   2009.03.20  이문준          최초 생성
- *   2011.08.31  JJY            경량환경 템플릿 커스터마이징버전 생성 
- *
- * 
- */ - -public class GroupManage extends ComDefaultVO { - /** - * serialVersionUID - */ - private static final long serialVersionUID = 1L; - /** - * 그룹 관리 - */ - private GroupManage groupManage; - /** - * 그룹 ID - */ - private String groupId; - /** - * 그룹명 - */ - private String groupNm; - /** - * 그룹등록일시 - */ - private String groupCreatDe; - /** - * 그룹설명 - */ - private String groupDc; - - /** - * groupManage attribute 를 리턴한다. - * @return GroupManage - */ - public GroupManage getGroupManage() { - return groupManage; - } - /** - * groupManage attribute 값을 설정한다. - * @param groupManage GroupManage - */ - public void setGroupManage(GroupManage groupManage) { - this.groupManage = groupManage; - } - /** - * groupId attribute 를 리턴한다. - * @return String - */ - public String getGroupId() { - return groupId; - } - /** - * groupId attribute 값을 설정한다. - * @param groupId String - */ - public void setGroupId(String groupId) { - this.groupId = groupId; - } - /** - * groupNm attribute 를 리턴한다. - * @return String - */ - public String getGroupNm() { - return groupNm; - } - /** - * groupNm attribute 값을 설정한다. - * @param groupNm String - */ - public void setGroupNm(String groupNm) { - this.groupNm = groupNm; - } - /** - * groupCreatDe attribute 를 리턴한다. - * @return String - */ - public String getGroupCreatDe() { - return groupCreatDe; - } - /** - * groupCreatDe attribute 값을 설정한다. - * @param groupCreatDe String - */ - public void setGroupCreatDe(String groupCreatDe) { - this.groupCreatDe = groupCreatDe; - } - /** - * groupDc attribute 를 리턴한다. - * @return String - */ - public String getGroupDc() { - return groupDc; - } - /** - * groupDc attribute 값을 설정한다. - * @param groupDc String - */ - public void setGroupDc(String groupDc) { - this.groupDc = groupDc; - } -} \ No newline at end of file diff --git a/src/main/java/itn/let/sec/gmt/service/GroupManageVO.java b/src/main/java/itn/let/sec/gmt/service/GroupManageVO.java deleted file mode 100644 index 3c2d3e1..0000000 --- a/src/main/java/itn/let/sec/gmt/service/GroupManageVO.java +++ /dev/null @@ -1,72 +0,0 @@ -package itn.let.sec.gmt.service; - -import java.util.List; - - - -/** - * 그룹관리에 대한 Vo 클래스를 정의한다. - * @author 공통서비스 개발팀 이문준 - * @since 2009.06.01 - * @version 1.0 - * @see - * - *
- * << 개정이력(Modification Information) >>
- *   
- *   수정일      수정자           수정내용
- *  -------    --------    ---------------------------
- *   2009.03.20  이문준          최초 생성
- *   2011.08.31  JJY            경량환경 템플릿 커스터마이징버전 생성 
- *
- * 
- */ - -public class GroupManageVO extends GroupManage { - - /** - * serialVersionUID - */ - private static final long serialVersionUID = 1L; - /** - * 그룹 목록 - */ - List groupManageList; - /** - * 삭제대상 목록 - */ - String[] delYn; - - /** - * groupManageList attribute 를 리턴한다. - * @return List - */ - public List getGroupManageList() { - return groupManageList; - } - - /** - * groupManageList attribute 값을 설정한다. - * @param groupManageList List - */ - public void setGroupManageList(List groupManageList) { - this.groupManageList = groupManageList; - } - - /** - * delYn attribute 를 리턴한다. - * @return String[] - */ - public String[] getDelYn() { - return delYn; - } - - /** - * delYn attribute 값을 설정한다. - * @param delYn String[] - */ - public void setDelYn(String[] delYn) { - this.delYn = delYn; - } - -} \ No newline at end of file diff --git a/src/main/java/itn/let/sec/gmt/service/impl/EgovGroupManageServiceImpl.java b/src/main/java/itn/let/sec/gmt/service/impl/EgovGroupManageServiceImpl.java deleted file mode 100644 index a55a211..0000000 --- a/src/main/java/itn/let/sec/gmt/service/impl/EgovGroupManageServiceImpl.java +++ /dev/null @@ -1,98 +0,0 @@ -package itn.let.sec.gmt.service.impl; - -import java.util.List; - -import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; -import itn.let.sec.gmt.service.EgovGroupManageService; -import itn.let.sec.gmt.service.GroupManage; -import itn.let.sec.gmt.service.GroupManageVO; - -import javax.annotation.Resource; - -import org.springframework.stereotype.Service; - -/** - * 그룹관리에 관한 ServiceImpl 클래스를 정의한다. - * @author 공통서비스 개발팀 이문준 - * @since 2009.06.01 - * @version 1.0 - * @see - * - *
- * << 개정이력(Modification Information) >>
- *   
- *   수정일      수정자           수정내용
- *  -------    --------    ---------------------------
- *   2009.03.11  이문준          최초 생성
- *   2011.08.31  JJY            경량환경 템플릿 커스터마이징버전 생성 
- *
- * 
- */ - -@Service("egovGroupManageService") -public class EgovGroupManageServiceImpl extends EgovAbstractServiceImpl implements EgovGroupManageService { - - @Resource(name="groupManageDAO") - private GroupManageDAO groupManageDAO; - - /** - * 시스템사용 목적별 그룹 목록 조회 - * @param groupManageVO GroupManageVO - * @return List - * @exception Exception - */ - public List selectGroupList(GroupManageVO groupManageVO) throws Exception { - return groupManageDAO.selectGroupList(groupManageVO); - } - - /** - * 검색조건에 따른 그룹정보를 조회 - * @param groupManageVO GroupManageVO - * @return GroupManageVO - * @exception Exception - */ - public GroupManageVO selectGroup(GroupManageVO groupManageVO) throws Exception { - return groupManageDAO.selectGroup(groupManageVO); - } - - /** - * 그룹 기본정보를 화면에서 입력하여 항목의 정합성을 체크하고 데이터베이스에 저장 - * @param groupManage GroupManage - * @param groupManageVO GroupManageVO - * @return GroupManageVO - * @exception Exception - */ - public GroupManageVO insertGroup(GroupManage groupManage, GroupManageVO groupManageVO) throws Exception { - groupManageDAO.insertGroup(groupManage); - groupManageVO.setGroupId(groupManage.getGroupId()); - return groupManageDAO.selectGroup(groupManageVO); - } - - /** - * 화면에 조회된 그룹의 기본정보를 수정하여 항목의 정합성을 체크하고 수정된 데이터를 데이터베이스에 반영 - * @param groupManage GroupManage - * @exception Exception - */ - public void updateGroup(GroupManage groupManage) throws Exception { - groupManageDAO.updateGroup(groupManage); - } - - /** - * 불필요한 그룹정보를 화면에 조회하여 데이터베이스에서 삭제 - * @param groupManage GroupManage - * @exception Exception - */ - public void deleteGroup(GroupManage groupManage) throws Exception { - groupManageDAO.deleteGroup(groupManage); - } - - /** - * 목록조회 카운트를 반환한다 - * @param groupManageVO GroupManageVO - * @return int - * @exception Exception - */ - public int selectGroupListTotCnt(GroupManageVO groupManageVO) throws Exception { - return groupManageDAO.selectGroupListTotCnt(groupManageVO); - } -} \ No newline at end of file diff --git a/src/main/java/itn/let/sec/gmt/service/impl/GroupManageDAO.java b/src/main/java/itn/let/sec/gmt/service/impl/GroupManageDAO.java deleted file mode 100644 index 758e174..0000000 --- a/src/main/java/itn/let/sec/gmt/service/impl/GroupManageDAO.java +++ /dev/null @@ -1,89 +0,0 @@ -package itn.let.sec.gmt.service.impl; - -import java.util.List; - -import egovframework.rte.psl.dataaccess.EgovAbstractDAO; -import itn.let.sec.gmt.service.GroupManage; -import itn.let.sec.gmt.service.GroupManageVO; - -import org.springframework.stereotype.Repository; - -/** - * 그룹관리에 대한 DAO 클래스를 정의한다. - * @author 공통서비스 개발팀 이문준 - * @since 2009.06.01 - * @version 1.0 - * @see - * - *
- * << 개정이력(Modification Information) >>
- *
- *   수정일      수정자           수정내용
- *  -------    --------    ---------------------------
- *   2009.03.11  이문준          최초 생성
- *   2011.08.31  JJY            경량환경 템플릿 커스터마이징버전 생성
- *
- * 
- */ - -@Repository("groupManageDAO") -public class GroupManageDAO extends EgovAbstractDAO { - - /** - * 검색조건에 따른 그룹정보를 조회 - * @param groupManageVO GroupManageVO - * @return GroupManageVO - * @exception Exception - */ - public GroupManageVO selectGroup(GroupManageVO groupManageVO) throws Exception { - return (GroupManageVO) select("groupManageDAO.selectGroup", groupManageVO); - } - - /** - * 시스템사용 목적별 그룹 목록 조회 - * @param groupManageVO GroupManageVO - * @return GroupManageVO - * @exception Exception - */ - @SuppressWarnings("unchecked") - public List selectGroupList(GroupManageVO groupManageVO) throws Exception { - return (List) list("groupManageDAO.selectGroupList", groupManageVO); - } - - /** - * 그룹 기본정보를 화면에서 입력하여 항목의 정합성을 체크하고 데이터베이스에 저장 - * @param groupManage GroupManage - * @exception Exception - */ - public void insertGroup(GroupManage groupManage) throws Exception { - insert("groupManageDAO.insertGroup", groupManage); - } - - /** - * 화면에 조회된 그룹의 기본정보를 수정하여 항목의 정합성을 체크하고 수정된 데이터를 데이터베이스에 반영 - * @param groupManage GroupManage - * @exception Exception - */ - public void updateGroup(GroupManage groupManage) throws Exception { - update("groupManageDAO.updateGroup", groupManage); - } - - /** - * 불필요한 그룹정보를 화면에 조회하여 데이터베이스에서 삭제 - * @param groupManage GroupManage - * @exception Exception - */ - public void deleteGroup(GroupManage groupManage) throws Exception { - delete("groupManageDAO.deleteGroup", groupManage); - } - - /** - * 롤목록 총 갯수를 조회한다. - * @param groupManageVO GroupManageVO - * @return int - * @exception Exception - */ - public int selectGroupListTotCnt(GroupManageVO groupManageVO) throws Exception { - return (Integer)select("groupManageDAO.selectGroupListTotCnt", groupManageVO); - } -} \ No newline at end of file diff --git a/src/main/java/itn/let/sec/gmt/web/EgovGroupManageController.java b/src/main/java/itn/let/sec/gmt/web/EgovGroupManageController.java deleted file mode 100644 index 3c777bd..0000000 --- a/src/main/java/itn/let/sec/gmt/web/EgovGroupManageController.java +++ /dev/null @@ -1,259 +0,0 @@ -package itn.let.sec.gmt.web; - -import egovframework.rte.fdl.idgnr.EgovIdGnrService; -import egovframework.rte.fdl.property.EgovPropertyService; -import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; -import itn.com.cmm.EgovMessageSource; -import itn.let.sec.gmt.service.EgovGroupManageService; -import itn.let.sec.gmt.service.GroupManage; -import itn.let.sec.gmt.service.GroupManageVO; - -import javax.annotation.Resource; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Controller; -import org.springframework.ui.Model; -import org.springframework.ui.ModelMap; -import org.springframework.validation.BindingResult; -import org.springframework.web.bind.annotation.ModelAttribute; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.support.SessionStatus; -import org.springmodules.validation.commons.DefaultBeanValidator; - -/** - * 그룹관리에 관한 controller 클래스를 정의한다. - * @author 공통서비스 개발팀 이문준 - * @since 2009.06.01 - * @version 1.0 - * @see - * - *
- * << 개정이력(Modification Information) >>
- *   
- *   수정일      수정자           수정내용
- *  -------    --------    ---------------------------
- *   2009.03.11  이문준          최초 생성
- *   2011.08.31  JJY            경량환경 템플릿 커스터마이징버전 생성 
- *
- * 
- */ - -@Controller -public class EgovGroupManageController { - - @Resource(name="egovMessageSource") - EgovMessageSource egovMessageSource; - - @Resource(name = "egovGroupManageService") - private EgovGroupManageService egovGroupManageService; - - /** EgovPropertyService */ - @Resource(name = "propertiesService") - protected EgovPropertyService propertiesService; - - /** Message ID Generation */ - @Resource(name="egovGroupIdGnrService") - private EgovIdGnrService egovGroupIdGnrService; - - @Autowired - private DefaultBeanValidator beanValidator; - - /** - * 그룹 목록화면 이동 - * @return String - * @exception Exception - */ - @RequestMapping("/sec/gmt/EgovGroupListView.do") - public String selectGroupListView() - throws Exception { - return "/sec/gmt/EgovGroupManage"; - } - - /** - * 시스템사용 목적별 그룹 목록 조회 - * @param groupManageVO GroupManageVO - * @return String - * @exception Exception - */ - @RequestMapping(value="/sec/gmt/EgovGroupList.do") - public String selectGroupList(@ModelAttribute("groupManageVO") GroupManageVO groupManageVO, - ModelMap model) throws Exception { - /** paging */ - PaginationInfo paginationInfo = new PaginationInfo(); - paginationInfo.setCurrentPageNo(groupManageVO.getPageIndex()); - paginationInfo.setRecordCountPerPage(groupManageVO.getPageUnit()); - paginationInfo.setPageSize(groupManageVO.getPageSize()); - - groupManageVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); - groupManageVO.setLastIndex(paginationInfo.getLastRecordIndex()); - groupManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); - - groupManageVO.setGroupManageList(egovGroupManageService.selectGroupList(groupManageVO)); - model.addAttribute("groupList", groupManageVO.getGroupManageList()); - - int totCnt = egovGroupManageService.selectGroupListTotCnt(groupManageVO); - paginationInfo.setTotalRecordCount(totCnt); - model.addAttribute("paginationInfo", paginationInfo); - model.addAttribute("message", egovMessageSource.getMessage("success.common.select")); - - return "/sec/gmt/EgovGroupManage"; - } - - /** - * 검색조건에 따른 그룹정보를 조회 - * @param groupManageVO GroupManageVO - * @return String - * @exception Exception - */ - @RequestMapping(value="/sec/gmt/EgovGroup.do") - public String selectGroup(@ModelAttribute("groupManageVO") GroupManageVO groupManageVO, - ModelMap model) throws Exception { - - model.addAttribute("groupManage", egovGroupManageService.selectGroup(groupManageVO)); - return "/sec/gmt/EgovGroupUpdate"; - } - - /** - * 그룹 등록화면 이동 - * @return String - * @exception Exception - */ - @RequestMapping(value="/sec/gmt/EgovGroupInsertView.do") - public String insertGroupView() - throws Exception { - return "/sec/gmt/EgovGroupInsert"; - } - - /** - * 그룹 기본정보를 화면에서 입력하여 항목의 정합성을 체크하고 데이터베이스에 저장 - * @param groupManage GroupManage - * @param groupManageVO GroupManageVO - * @return String - * @exception Exception - */ - @RequestMapping(value="/sec/gmt/EgovGroupInsert.do") - public String insertGroup(@ModelAttribute("groupManage") GroupManage groupManage, - @ModelAttribute("groupManageVO") GroupManageVO groupManageVO, - BindingResult bindingResult, - SessionStatus status, - ModelMap model) throws Exception { - - beanValidator.validate(groupManage, bindingResult); //validation 수행 - - if (bindingResult.hasErrors()) { - return "/sec/gmt/EgovGroupInsert"; - } else { - groupManage.setGroupId(egovGroupIdGnrService.getNextStringId()); - groupManageVO.setGroupId(groupManage.getGroupId()); - - status.setComplete(); - model.addAttribute("message", egovMessageSource.getMessage("success.common.insert")); - model.addAttribute("groupManage", egovGroupManageService.insertGroup(groupManage, groupManageVO)); - return "/sec/gmt/EgovGroupUpdate"; - } - } - - /** - * 화면에 조회된 그룹의 기본정보를 수정하여 항목의 정합성을 체크하고 수정된 데이터를 데이터베이스에 반영 - * @param groupManage GroupManage - * @return String - * @exception Exception - */ - @RequestMapping(value="/sec/gmt/EgovGroupUpdate.do") - public String updateGroup(@ModelAttribute("groupManage") GroupManage groupManage, - BindingResult bindingResult, - SessionStatus status, - Model model) throws Exception { - - beanValidator.validate(groupManage, bindingResult); //validation 수행 - - if (bindingResult.hasErrors()) { - return "/sec/gmt/EgovGroupUpdate"; - } else { - egovGroupManageService.updateGroup(groupManage); - status.setComplete(); - model.addAttribute("message", egovMessageSource.getMessage("success.common.update")); - return "forward:/sec/gmt/EgovGroup.do"; - } - } - - /** - * 불필요한 그룹정보를 화면에 조회하여 데이터베이스에서 삭제 - * @param groupManage GroupManage - * @return String - * @exception Exception - */ - @RequestMapping(value="/sec/gmt/EgovGroupDelete.do") - public String deleteGroup(@ModelAttribute("groupManage") GroupManage groupManage, - SessionStatus status, - Model model) throws Exception { - egovGroupManageService.deleteGroup(groupManage); - status.setComplete(); - model.addAttribute("message", egovMessageSource.getMessage("success.common.delete")); - return "forward:/sec/gmt/EgovGroupList.do"; - } - - /** - * 불필요한 그룹정보 목록을 화면에 조회하여 데이터베이스에서 삭제 - * @param groupIds String - * @param groupManage GroupManage - * @return String - * @exception Exception - */ - @RequestMapping(value="/sec/gmt/EgovGroupListDelete.do") - public String deleteGroupList(@RequestParam("groupIds") String groupIds, - @ModelAttribute("groupManage") GroupManage groupManage, - SessionStatus status, - Model model) throws Exception { - String [] strGroupIds = groupIds.split(";"); - for(int i=0; i metaTagList = egovSiteManagerService.selectMetaTagList(metaTagVO); + /* + model.addAttribute("metaTagList", metaTagList); + paginationInfo.setTotalRecordCount( metaTagList.size()> 0 ? metaTagList.get(0).getTotCnt() : 0); + model.addAttribute("paginationInfo", paginationInfo); + */ + + for (int i=0;i2) break; + + } + + + //submitUrl("https://yourdomain.com/new-post.html"); // 🔁 여기에 전송할 실제 URL 입력 + + //return "/sym/site/metaTagList"; + return "redirect:/sym/site/selectMetaTagList.do"; + } + + /** * 관리자 알림 여부 * diff --git a/src/main/java/itn/let/uat/uia/web/ClientIP.java b/src/main/java/itn/let/uat/uia/web/ClientIP.java index bf3da38..fa1fc09 100644 --- a/src/main/java/itn/let/uat/uia/web/ClientIP.java +++ b/src/main/java/itn/let/uat/uia/web/ClientIP.java @@ -4,7 +4,7 @@ import javax.servlet.http.HttpServletRequest; public class ClientIP { - public String getClientIP(HttpServletRequest request) { + public static String getClientIP(HttpServletRequest request) { String ip = request.getHeader("X-Forwarded-For") == null ? request.getHeader("X-Forwarded-For") : request.getHeader("X-Forwarded-For").replaceAll("10.12.107.11", "").replaceAll(",", "").trim(); diff --git a/src/main/java/itn/let/utl/user/service/IndexNowUtil.java b/src/main/java/itn/let/utl/user/service/IndexNowUtil.java new file mode 100644 index 0000000..5d2ab36 --- /dev/null +++ b/src/main/java/itn/let/utl/user/service/IndexNowUtil.java @@ -0,0 +1,56 @@ +package itn.let.utl.user.service; + +import java.io.OutputStream; +import java.net.HttpURLConnection; +import java.net.URL; +import java.nio.charset.StandardCharsets; + +import org.springframework.stereotype.Service; + +@Service("indexNowUtil") +public class IndexNowUtil { + + private static final String INDEXNOW_API_URL = "https://api.indexnow.org/indexnow"; + private static final String INDEXNOW_KEY = "d09a9f949e6e48eeb221d7a13bdb1d14"; // 🔁 여기에 실제 키 입력 + private static final String HOST = "www.munjaon.co.kr"; // 🔁 도메인만 입력 (https:// 없이) + + public static void submitUrl(String urlToSubmit) { + try { + URL url = new URL(INDEXNOW_API_URL); + HttpURLConnection connection = (HttpURLConnection) url.openConnection(); + + connection.setRequestMethod("POST"); + connection.setRequestProperty("Content-Type", "application/json; utf-8"); + connection.setDoOutput(true); + + // JSON 데이터 구성 + String jsonInputString = "{" + + "\"host\":\"" + HOST + "\"," + + "\"key\":\"" + INDEXNOW_KEY + "\"," + + "\"urlList\":[\"" + urlToSubmit + "\"]" + + "}"; + + try (OutputStream os = connection.getOutputStream()) { + byte[] input = jsonInputString.getBytes(StandardCharsets.UTF_8); + os.write(input, 0, input.length); + } + + int responseCode = connection.getResponseCode(); + if (responseCode == 200 || responseCode == 202) { + System.out.println("✅ IndexNow 전송 성공: " + urlToSubmit); + } else { + System.out.println("❌ 전송 실패 - 응답 코드: " + responseCode + " : " + urlToSubmit); + } + + } catch (Exception e) { + System.err.println("🚫 오류 발생: " + e.getMessage()); + } + } + + /* + public static void main(String[] args) { + // 테스트용 URL 전송 + submitUrl("https://yourdomain.com/new-post.html"); // 🔁 여기에 전송할 실제 URL 입력 + } + */ +} diff --git a/src/main/resources/egovframework/egovProps/globals_dev.properties b/src/main/resources/egovframework/egovProps/globals_dev.properties index 39cc1fb..873239f 100644 --- a/src/main/resources/egovframework/egovProps/globals_dev.properties +++ b/src/main/resources/egovframework/egovProps/globals_dev.properties @@ -23,20 +23,28 @@ Globals.LocalIp = 127.0.0.1 Globals.DbType = mysql -Globals.Env = dev +Globals.Env = local # mysql Globals.DriverClassName=com.mysql.jdbc.Driver +#Globals.Url=jdbc:mysql://119.193.215.98:3306/mjon +#Globals.Url=jdbc:mysql://192.168.0.60:3308/mjon +Globals.Url=jdbc:mysql://139.150.73.12:3306/mjon_advc +Globals.UserName= mjonUr +Globals.Password= mjon!@#$ #Globals.Url=jdbc:mysql://192.168.0.125:3306/mjon + +#Globals.DriverClassName=com.mysql.jdbc.Driver +#Globals.Url=jdbc:mysql://139.150.72.157:3306/mjon #Globals.UserName= mjonUr #Globals.Password= mjon!@#$ # mysql-prod #Globals.DriverClassName=com.mysql.jdbc.Driver -Globals.Url=jdbc:mysql://139.150.72.157:3306/mjon -Globals.UserName= mjonUr -Globals.Password= mjon!@#$ +#Globals.Url=jdbc:mysql://139.150.72.157:3306/mjon +#Globals.UserName= mjonUr +#Globals.Password= mjon!@#$ # MainPage Setting(admin) Globals.MainPage = /cmm/main/mainPage.do @@ -84,7 +92,7 @@ Globals.itn.recruit.template.url=http://localhost:8080/publish/email_form_itn_re #\uba54\uc77c \ubb38\uc758\ud558\uae30 \ud15c\ud50c\ub9bf URL Globals.itn.contact.us.template.url=http://localhost:8080/publish/email_form_itn_contact_us.html #\uba54\uc77c \uc218\uc2e0\uc790 \uc8fc\uc18c #TODO : \ucd94\ud6c4\uc5d0 \ubcc0\uacbd\ud574\uc57c\ud568 -Globals.itn.mail.to.address=leehoyoung250@daum.net +Globals.itn.mail.to.address=rlaqhal6613@duam.net #\ube44\uc988\ubfcc\ub9ac\uc624 \uc124\uc815 diff --git a/src/main/resources/egovframework/sqlmap/config/mysql/sql-map-config-mysql-sec-gmt.xml b/src/main/resources/egovframework/sqlmap/config/mysql/sql-map-config-mysql-sec-gmt.xml deleted file mode 100644 index a14f159..0000000 --- a/src/main/resources/egovframework/sqlmap/config/mysql/sql-map-config-mysql-sec-gmt.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/src/main/resources/egovframework/sqlmap/let/msg/MjonMsgData_SQL_mysql.xml b/src/main/resources/egovframework/sqlmap/let/msg/MjonMsgData_SQL_mysql.xml index e924647..e7cfea3 100644 --- a/src/main/resources/egovframework/sqlmap/let/msg/MjonMsgData_SQL_mysql.xml +++ b/src/main/resources/egovframework/sqlmap/let/msg/MjonMsgData_SQL_mysql.xml @@ -523,10 +523,10 @@ - AND = #ntceBgnde# ]]> + AND = #ntceBgnde# ]]> - AND + AND @@ -1005,7 +1005,7 @@ WHERE 1=1 AND A.MSG_TYPE IN (4, 6) + SELECT + M.totCnt + , M.msgGroupId + , M.userId + , M.userNm + , M.adminSmsNoticeYn + , M.callFrom + , M.sendKind + , M.smsTxt + , M.subject + , M.msgType + , M.msgTypeTxt + , M.reqDate + , M.reqFullDate + , M.agentCode + , M.agentCodeTxt + , M.msgGroupCnt + , M.conectMthd + , M.conectMthdTxt + , M.reserveCYn + , M.reserveYn + , M.fileCnt + , M.cancelDate + , M.callbackYn + , M.smishingYn + , M.vipYn + , M.userCallbackYn + , M.blineCode + , M.delayYn + , M.delayCompleteYn + , (SELECT + COUNT(0) + FROM + MJ_MSG_DATA B + WHERE + B.RESERVE_C_YN = 'N' + AND B.MSG_GROUP_ID = M.msgGroupId + AND (CASE + WHEN B.AGENT_CODE = '01' AND (B.RSLT_CODE = '100' AND (B.RSLT_CODE2 = '0')) + THEN 'S' + WHEN B.AGENT_CODE = '02' AND (B.RSLT_CODE = '0') + THEN 'S' + WHEN B.AGENT_CODE = '03' AND (B.RSLT_CODE = '100' OR B.RSLT_CODE = '101' OR B.RSLT_CODE = '110' OR B.RSLT_CODE = '800') + THEN 'S' + WHEN B.AGENT_CODE = '04' AND (B.RSLT_CODE = '4100' OR B.RSLT_CODE = '6600') + THEN 'S' + WHEN B.AGENT_CODE = '05' AND (B.RSLT_CODE = '1000' OR B.RSLT_CODE = '1001') + THEN 'S' + WHEN B.AGENT_CODE = '07' AND (B.RSLT_CODE = '6' OR B.RSLT_CODE = '1000') + THEN 'S' + WHEN B.AGENT_CODE = '08' AND (B.RSLT_CODE = '1000' OR B.RSLT_CODE = '1001') + THEN 'S' + WHEN B.AGENT_CODE = '09' AND (B.RSLT_CODE = '1000' OR B.RSLT_CODE = '1001') + THEN 'S' + ELSE 'F' + END) = 'S' + ) AS successCount + , (SELECT + COUNT(0) + FROM + MJ_MSG_DATA B + WHERE + B.RESERVE_C_YN = 'N' + AND B.MSG_GROUP_ID = M.msgGroupId + AND (CASE + WHEN B.AGENT_CODE = '01' AND (B.RSLT_CODE = '410' AND (B.RSLT_CODE2 = 'c')) + THEN 'E' + WHEN B.AGENT_CODE = '02' AND (B.RSLT_CODE = '1027' OR B.RSLT_CODE = '1030') + THEN 'E' + WHEN B.AGENT_CODE = '03' AND B.RSLT_CODE = '508' + THEN 'E' + WHEN B.AGENT_CODE = '04' AND (B.RSLT_CODE = '4432' OR B.RSLT_CODE = '4433' OR B.RSLT_CODE = '6628' OR B.RSLT_CODE = '6629') + THEN 'E' + WHEN B.AGENT_CODE = '05' AND (B.RSLT_CODE = '2404' OR B.RSLT_CODE = '3404' OR B.RSLT_CODE = '6404') + THEN 'E' + WHEN B.AGENT_CODE = '07' AND B.RSLT_CODE = '9013' + THEN 'E' + WHEN B.AGENT_CODE = '08' AND (B.RSLT_CODE = '2404' OR B.RSLT_CODE = '3404' OR B.RSLT_CODE = '6404') + THEN 'E' + WHEN B.AGENT_CODE = '09' AND (B.RSLT_CODE = '2404' OR B.RSLT_CODE = '3404' OR B.RSLT_CODE = '6404') + THEN 'E' + ELSE 'ETC' + END) = 'E' + ) AS callRejectionCount + ,( + SELECT + CONCAT( + ( + IF(B.FILE_PATH1 IS NOT NULL, (SELECT + ATCH_FILE_ID + FROM LETTNFILEDETAIL + WHERE CONCAT(STRE_FILE_NM, '.', FILE_EXTSN) = CONCAT(SUBSTRING_INDEX(B.FILE_PATH1, '/', -1)) + LIMIT 1), '') + ) + ,'^', + ( + IF(B.FILE_PATH2 IS NOT NULL, (SELECT + ATCH_FILE_ID + FROM LETTNFILEDETAIL + WHERE CONCAT(STRE_FILE_NM, '.', FILE_EXTSN) = CONCAT(SUBSTRING_INDEX(B.FILE_PATH2, '/', -1)) + LIMIT 1), '') + ) + ,'^', + ( + IF(B.FILE_PATH3 IS NOT NULL, (SELECT + ATCH_FILE_ID + FROM LETTNFILEDETAIL + WHERE CONCAT(STRE_FILE_NM, '.', FILE_EXTSN) = CONCAT(SUBSTRING_INDEX(B.FILE_PATH3, '/', -1)) + LIMIT 1), '') + )) + FROM + MJ_MSG_DATA B + WHERE + B.MSG_GROUP_ID = M.msgGroupId + LIMIT 1 + ) AS atchFiles + FROM + ( SELECT + COUNT(MSG_GROUP_ID) OVER() AS totCnt + , A.MSG_GROUP_ID AS msgGroupId + , A.USER_ID AS userId + , LMB.MBER_NM AS userNm + , LMB.ADMIN_SMS_NOTICE_YN AS adminSmsNoticeYn + , A.SEND_KIND AS sendKind + , A.CALL_FROM AS callFrom + , A.SMS_TXT AS smsTxt + , A.SUBJECT AS subject + , A.MSG_TYPE AS msgType + , D.CODE_NM AS msgTypeTxt + , DATE_FORMAT(A.REQ_DATE, '%Y-%m-%d %H:%i' ) AS reqDate + , A.REQ_DATE AS reqFullDate + , A.AGENT_CODE AS agentCode + , B.CODE_NM AS agentCodeTxt + , A.MSG_GROUP_CNT AS msgGroupCnt + , A.CONECT_MTHD AS conectMthd + , C.CODE_NM AS conectMthdTxt + , A.RESERVE_C_YN AS reserveCYn + , A.RESERVE_YN AS reserveYn + , A.FILE_CNT AS fileCnt + , DATE_FORMAT(A.CANCELDATE, '%Y-%m-%d %H:%i' ) AS cancelDate + , A.CALLBACK_YN AS callbackYn + , LMB.SMISHING_YN AS smishingYn + , LMB.VIP_YN AS vipYn + , LMB.CALLBACK_YN AS userCallbackYn + , IFNULL(LMB.BLINE_CODE, 'N') AS blineCode + , A.DELAY_YN AS delayYn + , A.DELAY_COMPLETE_YN AS delayCompleteYn + FROM + MJ_MSG_GROUP_DATA A + INNER JOIN LETTNGNRLMBER LMB + ON LMB.MBER_ID = A.USER_ID + LEFT JOIN( + SELECT CODE_NM, CODE, CODE_DC + FROM LETTCCMMNDETAILCODE + WHERE USE_AT = 'Y' + AND CODE_ID = 'ITN019' + ) B ON A.AGENT_CODE = B.CODE /** 전송사 */ + LEFT JOIN( + SELECT CODE_NM, CODE, CODE_DC + FROM LETTCCMMNDETAILCODE + WHERE USE_AT = 'Y' + AND CODE_ID = 'ITN020' + ) C ON A.CONECT_MTHD = C.CODE /** 접속기기 */ + LEFT JOIN( + SELECT CODE_NM , CODE , CODE_DC + FROM LETTCCMMNDETAILCODE + WHERE USE_AT = 'Y' + AND CODE_ID = 'ITN022' + ) D ON A.MSG_TYPE = D.CODE /** 메세지타입 */ + WHERE 1 = 1 + AND A.MSG_TYPE IN (4, 6) + + + + + + AND A.SEND_KIND = 'H' + + + AND A.SEND_KIND = 'A' + + + + + AND ( + USER_ID LIKE CONCAT ('%', #searchKeyword#,'%') OR + A.CALL_FROM LIKE CONCAT('%', #searchKeyword#, '%') OR + SMS_TXT LIKE CONCAT ('%', #searchKeyword#,'%') + ) + + + + AND A.USER_ID LIKE CONCAT('%', #searchKeyword#, '%') + + + + AND A.CALL_FROM LIKE CONCAT('%', #searchKeyword#, '%') + + + AND A.SMS_TXT LIKE CONCAT ('%', #searchKeyword#,'%') + + + + AND B.CODE LIKE CONCAT ('%', #searchCondition2#,'%') + + + + AND A.MSG_TYPE = '4' + + + AND A.MSG_TYPE = '6' AND A.FILE_CNT = 0 + + + AND A.MSG_TYPE = '6' AND A.FILE_CNT > 0 + + + + AND A.USER_ID = #userId# + + + + AND = #ntceBgnde# ]]> + + + AND + + + + AND RESERVE_YN = #reserveYn# + + + AND RESERVE_C_YN = #reserveCYn# + + + + AND ADMIN_SMS_NOTICE_YN = #searchAdminSmsNoticeYn# + + + + AND MSG_KIND = 'C' + + + + AND A.MSG_GROUP_ID IN ( + SELECT + Y.MSG_GROUP_ID + FROM MJ_MSG_GROUP_DATA Y + WHERE 1=1 + AND Y.REQ_DATE >= NOW() + AND Y.RESERVE_C_YN = 'N' + AND IFNULL(Y.DELAY_YN, 'N') = 'Y' + AND IFNULL(Y.DELAY_COMPLETE_YN, 'N') = 'N' + AND Y.USER_ID != 'system' + ) + + + ORDER BY 1=1 + + ,$searchSortCnd$ + + + $searchSortOrd$ + + LIMIT #recordCountPerPage# OFFSET #firstIndex# + ) M + + diff --git a/src/main/resources/egovframework/sqlmap/let/pay/MjonPay_SQL_mysql.xml b/src/main/resources/egovframework/sqlmap/let/pay/MjonPay_SQL_mysql.xml index 3110bae..8000342 100644 --- a/src/main/resources/egovframework/sqlmap/let/pay/MjonPay_SQL_mysql.xml +++ b/src/main/resources/egovframework/sqlmap/let/pay/MjonPay_SQL_mysql.xml @@ -285,6 +285,16 @@ INNER JOIN LETTNGNRLMBER LM ON A.USER_ID = LM.MBER_ID WHERE 1=1 + + = #searchStartDate# + ]]> + + + + AND MEMO NOT LIKE '%발송' AND MEMO NOT LIKE '%환불' AND MEMO NOT LIKE '맞춤문자%' AND MEMO NOT LIKE '문자 실패로%' /**SMS 문자 발송, 환불처리, 맞춤문자 신청, 문자 실패 환불에 따른 금액 처리는 제외하고 리스트를 보여줌*/ @@ -308,16 +318,6 @@ AND DEL_FLAG = #searchCondition2# - - = DATE_FORMAT(#searchStartDate#, '%Y-%m-%d') - ]]> - - - - ORDER BY 1=1 ,$searchSortCnd$ diff --git a/src/main/resources/egovframework/sqlmap/let/sec/gmt/EgovGroupManage_SQL_Mysql.xml b/src/main/resources/egovframework/sqlmap/let/sec/gmt/EgovGroupManage_SQL_Mysql.xml deleted file mode 100644 index 2fd5c6d..0000000 --- a/src/main/resources/egovframework/sqlmap/let/sec/gmt/EgovGroupManage_SQL_Mysql.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/main/resources/egovframework/sqlmap/let/sym/mnu/mpm/EgovMenuManage_SQL_Mysql.xml b/src/main/resources/egovframework/sqlmap/let/sym/mnu/mpm/EgovMenuManage_SQL_Mysql.xml index a9ff8fd..7532910 100644 --- a/src/main/resources/egovframework/sqlmap/let/sym/mnu/mpm/EgovMenuManage_SQL_Mysql.xml +++ b/src/main/resources/egovframework/sqlmap/let/sym/mnu/mpm/EgovMenuManage_SQL_Mysql.xml @@ -265,6 +265,7 @@ , EMPLYR_ID = #emplyrId# , MENU_NO = #menuNo# + , LAST_UPDT_PNTTM = now() WHERE MENU_NO=#tmp_Id# diff --git a/src/main/resources/egovframework/sqlmap/let/sym/site/EgovSiteManage_SQL_Mysql.xml b/src/main/resources/egovframework/sqlmap/let/sym/site/EgovSiteManage_SQL_Mysql.xml index 6db61c9..3e54c8e 100644 --- a/src/main/resources/egovframework/sqlmap/let/sym/site/EgovSiteManage_SQL_Mysql.xml +++ b/src/main/resources/egovframework/sqlmap/let/sym/site/EgovSiteManage_SQL_Mysql.xml @@ -915,6 +915,9 @@ MENU_NM LIKE CONCAT('%' , #searchKeyword#, '%') + + DATE_FORMAT(a.LAST_UPDT_PNTTM,'%Y%m%d') >= DATE_FORMAT(DATE_ADD(NOW(), interval -7 day),'%Y%m%d') + ORDER BY 1=1 diff --git a/src/main/webapp/WEB-INF/jsp/cmm/sym/ccm/EgovCcmCmmnCodeList.jsp b/src/main/webapp/WEB-INF/jsp/cmm/sym/ccm/EgovCcmCmmnCodeList.jsp index 9fb206e..8e17c98 100644 --- a/src/main/webapp/WEB-INF/jsp/cmm/sym/ccm/EgovCcmCmmnCodeList.jsp +++ b/src/main/webapp/WEB-INF/jsp/cmm/sym/ccm/EgovCcmCmmnCodeList.jsp @@ -54,11 +54,6 @@ function linkPage(pageNo){ ******************************************************** */ function fnSearch(){ var listForm = document.listForm ; - - if(""!= listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - listForm.submit(); } /* ******************************************************** diff --git a/src/main/webapp/WEB-INF/jsp/cmm/sym/ccm/EgovCcmCmmnDetailCodeList.jsp b/src/main/webapp/WEB-INF/jsp/cmm/sym/ccm/EgovCcmCmmnDetailCodeList.jsp index be60025..45fefe2 100644 --- a/src/main/webapp/WEB-INF/jsp/cmm/sym/ccm/EgovCcmCmmnDetailCodeList.jsp +++ b/src/main/webapp/WEB-INF/jsp/cmm/sym/ccm/EgovCcmCmmnDetailCodeList.jsp @@ -35,11 +35,6 @@ function linkPage(pageNo){ * 조회 처리 ******************************************************** */ function fnSearch(){ - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } /* ******************************************************** diff --git a/src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovBlockUserList.jsp b/src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovBlockUserList.jsp index 1b1ce37..c7731f0 100644 --- a/src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovBlockUserList.jsp +++ b/src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovBlockUserList.jsp @@ -159,11 +159,6 @@ function linkPage(pageNo){ function fn_search(){ var searchKeyword = $('input[name=searchKeyword]').val(); $('input[name=searchKeyword]').val(searchKeyword.replace(/(\s*)/g, "")); - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } function fnViewCheck(){ diff --git a/src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovUserManage.jsp b/src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovUserManage.jsp index 016121c..6f58121 100644 --- a/src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovUserManage.jsp +++ b/src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovUserManage.jsp @@ -111,11 +111,6 @@ function linkPage(pageNo){ } function fn_search(){ - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } diff --git a/src/main/webapp/WEB-INF/jsp/cop/bbs/EgovBoardMstrList.jsp b/src/main/webapp/WEB-INF/jsp/cop/bbs/EgovBoardMstrList.jsp index 53d42fc..720ee1e 100644 --- a/src/main/webapp/WEB-INF/jsp/cop/bbs/EgovBoardMstrList.jsp +++ b/src/main/webapp/WEB-INF/jsp/cop/bbs/EgovBoardMstrList.jsp @@ -41,11 +41,6 @@ function linkPage(pageNo){ document.frm.pageIndex.value = pageNo; document.frm.method = "get"; document.frm.action = ""; - - if(""!= document.frm.searchWrd.value){ - updateRecentSearch();//최근검색어 등록 - } - document.frm.submit(); } diff --git a/src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerList.jsp b/src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerList.jsp index 45153f2..3b61e2c 100644 --- a/src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerList.jsp +++ b/src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerList.jsp @@ -125,11 +125,6 @@ function fncBannerListDelete() { } function linkPage(pageNo){ - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - var listForm = document.listForm ; listForm.pageIndex.value = pageNo ; diff --git a/src/main/webapp/WEB-INF/jsp/letter/cateconf/CateConfList.jsp b/src/main/webapp/WEB-INF/jsp/letter/cateconf/CateConfList.jsp index 6f87ed0..6ab767e 100644 --- a/src/main/webapp/WEB-INF/jsp/letter/cateconf/CateConfList.jsp +++ b/src/main/webapp/WEB-INF/jsp/letter/cateconf/CateConfList.jsp @@ -113,12 +113,6 @@ function linkPage(pageNo){ function fn_search(){ - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - - linkPage(1); } function fnViewCheck(){ diff --git a/src/main/webapp/WEB-INF/jsp/letter/hashconf/HashConfList.jsp b/src/main/webapp/WEB-INF/jsp/letter/hashconf/HashConfList.jsp index 7c554ac..7da7307 100644 --- a/src/main/webapp/WEB-INF/jsp/letter/hashconf/HashConfList.jsp +++ b/src/main/webapp/WEB-INF/jsp/letter/hashconf/HashConfList.jsp @@ -111,12 +111,6 @@ function linkPage(pageNo){ } function fn_search(){ - - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } diff --git a/src/main/webapp/WEB-INF/jsp/letter/messages/LetterMessageList.jsp b/src/main/webapp/WEB-INF/jsp/letter/messages/LetterMessageList.jsp index 1a77cf6..1a22dd3 100644 --- a/src/main/webapp/WEB-INF/jsp/letter/messages/LetterMessageList.jsp +++ b/src/main/webapp/WEB-INF/jsp/letter/messages/LetterMessageList.jsp @@ -121,11 +121,6 @@ function linkPage(pageNo){ function fn_search(){ var searchKeyword = $('input[name=searchKeyword]').val(); $('input[name=searchKeyword]').val(searchKeyword.replace(/(\s*)/g, "")); - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } diff --git a/src/main/webapp/WEB-INF/jsp/letter/photo/LetterPhotoList.jsp b/src/main/webapp/WEB-INF/jsp/letter/photo/LetterPhotoList.jsp index 2bc52e8..e2bc99b 100644 --- a/src/main/webapp/WEB-INF/jsp/letter/photo/LetterPhotoList.jsp +++ b/src/main/webapp/WEB-INF/jsp/letter/photo/LetterPhotoList.jsp @@ -130,11 +130,6 @@ function linkPage(pageNo){ function fn_search(){ var searchKeyword = $('input[name=searchKeyword]').val(); $('input[name=searchKeyword]').val(searchKeyword.replace(/(\s*)/g, "")); - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } diff --git a/src/main/webapp/WEB-INF/jsp/letter/photo/custom/LetterPhotoCustomList.jsp b/src/main/webapp/WEB-INF/jsp/letter/photo/custom/LetterPhotoCustomList.jsp index 228290d..804fbd5 100644 --- a/src/main/webapp/WEB-INF/jsp/letter/photo/custom/LetterPhotoCustomList.jsp +++ b/src/main/webapp/WEB-INF/jsp/letter/photo/custom/LetterPhotoCustomList.jsp @@ -106,11 +106,6 @@ function linkPage(pageNo){ function fn_search(){ var searchKeyword = $('input[name=searchKeyword]').val(); $('input[name=searchKeyword]').val(searchKeyword.replace(/(\s*)/g, "")); - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } diff --git a/src/main/webapp/WEB-INF/jsp/sec/ram/EgovAuthorManage.jsp b/src/main/webapp/WEB-INF/jsp/sec/ram/EgovAuthorManage.jsp index b06df7f..1eb770a 100644 --- a/src/main/webapp/WEB-INF/jsp/sec/ram/EgovAuthorManage.jsp +++ b/src/main/webapp/WEB-INF/jsp/sec/ram/EgovAuthorManage.jsp @@ -69,11 +69,6 @@ function fncManageChecked() { function fncSelectAuthorList(){ var listForm = document.listForm ; - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage('1'); } diff --git a/src/main/webapp/WEB-INF/jsp/sec/rmt/EgovRoleManage.jsp b/src/main/webapp/WEB-INF/jsp/sec/rmt/EgovRoleManage.jsp index 529325a..d27cfa2 100644 --- a/src/main/webapp/WEB-INF/jsp/sec/rmt/EgovRoleManage.jsp +++ b/src/main/webapp/WEB-INF/jsp/sec/rmt/EgovRoleManage.jsp @@ -72,11 +72,6 @@ function fncManageChecked() { } function fncSelectRoleList(pageNo){ - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } diff --git a/src/main/webapp/WEB-INF/jsp/sym/log/clg/EgovLoginLogGroupList.jsp b/src/main/webapp/WEB-INF/jsp/sym/log/clg/EgovLoginLogGroupList.jsp index 4e49d71..26b34af 100644 --- a/src/main/webapp/WEB-INF/jsp/sym/log/clg/EgovLoginLogGroupList.jsp +++ b/src/main/webapp/WEB-INF/jsp/sym/log/clg/EgovLoginLogGroupList.jsp @@ -55,11 +55,6 @@ String.prototype.replaceAll = function(src, repl){ } function fn_select(pageNo){ - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } diff --git a/src/main/webapp/WEB-INF/jsp/sym/log/clg/EgovLoginLogList.jsp b/src/main/webapp/WEB-INF/jsp/sym/log/clg/EgovLoginLogList.jsp index deb0bc2..4d0fdea 100644 --- a/src/main/webapp/WEB-INF/jsp/sym/log/clg/EgovLoginLogList.jsp +++ b/src/main/webapp/WEB-INF/jsp/sym/log/clg/EgovLoginLogList.jsp @@ -44,11 +44,6 @@ String.prototype.replaceAll = function(src, repl){ } function fn_select(pageNo){ - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } diff --git a/src/main/webapp/WEB-INF/jsp/sym/log/clg/SelectLogMethodList.jsp b/src/main/webapp/WEB-INF/jsp/sym/log/clg/SelectLogMethodList.jsp index 5ff08b5..6295114 100644 --- a/src/main/webapp/WEB-INF/jsp/sym/log/clg/SelectLogMethodList.jsp +++ b/src/main/webapp/WEB-INF/jsp/sym/log/clg/SelectLogMethodList.jsp @@ -52,11 +52,6 @@ String.prototype.replaceAll = function(src, repl){ } function fn_select(pageNo){ - - if(""!= document.frm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } diff --git a/src/main/webapp/WEB-INF/jsp/sym/log/clg/SelectMsgLogList.jsp b/src/main/webapp/WEB-INF/jsp/sym/log/clg/SelectMsgLogList.jsp index 0a81cd1..825fb8e 100644 --- a/src/main/webapp/WEB-INF/jsp/sym/log/clg/SelectMsgLogList.jsp +++ b/src/main/webapp/WEB-INF/jsp/sym/log/clg/SelectMsgLogList.jsp @@ -55,13 +55,6 @@ String.prototype.replaceAll = function(src, repl){ } function fn_search(){ - /* - - if(""!= document.frm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - - */ var frm = document.frm; frm.sMonth.value=''; frm.sDay.value=''; @@ -69,13 +62,6 @@ function fn_search(){ } function fn_select_month(p_month){ - /* - - if(""!= document.frm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - - */ var frm = document.frm; frm.sMonth.value=p_month; @@ -85,13 +71,6 @@ function fn_select_month(p_month){ } function fn_select_day(p_day){ - /* - - if(""!= document.frm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - - */ var frm = document.frm; //frm.sMonth.value=p_month; diff --git a/src/main/webapp/WEB-INF/jsp/sym/log/clg/SelectWebLogList.jsp b/src/main/webapp/WEB-INF/jsp/sym/log/clg/SelectWebLogList.jsp index 1c0e2bf..66bea12 100644 --- a/src/main/webapp/WEB-INF/jsp/sym/log/clg/SelectWebLogList.jsp +++ b/src/main/webapp/WEB-INF/jsp/sym/log/clg/SelectWebLogList.jsp @@ -52,11 +52,6 @@ String.prototype.replaceAll = function(src, repl){ } function fn_search(){ - - if(""!= document.frm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } diff --git a/src/main/webapp/WEB-INF/jsp/sym/mnu/mcm/EgovMenuCreatManage.jsp b/src/main/webapp/WEB-INF/jsp/sym/mnu/mcm/EgovMenuCreatManage.jsp index 4510179..da12367 100644 --- a/src/main/webapp/WEB-INF/jsp/sym/mnu/mcm/EgovMenuCreatManage.jsp +++ b/src/main/webapp/WEB-INF/jsp/sym/mnu/mcm/EgovMenuCreatManage.jsp @@ -33,11 +33,6 @@ function linkPage(pageNo){ //페이징 처리 함수 } function selectMenuCreatManageList() { //조회 처리 함수 - - if(""!= document.menuCreatManageForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1) ; } diff --git a/src/main/webapp/WEB-INF/jsp/sym/site/metaTagList.jsp b/src/main/webapp/WEB-INF/jsp/sym/site/metaTagList.jsp index cf34a10..8f7810b 100644 --- a/src/main/webapp/WEB-INF/jsp/sym/site/metaTagList.jsp +++ b/src/main/webapp/WEB-INF/jsp/sym/site/metaTagList.jsp @@ -40,6 +40,16 @@ function fnInsertView(){ document.listForm.action = ""; document.listForm.submit(); } + +//indexnow +function fnIndexNow(){ + if(confirm("index 처리 합니까?")) { + document.listForm.action = ""; + document.listForm.submit(); + } + +} + function fnView(metaTagNo){ document.listForm.metaTagNo.value = metaTagNo ; document.listForm.action = ""; @@ -103,6 +113,8 @@ function fnDelete(){ + + @@ -181,6 +193,7 @@ function fnDelete(){ +
    @@ -188,6 +201,10 @@ function fnDelete(){
+ +
+ +
diff --git a/src/main/webapp/WEB-INF/jsp/sym/site/selectSiteIpList.jsp b/src/main/webapp/WEB-INF/jsp/sym/site/selectSiteIpList.jsp index 1e2d124..f06ccac 100644 --- a/src/main/webapp/WEB-INF/jsp/sym/site/selectSiteIpList.jsp +++ b/src/main/webapp/WEB-INF/jsp/sym/site/selectSiteIpList.jsp @@ -68,11 +68,6 @@ $(document).ready(function(){ }); function fn_select(pageNo){ - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } diff --git a/src/main/webapp/WEB-INF/jsp/sym/site/selectSiteManagerList.jsp b/src/main/webapp/WEB-INF/jsp/sym/site/selectSiteManagerList.jsp index e420a85..c6ada02 100644 --- a/src/main/webapp/WEB-INF/jsp/sym/site/selectSiteManagerList.jsp +++ b/src/main/webapp/WEB-INF/jsp/sym/site/selectSiteManagerList.jsp @@ -94,11 +94,6 @@ function fncManageChecked() { } function fncSelectLoginPolicyList(pageNo){ - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } diff --git a/src/main/webapp/WEB-INF/jsp/uat/uap/EgovLoginGroupPolicyList.jsp b/src/main/webapp/WEB-INF/jsp/uat/uap/EgovLoginGroupPolicyList.jsp index 88f9771..683d3ac 100644 --- a/src/main/webapp/WEB-INF/jsp/uat/uap/EgovLoginGroupPolicyList.jsp +++ b/src/main/webapp/WEB-INF/jsp/uat/uap/EgovLoginGroupPolicyList.jsp @@ -91,11 +91,6 @@ function fncManageChecked() { } function fncSelectLoginPolicyList(pageNo){ - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } diff --git a/src/main/webapp/WEB-INF/jsp/uss/ion/addr/AddrGroupList.jsp b/src/main/webapp/WEB-INF/jsp/uss/ion/addr/AddrGroupList.jsp index 730a73c..a9418fd 100644 --- a/src/main/webapp/WEB-INF/jsp/uss/ion/addr/AddrGroupList.jsp +++ b/src/main/webapp/WEB-INF/jsp/uss/ion/addr/AddrGroupList.jsp @@ -67,11 +67,6 @@ function fn_delete(){ /* 검색 */ function fn_search(){ - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } diff --git a/src/main/webapp/WEB-INF/jsp/uss/ion/addr/AddrList.jsp b/src/main/webapp/WEB-INF/jsp/uss/ion/addr/AddrList.jsp index d4bfcbc..a4d39a3 100644 --- a/src/main/webapp/WEB-INF/jsp/uss/ion/addr/AddrList.jsp +++ b/src/main/webapp/WEB-INF/jsp/uss/ion/addr/AddrList.jsp @@ -67,11 +67,6 @@ function fn_delete(){ /* 검색 */ function fn_search(){ - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - linkPage(1); } diff --git a/src/main/webapp/WEB-INF/jsp/uss/ion/bnr/pop/mainPopupList.jsp b/src/main/webapp/WEB-INF/jsp/uss/ion/bnr/pop/mainPopupList.jsp index 9ae85bd..0158e42 100644 --- a/src/main/webapp/WEB-INF/jsp/uss/ion/bnr/pop/mainPopupList.jsp +++ b/src/main/webapp/WEB-INF/jsp/uss/ion/bnr/pop/mainPopupList.jsp @@ -60,11 +60,6 @@ function doDep3(event){ } function linkPage(pageNo){ - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - var listForm = document.listForm ; listForm.pageIndex.value = pageNo ; diff --git a/src/main/webapp/WEB-INF/jsp/uss/ion/bnr/sub/subMainZoneList.jsp b/src/main/webapp/WEB-INF/jsp/uss/ion/bnr/sub/subMainZoneList.jsp index 63dcb96..4ae2aed 100644 --- a/src/main/webapp/WEB-INF/jsp/uss/ion/bnr/sub/subMainZoneList.jsp +++ b/src/main/webapp/WEB-INF/jsp/uss/ion/bnr/sub/subMainZoneList.jsp @@ -69,11 +69,6 @@ function doDep3(event){ } function linkPage(pageNo){ - - if(""!= document.listForm.searchKeyword.value){ - updateRecentSearch();//최근검색어 등록 - } - var listForm = document.listForm ; listForm.pageIndex.value = pageNo ; diff --git a/src/main/webapp/WEB-INF/jsp/uss/ion/cert/CertEtcList.jsp b/src/main/webapp/WEB-INF/jsp/uss/ion/cert/CertEtcList.jsp index ee7aeaf..d0ff073 100644 --- a/src/main/webapp/WEB-INF/jsp/uss/ion/cert/CertEtcList.jsp +++ b/src/main/webapp/WEB-INF/jsp/uss/ion/cert/CertEtcList.jsp @@ -34,11 +34,6 @@