This commit is contained in:
hehihoho3@gmail.com 2025-06-11 14:20:18 +09:00
commit 6e9819801d
71 changed files with 558 additions and 1081 deletions

View File

@ -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<String, Object> 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());
}
}
}
}
}

View File

@ -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<MjonMsgVO> selectMjonMsgGroupCompleteList_advc(MjonMsgVO searchVO) throws Exception;
}

View File

@ -522,4 +522,9 @@ public class MjonMsgDAO extends EgovAbstractDAO {
update("mjonMsgDAO.updateHoliMsgResultYn", mjonMsgVO);
}
@SuppressWarnings("unchecked")
public List<MjonMsgVO> selectMjonMsgGroupCompleteList_advc(MjonMsgVO mjonMsgVO) throws Exception{
return (List<MjonMsgVO>)list("mjonMsgDAO.selectMjonMsgGroupCompleteList_advc", mjonMsgVO);
}
}

View File

@ -1283,4 +1283,9 @@ public class MjonMsgServiceImpl extends EgovAbstractServiceImpl implements MjonM
}
@Override
public List<MjonMsgVO> selectMjonMsgGroupCompleteList_advc(MjonMsgVO mjonMsgVO) throws Exception {
return mjonMsgDAO.selectMjonMsgGroupCompleteList_advc(mjonMsgVO);
}
}

View File

@ -199,7 +199,7 @@ public class MjonMsgController {
}
// 문자발송 완료건은 모두 보이도록 처리
resultList = mjonMsgService.selectMjonMsgGroupCompleteList(searchVO);
resultList = mjonMsgService.selectMjonMsgGroupCompleteList_advc(searchVO);
model.addAttribute("resultList", resultList);

View File

@ -1,70 +0,0 @@
package itn.let.sec.gmt.service;
import java.util.List;
/**
* 그룹관리에 관한 서비스 인터페이스 클래스를 정의한다.
* @author 공통서비스 개발팀 이문준
* @since 2009.06.01
* @version 1.0
* @see
*
* <pre>
* << 개정이력(Modification Information) >>
*
* 수정일 수정자 수정내용
* ------- -------- ---------------------------
* 2009.03.20 이문준 최초 생성
* 2011.08.31 JJY 경량환경 템플릿 커스터마이징버전 생성
*
* </pre>
*/
public interface EgovGroupManageService {
/**
* 검색조건에 따른 그룹정보를 조회
* @param groupManageVO GroupManageVO
* @return GroupManageVO
* @exception Exception
*/
public GroupManageVO selectGroup(GroupManageVO groupManageVO) throws Exception;
/**
* 시스템사용 목적별 그룹 목록 조회
* @param groupManageVO GroupManageVO
* @return List<GroupManageVO>
* @exception Exception
*/
public List<GroupManageVO> 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;
}

View File

@ -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
*
* <pre>
* << 개정이력(Modification Information) >>
*
* 수정일 수정자 수정내용
* ------- -------- ---------------------------
* 2009.03.20 이문준 최초 생성
* 2011.08.31 JJY 경량환경 템플릿 커스터마이징버전 생성
*
* </pre>
*/
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;
}
}

View File

@ -1,72 +0,0 @@
package itn.let.sec.gmt.service;
import java.util.List;
/**
* 그룹관리에 대한 Vo 클래스를 정의한다.
* @author 공통서비스 개발팀 이문준
* @since 2009.06.01
* @version 1.0
* @see
*
* <pre>
* << 개정이력(Modification Information) >>
*
* 수정일 수정자 수정내용
* ------- -------- ---------------------------
* 2009.03.20 이문준 최초 생성
* 2011.08.31 JJY 경량환경 템플릿 커스터마이징버전 생성
*
* </pre>
*/
public class GroupManageVO extends GroupManage {
/**
* serialVersionUID
*/
private static final long serialVersionUID = 1L;
/**
* 그룹 목록
*/
List <GroupManageVO> groupManageList;
/**
* 삭제대상 목록
*/
String[] delYn;
/**
* groupManageList attribute 리턴한다.
* @return List<GroupManageVO>
*/
public List<GroupManageVO> getGroupManageList() {
return groupManageList;
}
/**
* groupManageList attribute 값을 설정한다.
* @param groupManageList List<GroupManageVO>
*/
public void setGroupManageList(List<GroupManageVO> 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;
}
}

View File

@ -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
*
* <pre>
* << 개정이력(Modification Information) >>
*
* 수정일 수정자 수정내용
* ------- -------- ---------------------------
* 2009.03.11 이문준 최초 생성
* 2011.08.31 JJY 경량환경 템플릿 커스터마이징버전 생성
*
* </pre>
*/
@Service("egovGroupManageService")
public class EgovGroupManageServiceImpl extends EgovAbstractServiceImpl implements EgovGroupManageService {
@Resource(name="groupManageDAO")
private GroupManageDAO groupManageDAO;
/**
* 시스템사용 목적별 그룹 목록 조회
* @param groupManageVO GroupManageVO
* @return List<GroupManageVO>
* @exception Exception
*/
public List<GroupManageVO> 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);
}
}

View File

@ -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
*
* <pre>
* << 개정이력(Modification Information) >>
*
* 수정일 수정자 수정내용
* ------- -------- ---------------------------
* 2009.03.11 이문준 최초 생성
* 2011.08.31 JJY 경량환경 템플릿 커스터마이징버전 생성
*
* </pre>
*/
@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<GroupManageVO> selectGroupList(GroupManageVO groupManageVO) throws Exception {
return (List<GroupManageVO>) 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);
}
}

View File

@ -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
*
* <pre>
* << 개정이력(Modification Information) >>
*
* 수정일 수정자 수정내용
* ------- -------- ---------------------------
* 2009.03.11 이문준 최초 생성
* 2011.08.31 JJY 경량환경 템플릿 커스터마이징버전 생성
*
* </pre>
*/
@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<strGroupIds.length;i++) {
groupManage.setGroupId(strGroupIds[i]);
egovGroupManageService.deleteGroup(groupManage);
}
status.setComplete();
model.addAttribute("message", egovMessageSource.getMessage("success.common.delete"));
return "forward:/sec/gmt/EgovGroupList.do";
}
/**
* 그룹팝업 화면 이동
* @return String
* @exception Exception
*/
@RequestMapping("/sec/gmt/EgovGroupSearchView.do")
public String selectGroupSearchView()
throws Exception {
return "/sec/gmt/EgovGroupSearch";
}
/**
* 시스템사용 목적별 그룹 목록 조회
* @param groupManageVO GroupManageVO
* @return String
* @exception Exception
*/
@RequestMapping(value="/sec/gmt/EgovGroupSearchList.do")
public String selectGroupSearchList(@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/EgovGroupSearch";
}
}

View File

@ -14,7 +14,6 @@ import org.springframework.web.bind.support.SessionStatus;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;
import org.springmodules.validation.commons.DefaultBeanValidator;
import egovframework.rte.fdl.property.EgovPropertyService;
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
import itn.com.cmm.EgovMessageSource;
import itn.com.cmm.util.EgovDoubleSubmitHelper;
@ -50,10 +49,6 @@ public class EgovAuthorManageController {
@Resource(name = "egovAuthorManageService")
private EgovAuthorManageService egovAuthorManageService;
/** EgovPropertyService */
@Resource(name = "propertiesService")
protected EgovPropertyService propertiesService;
@Autowired
private DefaultBeanValidator beanValidator;

View File

@ -10,7 +10,6 @@ import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.support.SessionStatus;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;
import egovframework.rte.fdl.property.EgovPropertyService;
import egovframework.rte.fdl.security.intercept.EgovReloadableFilterInvocationSecurityMetadataSource;
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
import itn.com.cmm.EgovMessageSource;
@ -46,10 +45,6 @@ public class EgovAuthorRoleController {
@Resource(name = "egovAuthorRoleManageService")
private EgovAuthorRoleManageService egovAuthorRoleManageService;
/** EgovPropertyService */
@Resource(name = "propertiesService")
protected EgovPropertyService propertiesService;
@Resource(name="databaseSecurityMetadataSource")
EgovReloadableFilterInvocationSecurityMetadataSource databaseSecurityMetadataSource;

View File

@ -9,10 +9,14 @@ import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
import itn.com.cmm.LoginVO;
import itn.let.sym.log.lgm.service.EgovSysLogService;
import itn.let.sym.log.lgm.service.SysLog;
import itn.let.uat.uia.web.ClientIP;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Service;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;
/**
* 로그관리(시스템) 위한 서비스 구현 클래스
@ -103,11 +107,17 @@ public class EgovSysLogServiceImpl extends EgovAbstractServiceImpl implements
@Override
public void logInsertAdminSysLog(SysLog sysLog) throws Exception {
String requstId = egovAdminLogIdGnrService.getNextStringId();
String ip = "";
sysLog.setRequstId(requstId);
LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
if(null != loginVO){
sysLog.setSiteId(loginVO.getSiteId());
}
HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.currentRequestAttributes()).getRequest();
ip = ClientIP.getClientIP(request);
sysLog.setRqesterIp(ip);
sysLogDAO.logInsertAdminSysLog(sysLog);
}

View File

@ -66,6 +66,7 @@ import itn.let.sym.site.service.SiteManagerVO;
import itn.let.sym.site.service.TermsVO;
import itn.let.uss.umt.service.EgovUserManageService;
import itn.let.uss.umt.service.UserManageVO;
import itn.let.utl.user.service.IndexNowUtil;
import itn.let.utl.user.service.MjonNoticeSendUtil;
/**
@ -129,6 +130,9 @@ public class EgovSiteManagerController {
@Resource(name = "userManageService")
private EgovUserManageService userManageService;
@Resource(name="indexNowUtil")
private IndexNowUtil indexNowUtil;
/** 알림전송 Util */
@Resource(name = "mjonNoticeSendUtil")
@ -2063,6 +2067,56 @@ public class EgovSiteManagerController {
return "redirect:/sym/site/selectMetaTagList.do";
}
/**
* 메타태그 인택스
*
* @param metaTagVO
* @param model
* @return
* @throws Exception
*/
@RequestMapping("/sym/site/selectMetaTagIndex.do")
public String selectMetaTagIndex(@ModelAttribute("searchVO") MetaTagVO metaTagVO, ModelMap model) throws Exception{
/** paging */
PaginationInfo paginationInfo = new PaginationInfo();
paginationInfo.setCurrentPageNo(1);
paginationInfo.setRecordCountPerPage(100000);
paginationInfo.setPageSize(1);
metaTagVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
metaTagVO.setLastIndex(paginationInfo.getLastRecordIndex());
metaTagVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
if("".equals(metaTagVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
metaTagVO.setSearchSortCnd("frstRegistPnttm");
metaTagVO.setSearchSortOrd("desc");
}
metaTagVO.setSearchKeyword("10");
metaTagVO.setSearchCondition("10");
List<MetaTagVO> 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;i<metaTagList.size();i++) {
indexNowUtil.submitUrl("https://www.munjaon.co.kr" + metaTagList.get(i).getUrl());
//if (i>2) break;
}
//submitUrl("https://yourdomain.com/new-post.html"); // 🔁 여기에 전송할 실제 URL 입력
//return "/sym/site/metaTagList";
return "redirect:/sym/site/selectMetaTagList.do";
}
/**
* 관리자 알림 여부
*

View File

@ -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();

View File

@ -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 입력
}
*/
}

View File

@ -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

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMapConfig PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN"
"http://ibatis.apache.org/dtd/sql-map-config-2.dtd">
<sqlMapConfig>
<sqlMap resource="egovframework/sqlmap/let/sec/gmt/EgovGroupManage_SQL_Mysql.xml"/>
</sqlMapConfig>

View File

@ -523,10 +523,10 @@
</isNotEmpty>
<isNotEmpty property="ntceBgnde">
AND <![CDATA[ DATE_FORMAT(A.REQ_DATE, '%Y-%m-%d') >= #ntceBgnde# ]]>
AND <![CDATA[ A.REQ_DATE >= #ntceBgnde# ]]>
</isNotEmpty>
<isNotEmpty property="ntceEndde">
AND <![CDATA[ DATE_FORMAT(A.REQ_DATE, '%Y-%m-%d') <= #ntceEndde# ]]>
AND <![CDATA[ A.REQ_DATE <= #ntceEndde# ]]>
</isNotEmpty>
<isNotEmpty property="reserveYn">
@ -1005,7 +1005,7 @@
WHERE 1=1
AND A.MSG_TYPE IN (4, 6)
<![CDATA[
AND ABS((DATEDIFF(a.REQ_DATE, now())-1)) <= 7
AND a.REQ_DATE BETWEEN CURDATE() - INTERVAL 6 DAY AND CURDATE() + INTERVAL 8 DAY
AND A.USER_ID IN (
SELECT M2.USER_ID
FROM (
@ -2773,6 +2773,7 @@
</select>
<select id="mjonMsgDAO.selectRankNumberList_230125" parameterClass="mjPhoneMemberVO" resultClass="mjPhoneMemberVO">
/* mjonMsgDAO.selectRankNumberList_230125 */
SELECT
M.totCnt,
M.userId,
@ -2806,14 +2807,30 @@
sum(cnt) CNT
, max(regist_pnttm) as frstRegistPnttm
FROM mj_sttst_msg_rank AA
WHERE 1=1
WHERE 1=2
<isNotEmpty property="msgType">
AND MSG_TYPE = #msgType#
</isNotEmpty>
<isNotEmpty property="agentCode">
AND AGENT_CODE = #agentCode#
</isNotEmpty>
GROUP BY AA.MBER_ID
GROUP BY AA.MBER_ID
/* 상위 통계 테이블 정지된 상태로 아래 쿼리로 임시 처리했음 */
UNION ALL
SELECT A.user_id,
SUM(msg_group_cnt) CNT ,
MAX(req_date) AS frstRegistPnttm
FROM mj_msg_group_data a
WHERE 1=1
<isNotEmpty property="msgType">
AND MSG_TYPE = #msgType#
</isNotEmpty>
<isNotEmpty property="agentCode">
AND AGENT_CODE = #agentCode#
</isNotEmpty>
GROUP BY A.USER_ID
) A
LEFT JOIN COMVNUSERMASTER D ON A.USER_ID = D.USER_ID
LEFT JOIN LETTNGNRLMBER E ON A.USER_ID = E.MBER_ID
@ -6418,10 +6435,10 @@
ON mgd.MSG_TYPE = mgt.CODE
WHERE 1 =1
<isNotEmpty property="ntceBgnde">
AND <![CDATA[ DATE_FORMAT(mgd.REQ_DATE, '%Y-%m-%d') >= #ntceBgnde# ]]>
AND <![CDATA[ mgd.REQ_DATE >= #ntceBgnde# ]]>
</isNotEmpty>
<isNotEmpty property="ntceEndde">
AND <![CDATA[ DATE_FORMAT(mgd.REQ_DATE, '%Y-%m-%d') <= #ntceEndde# ]]>
AND <![CDATA[ mgd.REQ_DATE <= #ntceEndde# ]]>
</isNotEmpty>
AND mgd.USER_ID = 'system'
)
@ -8244,5 +8261,285 @@
</update>
<!-- 문자발송 완료건은 모두 보이도록 처리 -->
<select id="mjonMsgDAO.selectMjonMsgGroupCompleteList_advc" parameterClass="mjonMsgVO" resultClass="mjonMsgVO">
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 ((IFNULL(DELAY_YN, 'N') = 'Y' AND DATE_ADD(NOW(), INTERVAL 60 MINUTE) >= REQ_DATE)
OR (IFNULL(DELAY_YN, 'N') = 'N' AND NOW() >= REQ_DATE)
OR (RESERVE_YN = 'Y' AND NOW() >= REQ_DATE))
-->
<!-- JSPark 2023.07.11 문자 전송완료 목록은 (즉시 + 예약 발송완료 + 처리안된 지연문자(즉시,예약) 노출 -->
<![CDATA[
AND CASE
WHEN RESERVE_YN = 'N'
THEN (REQ_DATE <= DATE_ADD(NOW(), INTERVAL 60 MINUTE))
WHEN RESERVE_YN = 'Y'
THEN (REQ_DATE <= NOW() OR (IFNULL(DELAY_YN, 'N') = 'Y' AND IFNULL(DELAY_COMPLETE_YN, 'N') = 'N'))
END
]]>
<isNotEmpty property="sendKind">
<isEqual property="sendKind" compareValue="H">
AND A.SEND_KIND = 'H'
</isEqual>
<isEqual property="sendKind" compareValue="A">
AND A.SEND_KIND = 'A'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="" >
AND (
USER_ID LIKE CONCAT ('%', #searchKeyword#,'%') OR
A.CALL_FROM LIKE CONCAT('%', #searchKeyword#, '%') OR
SMS_TXT LIKE CONCAT ('%', #searchKeyword#,'%')
)
</isEqual>
<isEqual property="searchCondition" compareValue="1">
AND A.USER_ID LIKE CONCAT('%', #searchKeyword#, '%')
</isEqual>
<isEqual property="searchCondition" compareValue="2">
AND A.CALL_FROM LIKE CONCAT('%', #searchKeyword#, '%')
</isEqual>
<isEqual property="searchCondition" compareValue="3">
AND A.SMS_TXT LIKE CONCAT ('%', #searchKeyword#,'%')
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchCondition2">
AND B.CODE LIKE CONCAT ('%', #searchCondition2#,'%')
</isNotEmpty>
<isNotEmpty property="searchCondition3">
<isEqual property="searchCondition3" compareValue="1">
AND A.MSG_TYPE = '4'
</isEqual>
<isEqual property="searchCondition3" compareValue="2">
AND A.MSG_TYPE = '6' AND A.FILE_CNT = 0
</isEqual>
<isEqual property="searchCondition3" compareValue="3">
AND A.MSG_TYPE = '6' AND A.FILE_CNT > 0
</isEqual>
</isNotEmpty>
<isNotEmpty property="userId">
AND A.USER_ID = #userId#
</isNotEmpty>
<isNotEmpty property="ntceBgnde">
AND <![CDATA[ A.REQ_DATE >= #ntceBgnde# ]]>
</isNotEmpty>
<isNotEmpty property="ntceEndde">
AND <![CDATA[ A.REQ_DATE <= #ntceEndde# ]]>
</isNotEmpty>
<isNotEmpty property="reserveYn">
AND RESERVE_YN = #reserveYn#
</isNotEmpty>
<isNotEmpty property="reserveCYn">
AND RESERVE_C_YN = #reserveCYn#
</isNotEmpty>
<isNotEmpty property="searchAdminSmsNoticeYn">
AND ADMIN_SMS_NOTICE_YN = #searchAdminSmsNoticeYn#
</isNotEmpty>
<isNotEmpty property="searchCampaignYn">
AND MSG_KIND = 'C'
</isNotEmpty>
<isNotEmpty property="searchDelayMsgYn">
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'
)
</isNotEmpty>
ORDER BY 1=1
<isNotEmpty property="searchSortCnd">
,$searchSortCnd$
</isNotEmpty>
<isNotEmpty property="searchSortOrd">
$searchSortOrd$
</isNotEmpty>
LIMIT #recordCountPerPage# OFFSET #firstIndex#
) M
</select>
</sqlMap>

View File

@ -285,6 +285,16 @@
INNER JOIN LETTNGNRLMBER LM
ON A.USER_ID = LM.MBER_ID
WHERE 1=1
<isNotEmpty prepend="AND" property="searchStartDate">
<![CDATA[
A.FRST_REGIST_PNTTM >= #searchStartDate#
]]>
</isNotEmpty>
<isNotEmpty prepend="AND" property="searchEndDate">
<![CDATA[
A.FRST_REGIST_PNTTM <= #searchEndDate#
]]>
</isNotEmpty>
AND MEMO NOT LIKE '%발송' AND MEMO NOT LIKE '%환불' AND MEMO NOT LIKE '맞춤문자%' AND MEMO NOT LIKE '문자 실패로%'
/**SMS 문자 발송, 환불처리, 맞춤문자 신청, 문자 실패 환불에 따른 금액 처리는 제외하고 리스트를 보여줌*/
<isNotEmpty property="searchKeyword">
@ -308,16 +318,6 @@
<isNotEmpty property="searchCondition2">
AND DEL_FLAG = #searchCondition2#
</isNotEmpty>
<isNotEmpty prepend="AND" property="searchStartDate">
<![CDATA[
DATE_FORMAT(A.FRST_REGIST_PNTTM, '%Y-%m-%d') >= DATE_FORMAT(#searchStartDate#, '%Y-%m-%d')
]]>
</isNotEmpty>
<isNotEmpty prepend="AND" property="searchEndDate">
<![CDATA[
DATE_FORMAT(A.FRST_REGIST_PNTTM, '%Y-%m-%d') <= DATE_FORMAT(#searchEndDate#, '%Y-%m-%d')
]]>
</isNotEmpty>
ORDER BY 1=1
<isNotEmpty property="searchSortCnd">
,$searchSortCnd$

View File

@ -1,78 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="GroupManage">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="groupManageVO" type="itn.let.sec.gmt.service.GroupManageVO"/>
<typeAlias alias="groupManage" type="itn.let.sec.gmt.service.GroupManage"/>
<resultMap id="group" class="itn.let.sec.gmt.service.GroupManageVO">
<result property="groupId" column="GROUP_ID" columnIndex="1"/>
<result property="groupNm" column="GROUP_NM" columnIndex="2"/>
<result property="groupDc" column="GROUP_DC" columnIndex="3"/>
<result property="groupCreatDe" column="GROUP_CREAT_DE" columnIndex="4"/>
</resultMap>
<select id="groupManageDAO.selectGroup" parameterClass="groupManageVO" resultMap="group">
<![CDATA[
SELECT GROUP_ID, GROUP_NM, GROUP_DC, GROUP_CREAT_DE
FROM LETTNAUTHORGROUPINFO
WHERE GROUP_ID=#groupId#
]]>
</select>
<select id="groupManageDAO.selectGroupList" parameterClass="groupManageVO" resultMap="group">
SELECT GROUP_ID, GROUP_NM, GROUP_DC, GROUP_CREAT_DE
FROM LETTNAUTHORGROUPINFO
WHERE 1=1
<isEqual prepend="AND" property="searchCondition" compareValue="1">
GROUP_NM LIKE CONCAT('%' , #searchKeyword#, '%')
</isEqual>
ORDER BY GROUP_CREAT_DE DESC
LIMIT #recordCountPerPage# OFFSET #firstIndex#
</select>
<insert id="groupManageDAO.insertGroup">
<![CDATA[
INSERT INTO LETTNAUTHORGROUPINFO
( GROUP_ID
, GROUP_NM
, GROUP_DC
, GROUP_CREAT_DE )
VALUES ( #groupId#
, #groupNm#
, #groupDc#
, now())
]]>
</insert>
<update id="groupManageDAO.updateGroup" parameterClass="groupManage">
<![CDATA[
UPDATE LETTNAUTHORGROUPINFO
SET GROUP_NM=#groupNm#
, GROUP_DC=#groupDc#
, GROUP_CREAT_DE=now()
WHERE GROUP_ID=#groupId#
]]>
</update>
<delete id="groupManageDAO.deleteGroup">
<![CDATA[
DELETE FROM LETTNAUTHORGROUPINFO
WHERE GROUP_ID=#groupId#
]]>
</delete>
<select id="groupManageDAO.selectGroupListTotCnt" parameterClass="groupManageVO" resultClass="int">
SELECT COUNT(*) totcnt
FROM LETTNAUTHORGROUPINFO
WHERE 1=1
<isEqual prepend="AND" property="searchCondition" compareValue="1">
GROUP_NM LIKE CONCAT('%' , #searchKeyword#, '%')
</isEqual>
</select>
</sqlMap>

View File

@ -265,6 +265,7 @@
, EMPLYR_ID = #emplyrId#
</isNotEmpty>
, MENU_NO = #menuNo#
, LAST_UPDT_PNTTM = now()
WHERE MENU_NO=#tmp_Id#
</update>

View File

@ -915,6 +915,9 @@
<isEqual prepend="AND" property="searchCondition" compareValue="2">
MENU_NM LIKE CONCAT('%' , #searchKeyword#, '%')
</isEqual>
<isEqual prepend="AND" property="searchCondition" compareValue="10">
DATE_FORMAT(a.LAST_UPDT_PNTTM,'%Y%m%d') >= DATE_FORMAT(DATE_ADD(NOW(), interval -7 day),'%Y%m%d')
</isEqual>
</isNotEmpty>
ORDER BY 1=1
<isNotEmpty property="searchSortCnd">

View File

@ -54,11 +54,6 @@ function linkPage(pageNo){
******************************************************** */
function fnSearch(){
var listForm = document.listForm ;
<c:if test="${!empty loginId}">
if(""!= listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
listForm.submit();
}
/* ********************************************************

View File

@ -35,11 +35,6 @@ function linkPage(pageNo){
* 조회 처리
******************************************************** */
function fnSearch(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}
/* ********************************************************

View File

@ -159,11 +159,6 @@ function linkPage(pageNo){
function fn_search(){
var searchKeyword = $('input[name=searchKeyword]').val();
$('input[name=searchKeyword]').val(searchKeyword.replace(/(\s*)/g, ""));
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}
function fnViewCheck(){

View File

@ -111,11 +111,6 @@ function linkPage(pageNo){
}
function fn_search(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -41,11 +41,6 @@ function linkPage(pageNo){
document.frm.pageIndex.value = pageNo;
document.frm.method = "get";
document.frm.action = "<c:url value='/cop/bbs/SelectBBSMasterInfs.do'/>";
<c:if test="${!empty loginId}">
if(""!= document.frm.searchWrd.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
document.frm.submit();
}

View File

@ -125,11 +125,6 @@ function fncBannerListDelete() {
}
function linkPage(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;

View File

@ -113,12 +113,6 @@ function linkPage(pageNo){
function fn_search(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}
function fnViewCheck(){

View File

@ -111,12 +111,6 @@ function linkPage(pageNo){
}
function fn_search(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -121,11 +121,6 @@ function linkPage(pageNo){
function fn_search(){
var searchKeyword = $('input[name=searchKeyword]').val();
$('input[name=searchKeyword]').val(searchKeyword.replace(/(\s*)/g, ""));
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -130,11 +130,6 @@ function linkPage(pageNo){
function fn_search(){
var searchKeyword = $('input[name=searchKeyword]').val();
$('input[name=searchKeyword]').val(searchKeyword.replace(/(\s*)/g, ""));
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -106,11 +106,6 @@ function linkPage(pageNo){
function fn_search(){
var searchKeyword = $('input[name=searchKeyword]').val();
$('input[name=searchKeyword]').val(searchKeyword.replace(/(\s*)/g, ""));
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -69,11 +69,6 @@ function fncManageChecked() {
function fncSelectAuthorList(){
var listForm = document.listForm ;
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage('1');
}

View File

@ -72,11 +72,6 @@ function fncManageChecked() {
}
function fncSelectRoleList(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -55,11 +55,6 @@ String.prototype.replaceAll = function(src, repl){
}
function fn_select(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -44,11 +44,6 @@ String.prototype.replaceAll = function(src, repl){
}
function fn_select(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -52,11 +52,6 @@ String.prototype.replaceAll = function(src, repl){
}
function fn_select(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.frm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -55,13 +55,6 @@ String.prototype.replaceAll = function(src, repl){
}
function fn_search(){
/*
<c:if test="${!empty loginId}">
if(""!= document.frm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
*/
var frm = document.frm;
frm.sMonth.value='';
frm.sDay.value='';
@ -69,13 +62,6 @@ function fn_search(){
}
function fn_select_month(p_month){
/*
<c:if test="${!empty loginId}">
if(""!= document.frm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
*/
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){
/*
<c:if test="${!empty loginId}">
if(""!= document.frm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
*/
var frm = document.frm;
//frm.sMonth.value=p_month;

View File

@ -52,11 +52,6 @@ String.prototype.replaceAll = function(src, repl){
}
function fn_search(){
<c:if test="${!empty loginId}">
if(""!= document.frm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -33,11 +33,6 @@ function linkPage(pageNo){ //페이징 처리 함수
}
function selectMenuCreatManageList() { //조회 처리 함수
<c:if test="${!empty loginId}">
if(""!= document.menuCreatManageForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1) ;
}

View File

@ -40,6 +40,16 @@ function fnInsertView(){
document.listForm.action = "<c:url value='/sym/site/metaTagInsertView.do'/>";
document.listForm.submit();
}
//indexnow
function fnIndexNow(){
if(confirm("index 처리 합니까?")) {
document.listForm.action = "<c:url value='/sym/site/selectMetaTagIndex.do'/>";
document.listForm.submit();
}
}
function fnView(metaTagNo){
document.listForm.metaTagNo.value = metaTagNo ;
document.listForm.action = "<c:url value='/sym/site/metaTagModifyView.do'/>";
@ -103,6 +113,8 @@ function fnDelete(){
<option value='10' <c:if test="${searchVO.pageUnit == '10' or searchVO.pageUnit == ''}">selected</c:if>>10줄</option>
<option value='20' <c:if test="${searchVO.pageUnit == '20'}">selected</c:if>>20줄</option>
<option value='30' <c:if test="${searchVO.pageUnit == '30'}">selected</c:if>>30줄</option>
<option value='100' <c:if test="${searchVO.pageUnit == '100'}">selected</c:if>>100줄</option>
<option value='500' <c:if test="${searchVO.pageUnit == '500'}">selected</c:if>>500줄</option>
</select>
</div>
</div>
@ -181,6 +193,7 @@ function fnDelete(){
<input type="button" class="btnType1" onclick="fnInsertView(); return false;" value="등록">
</div>
<c:if test="${!empty metaTagList}">
<div class="page">
<ul class="inline">
@ -188,6 +201,10 @@ function fnDelete(){
</ul>
</div>
</c:if>
<div class="btnWrap">
<input type="button" class="btnType1" onclick="fnIndexNow(); return false;" value="indexnow">
</div>
</div>
</div>

View File

@ -68,11 +68,6 @@ $(document).ready(function(){
});
function fn_select(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -94,11 +94,6 @@ function fncManageChecked() {
}
function fncSelectLoginPolicyList(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -91,11 +91,6 @@ function fncManageChecked() {
}
function fncSelectLoginPolicyList(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -67,11 +67,6 @@ function fn_delete(){
/* 검색 */
function fn_search(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -67,11 +67,6 @@ function fn_delete(){
/* 검색 */
function fn_search(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -60,11 +60,6 @@ function doDep3(event){
}
function linkPage(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;

View File

@ -69,11 +69,6 @@ function doDep3(event){
}
function linkPage(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;

View File

@ -34,11 +34,6 @@
<script type="text/javaScript" language="javascript">
function fn_search(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -34,11 +34,6 @@
<script type="text/javaScript" language="javascript">
function fn_search(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -55,11 +55,6 @@ function fn_delete(){
/* 검색 */
function fn_search(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -54,11 +54,6 @@ function fn_delete(){
}
function linkPage(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;
listForm.action = "<c:url value='/uss/ion/cnf/metaTagList.do'/>";

View File

@ -56,11 +56,6 @@ function fn_delete(){
/* 검색 */
function fn_search(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -41,11 +41,6 @@ function fn_delete(){
}
function linkPage(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;

View File

@ -55,11 +55,6 @@ function fn_delete(){
}
function linkPage(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;

View File

@ -79,11 +79,6 @@ function fn_delete(){
/* 검색 */
function fn_search(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -74,11 +74,6 @@ function fn_delete(){
function fn_search(){
var searchKeyword = $('input[name=searchKeyword]').val();
$('input[name=searchKeyword]').val(searchKeyword.replace(/(\s*)/g, ""));
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -57,11 +57,6 @@ function fncManageChecked() {
}
function fncSelectCntList(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -67,11 +67,6 @@ function fn_delete(){
/* 검색 */
function fn_search(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -67,11 +67,6 @@ function fn_delete(){
/* 검색 */
function fn_search(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -33,11 +33,6 @@
<script type="text/javaScript" language="javascript">
function fn_search(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -59,11 +59,6 @@ function fn_egov_detail_PopupManage(popupId){
* 검색 함수
******************************************************** */
function fn_egov_search_PopupManage(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}
/* ********************************************************

View File

@ -50,11 +50,6 @@ function doDep3(event){
}
function linkPage(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;

View File

@ -106,11 +106,6 @@ $(window).load(function() {
});
function linkPage(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;

View File

@ -106,11 +106,6 @@ $(window).load(function() {
});
function linkPage(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;

View File

@ -94,11 +94,6 @@ function fncManageChecked() {
}
function fncSelectLoginPolicyList(pageNo){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -76,11 +76,6 @@ function fn_egov_delete_QustnrManage(qestnrId){
* 검색 함수
******************************************************** */
function fn_egov_search_QustnrManage(){
<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>
linkPage(1);
}

View File

@ -39,16 +39,3 @@ $(document).ready(function(){
});
}
});
function updateRecentSearch(){
/*$.ajax({
url :"/uat/uia/RecentSearchUpdateAjax.do"
,type:"post"
,data:{"searchWord": $('.recentSearch').val()}
,dataType:"json"
,success:function(data){
}
,error: function(){
}
});*/
}