Merge branch 'master' of http://yongjoon.cho@vcs.iten.co.kr:9999/itnAdmin/fairnet
This commit is contained in:
commit
46ec3dbb64
@ -412,7 +412,10 @@ public class EgovMenuCreateManageController {
|
|||||||
for(int i = 1 ; i < 100 ; i++){ //0~100까지 임의으 매뉴번호 생성후 이전 매뉴가 없는것을 조회
|
for(int i = 1 ; i < 100 ; i++){ //0~100까지 임의으 매뉴번호 생성후 이전 매뉴가 없는것을 조회
|
||||||
if(0==menuManageVO.getUpperMenuId()){ //루트매뉴가 0이면 9990000
|
if(0==menuManageVO.getUpperMenuId()){ //루트매뉴가 0이면 9990000
|
||||||
insertMenNo = (9990000+"").replaceFirst("0" , i+"") ;
|
insertMenNo = (9990000+"").replaceFirst("0" , i+"") ;
|
||||||
}else {
|
}else if(1==menuManageVO.getUpperMenuId()){ //루트매뉴가 0이면 9990000
|
||||||
|
insertMenNo = (999000000+"").replaceFirst("0" , i+"") ;
|
||||||
|
}
|
||||||
|
else {
|
||||||
insertMenNo = (menuManageVO.getUpperMenuId()+"").replaceFirst("0" , i+"") ;
|
insertMenNo = (menuManageVO.getUpperMenuId()+"").replaceFirst("0" , i+"") ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -449,6 +452,12 @@ public class EgovMenuCreateManageController {
|
|||||||
menuManageVO.setSiteId(user.getSiteId());
|
menuManageVO.setSiteId(user.getSiteId());
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
|
if(menuManageVO.getRootMenuId().equals("0")) {
|
||||||
|
menuManageVO.setMenuUserType("A");
|
||||||
|
}else if(menuManageVO.getRootMenuId().equals("1")) {
|
||||||
|
menuManageVO.setMenuUserType("U");
|
||||||
|
}
|
||||||
|
|
||||||
menuManageService.insertMenuManage(menuManageVO);
|
menuManageService.insertMenuManage(menuManageVO);
|
||||||
//메뉴생성내역 테이블에 등록
|
//메뉴생성내역 테이블에 등록
|
||||||
menuCreateManageService.insertMenuCreat(menuManageVO);
|
menuCreateManageService.insertMenuCreat(menuManageVO);
|
||||||
@ -500,10 +509,10 @@ public class EgovMenuCreateManageController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int usingOtherSiteCnt = menuCreateManageDAO.selectMenuCreatAuthCnt(menuCreatVO) ; //다른 사이트 아이디가 매뉴를 사용할시 매뉴 삭제안한다.
|
// int usingOtherSiteCnt = menuCreateManageDAO.selectMenuCreatAuthCnt(menuCreatVO) ; //다른 사이트 아이디가 매뉴를 사용할시 매뉴 삭제안한다.
|
||||||
if(usingOtherSiteCnt == 1){
|
// if(usingOtherSiteCnt == 1){
|
||||||
menuManageService.deleteMenuManage(menuManageVO);
|
menuManageService.deleteMenuManage(menuManageVO);
|
||||||
}
|
// }
|
||||||
|
|
||||||
/*LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
|
/*LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
|
||||||
if(null == loginVO){
|
if(null == loginVO){
|
||||||
@ -514,9 +523,9 @@ public class EgovMenuCreateManageController {
|
|||||||
|
|
||||||
menuCreateManageDAO.deleteMenuCreatAuthNo(menuCreatVO);
|
menuCreateManageDAO.deleteMenuCreatAuthNo(menuCreatVO);
|
||||||
if(null != progrmManageVO.getProgrmFileNm() && !progrmManageVO.getProgrmFileNm().equals("dir")){ //프로그램만 지움
|
if(null != progrmManageVO.getProgrmFileNm() && !progrmManageVO.getProgrmFileNm().equals("dir")){ //프로그램만 지움
|
||||||
if(usingOtherSiteCnt == 1){ //다른 사이트 아이디가 매뉴를 사용할시 매뉴 삭제안한다.
|
// if(usingOtherSiteCnt == 1){ //다른 사이트 아이디가 매뉴를 사용할시 매뉴 삭제안한다.
|
||||||
progrmManageService.deleteProgrm(progrmManageVO);
|
progrmManageService.deleteProgrm(progrmManageVO);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
modelAndView.addObject("status", "success");
|
modelAndView.addObject("status", "success");
|
||||||
}catch (Exception e) {
|
}catch (Exception e) {
|
||||||
@ -546,10 +555,13 @@ public class EgovMenuCreateManageController {
|
|||||||
modelAndView.setViewName("jsonView");
|
modelAndView.setViewName("jsonView");
|
||||||
int cnt = 0;
|
int cnt = 0;
|
||||||
|
|
||||||
|
menuManageVO.setSearchKeyword(String.valueOf(menuManageVO.getMenuNo()));
|
||||||
|
MenuManageVO tmpMenuManageVO = menuManageService.selectMenuManage(menuManageVO);
|
||||||
//하위노드가 있는 메뉴의 경우 타입을 변경 하지 못하도록 수정
|
//하위노드가 있는 메뉴의 경우 타입을 변경 하지 못하도록 수정
|
||||||
if(
|
if(
|
||||||
menuCreatVO.getExistChildNode().equals("Y")
|
menuCreatVO.getExistChildNode().equals("Y")
|
||||||
&& "M".equals(menuManageVO.getMenuType())) {
|
&& !tmpMenuManageVO.getMenuType().equals(menuManageVO.getMenuType())
|
||||||
|
&& "M".equals(tmpMenuManageVO.getMenuType())) {
|
||||||
modelAndView.addObject("status", "menuInNode");
|
modelAndView.addObject("status", "menuInNode");
|
||||||
return modelAndView;
|
return modelAndView;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -118,6 +118,8 @@ public class MenuManageVO extends ComDefaultVO{
|
|||||||
|
|
||||||
private List<String> authorChkList;
|
private List<String> authorChkList;
|
||||||
|
|
||||||
|
private String rootMenuId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* menuNo attribute를 리턴한다.
|
* menuNo attribute를 리턴한다.
|
||||||
* @return int
|
* @return int
|
||||||
@ -538,6 +540,13 @@ public class MenuManageVO extends ComDefaultVO{
|
|||||||
public void setAuthorChkList(List<String> authorChkList) {
|
public void setAuthorChkList(List<String> authorChkList) {
|
||||||
this.authorChkList = authorChkList;
|
this.authorChkList = authorChkList;
|
||||||
}
|
}
|
||||||
|
public String getRootMenuId() {
|
||||||
|
return rootMenuId;
|
||||||
|
}
|
||||||
|
public void setRootMenuId(String rootMenuId) {
|
||||||
|
this.rootMenuId = rootMenuId;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -190,183 +190,9 @@ public class MainController {
|
|||||||
@Value("#{globalSettings['Globals.email.toEmail.BCC']}")
|
@Value("#{globalSettings['Globals.email.toEmail.BCC']}")
|
||||||
private String Globals_email_toEmail_BCC;
|
private String Globals_email_toEmail_BCC;
|
||||||
|
|
||||||
/** SSO return URL */
|
|
||||||
@Value("#{globalSettings['Globals.sso.returnSiteUrl']}")
|
|
||||||
private String returnSiteUrlGlobal;
|
|
||||||
@Value("#{globalSettings['Globals.sso.returnSiteCode']}")
|
|
||||||
private String returnSiteCodeGlobal;
|
|
||||||
|
|
||||||
/** SSO 회원관련 URL */
|
|
||||||
@Value("#{globalSettings['Globals.sso.joinUrl']}")
|
|
||||||
private String joinUrl_Global;
|
|
||||||
@Value("#{globalSettings['Globals.sso.modifyUrl']}")
|
|
||||||
private String modifyUrl_Global;
|
|
||||||
@Value("#{globalSettings['Globals.sso.idFindUrl']}")
|
|
||||||
private String idFindUrl_Global;
|
|
||||||
@Value("#{globalSettings['Globals.sso.pwFindUrl']}")
|
|
||||||
private String pwFindUrl_Global;
|
|
||||||
|
|
||||||
|
|
||||||
@Resource(name = "CmmnDetailCodeManageService")
|
@Resource(name = "CmmnDetailCodeManageService")
|
||||||
private EgovCcmCmmnDetailCodeManageService cmmnDetailCodeManageService;
|
private EgovCcmCmmnDetailCodeManageService cmmnDetailCodeManageService;
|
||||||
|
|
||||||
@RequestMapping(value = "/{siteId}/web/main/mainPage_keri.do")
|
|
||||||
public String siteMainPage_keri(@PathVariable("siteId") String siteId , HttpServletRequest request, ModelMap model) throws Exception{
|
|
||||||
//메인이미지
|
|
||||||
/** EgovPropertyService.sample */
|
|
||||||
MainzoneVO mainzoneVO = new MainzoneVO();
|
|
||||||
mainzoneVO.setPageUnit(propertiesService.getInt("pageUnit"));
|
|
||||||
mainzoneVO.setPageSize(propertiesService.getInt("pageSize"));
|
|
||||||
|
|
||||||
/** pageing */
|
|
||||||
PaginationInfo paginationInfo = new PaginationInfo();
|
|
||||||
paginationInfo.setCurrentPageNo(mainzoneVO.getPageIndex());
|
|
||||||
paginationInfo.setRecordCountPerPage(mainzoneVO.getPageUnit());
|
|
||||||
paginationInfo.setPageSize(mainzoneVO.getPageSize());
|
|
||||||
|
|
||||||
mainzoneVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
|
||||||
mainzoneVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
|
||||||
mainzoneVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
|
||||||
|
|
||||||
mainzoneVO.setSiteId(siteId);
|
|
||||||
|
|
||||||
List<?> mainzoneList = egovPopupManageService.selectMainzoneList(mainzoneVO); //상단메인 이미지
|
|
||||||
model.addAttribute("mainzoneList", mainzoneList);
|
|
||||||
BoardVO boardVO = new BoardVO();
|
|
||||||
boardVO.setPageUnit(7);
|
|
||||||
boardVO.setPageSize(10);
|
|
||||||
paginationInfo.setCurrentPageNo(boardVO.getPageIndex());
|
|
||||||
paginationInfo.setRecordCountPerPage(boardVO.getPageUnit());
|
|
||||||
paginationInfo.setPageSize(boardVO.getPageSize());
|
|
||||||
|
|
||||||
boardVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
|
||||||
boardVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
|
||||||
boardVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
|
||||||
boardVO.setBbsId("BBSMSTR_000000000153"); //라이브폴라스토리
|
|
||||||
boardVO.setSecretAt("N"); //비밀글제외
|
|
||||||
boardVO.setAtchFileCnt(1); //파일이 있는경우만(임의의 숫자 1)
|
|
||||||
|
|
||||||
//대표이미지 가져오기
|
|
||||||
ComDefaultCodeVO vo = new ComDefaultCodeVO();
|
|
||||||
vo.setCodeId("ITN005");
|
|
||||||
List<?> cmmCaLevel = cmmUseService.selectCmmCodeDetail(vo);
|
|
||||||
BoardVO mainPolaVo = new BoardVO();
|
|
||||||
if(cmmCaLevel != null){
|
|
||||||
String bbsId = ((CmmnDetailCode)cmmCaLevel.get(0)).getCodeNm() ;
|
|
||||||
boardVO.setNttId(Integer.parseInt(bbsId));
|
|
||||||
boardVO.setMainPolaNttId(bbsId);
|
|
||||||
mainPolaVo = bbsMngService.selectBoardArticle(boardVO);
|
|
||||||
if(mainPolaVo !=null){
|
|
||||||
boardVO.setRecordCountPerPage(5);
|
|
||||||
model.addAttribute("livePolaStoryListOne", mainPolaVo); //첫번째 사진
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Map<String, Object> livePolaStoryList = bbsMngService.selectBoardArticles(boardVO, "BBSA02");
|
|
||||||
List livePolaArrayList = (List) livePolaStoryList.get("resultList") ;
|
|
||||||
model.addAttribute("livePolaStoryListOther", livePolaArrayList); //나머지 사진
|
|
||||||
/*if(livePolaArrayList.size()!=0){
|
|
||||||
|
|
||||||
livePolaArrayList.remove(0) ;
|
|
||||||
|
|
||||||
model.addAttribute("livePolaStoryList", livePolaStoryList.get("resultList"));
|
|
||||||
}*/
|
|
||||||
|
|
||||||
boardVO.setBbsId("BBSMSTR_000000000018"); // 공지사항 메인 컨텐츠
|
|
||||||
Map<String, Object> map = bbsMngService.selectBoardArticles(boardVO, "BBSA02");
|
|
||||||
model.addAttribute("notiList", map.get("resultList"));
|
|
||||||
/*boardVO.setBbsId("BBSMSTR_000000000101"); //입찰공고
|
|
||||||
Map<String, Object> map1 = bbsMngService.selectBoardArticles(boardVO, "BBSA02");
|
|
||||||
model.addAttribute("biddingList", map1.get("resultList"));*/
|
|
||||||
// 공지사항 메인컨텐츠 조회 끝 -----------------------------------
|
|
||||||
|
|
||||||
// 자유게시판 메인 컨텐츠 조회 시작 ---------------------------------
|
|
||||||
boardVO.setPageUnit(9);
|
|
||||||
boardVO.setPageSize(10);
|
|
||||||
boardVO.setBbsId("BBSMSTR_BBBBBBBBBBBB");
|
|
||||||
|
|
||||||
paginationInfo.setCurrentPageNo(boardVO.getPageIndex());
|
|
||||||
paginationInfo.setRecordCountPerPage(boardVO.getPageUnit());
|
|
||||||
paginationInfo.setPageSize(boardVO.getPageSize());
|
|
||||||
|
|
||||||
boardVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
|
||||||
boardVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
|
||||||
boardVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
|
||||||
|
|
||||||
model.addAttribute("bbsList", bbsMngService.selectBoardArticles(boardVO, "BBSA02").get("resultList"));
|
|
||||||
|
|
||||||
// 설문참여 메인 컨텐츠 조회 시작 -----------------------------------
|
|
||||||
ComDefaultVO qVO = new ComDefaultVO();
|
|
||||||
qVO.setPageUnit(1);
|
|
||||||
qVO.setPageSize(10);
|
|
||||||
|
|
||||||
/** pageing */
|
|
||||||
paginationInfo.setCurrentPageNo(qVO.getPageIndex());
|
|
||||||
paginationInfo.setRecordCountPerPage(qVO.getPageUnit());
|
|
||||||
paginationInfo.setPageSize(qVO.getPageSize());
|
|
||||||
|
|
||||||
qVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
|
||||||
qVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
|
||||||
qVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
|
||||||
|
|
||||||
//배너 리스트 조회
|
|
||||||
BannerVO bannerVO = new BannerVO();
|
|
||||||
bannerVO.setRecordCountPerPage(50); //50개까지
|
|
||||||
bannerVO.setFirstIndex(0);
|
|
||||||
bannerVO.setReflctAt("Y"); //반영이 Y 만
|
|
||||||
|
|
||||||
ArrayList<BannerVO> bannerVOList= (ArrayList<BannerVO>) egovBannerService.selectBannerList(bannerVO) ;//배너6개 안되면 좌측 버튼이 안보임
|
|
||||||
if(null != bannerVOList){
|
|
||||||
for(int i=0; i<4; i++){
|
|
||||||
if(bannerVOList.size()<6){
|
|
||||||
bannerVOList.addAll(bannerVOList);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//bannerVO.setBannerList(egovBannerService.selectBannerList(bannerVO));
|
|
||||||
bannerVO.setBannerList(bannerVOList);
|
|
||||||
model.addAttribute("bannerList", bannerVO.getBannerList());
|
|
||||||
|
|
||||||
//팝업리스트 조회
|
|
||||||
/*if(!isMobile(request)){ //PC인경우만
|
|
||||||
PopupManageVO popupManageVO = new PopupManageVO();
|
|
||||||
popupManageVO.setRecordCountPerPage(10); //10개만
|
|
||||||
popupManageVO.setNtceAt("Y"); //사용만
|
|
||||||
popupManageVO.setMainPageFlag("Y") ; //메인화면의 용도(시작일 종료일 사이 조회)
|
|
||||||
List<?> popupList = egovPopupManageService.selectPopupMainList(popupManageVO);
|
|
||||||
model.addAttribute("popupList", popupList);
|
|
||||||
}*/
|
|
||||||
//알림판
|
|
||||||
/** 알림창괸리 */
|
|
||||||
PopupzoneVO popupzoneVo = new PopupzoneVO();
|
|
||||||
List<?> popupzoneList = egovPopupManageService.selectPopupzoneList(popupzoneVo);
|
|
||||||
model.addAttribute("popupzoneList", popupzoneList);
|
|
||||||
|
|
||||||
/** 팝업존관리 */
|
|
||||||
/* popupManageVO.setRecordCountPerPage(10); //10개만
|
|
||||||
popupManageVO.setNtceAt("Y"); //사용만
|
|
||||||
popupManageVO.setMainPageFlag("Y") ; //메인화면의 용도(시작일 종료일 사이 조회)
|
|
||||||
popupManageVO.setPopupType("Z"); //팝업존만 조회
|
|
||||||
List<?> popupzoneList = egovPopupManageService.selectPopupMainList(popupManageVO);
|
|
||||||
model.addAttribute("popupzoneList", popupzoneList);*/
|
|
||||||
|
|
||||||
|
|
||||||
/** 사이버경고관리 */
|
|
||||||
CyberAlertManageVO cyberManageVO = new CyberAlertManageVO();
|
|
||||||
cyberManageVO.setCaId("CYBER_0000000001");
|
|
||||||
List<?> cyberAlerMap = cyberAlertManageService.selectCyberAlert(cyberManageVO);
|
|
||||||
EgovMap emp = new EgovMap();
|
|
||||||
if( cyberAlerMap.size() != 0 ){
|
|
||||||
emp = (EgovMap)cyberAlerMap.get(0);
|
|
||||||
}
|
|
||||||
model.addAttribute("cyberAlerMap", emp);
|
|
||||||
|
|
||||||
|
|
||||||
model.addAttribute("siteId", siteId);
|
|
||||||
String siteFolder = "site/"+siteId ;
|
|
||||||
return "web/"+siteFolder+"/main/mainPage";
|
|
||||||
}
|
|
||||||
|
|
||||||
@RequestMapping(value = "/web/main/mainPage.do")
|
@RequestMapping(value = "/web/main/mainPage.do")
|
||||||
public String siteMainPage(HttpServletRequest request, ModelMap model, HttpSession session) throws Exception{
|
public String siteMainPage(HttpServletRequest request, ModelMap model, HttpSession session) throws Exception{
|
||||||
//메인이미지
|
//메인이미지
|
||||||
@ -429,13 +255,13 @@ public class MainController {
|
|||||||
//}
|
//}
|
||||||
|
|
||||||
/** 게시판 조회 - 조정사례 */
|
/** 게시판 조회 - 조정사례 */
|
||||||
BoardVO boardVO = new BoardVO();
|
// BoardVO boardVO = new BoardVO();
|
||||||
boardVO.setRecordCountPerPage(5); //게시글 수
|
// boardVO.setRecordCountPerPage(5); //게시글 수
|
||||||
boardVO.setFirstIndex(0); //
|
// boardVO.setFirstIndex(0); //
|
||||||
boardVO.setBbsId("BBSMSTR_000000000651");
|
// boardVO.setBbsId("BBSMSTR_000000000651");
|
||||||
List<BoardVO> vo = bbsMngService.selectMainBoardRecent(boardVO);
|
// List<BoardVO> vo = bbsMngService.selectMainBoardRecent(boardVO);
|
||||||
|
|
||||||
model.addAttribute("bbsList", vo);
|
// model.addAttribute("bbsList", vo);
|
||||||
|
|
||||||
return "web/main/mainPage";
|
return "web/main/mainPage";
|
||||||
}
|
}
|
||||||
@ -478,126 +304,20 @@ public class MainController {
|
|||||||
model.addAttribute("ssoLoginVO", ssoLoginVO);
|
model.addAttribute("ssoLoginVO", ssoLoginVO);
|
||||||
}
|
}
|
||||||
|
|
||||||
String returnSiteUrl = returnSiteUrlGlobal;
|
// String returnSiteUrl = returnSiteUrlGlobal;
|
||||||
String returnSiteCode = returnSiteCodeGlobal;
|
// String returnSiteCode = returnSiteCodeGlobal;
|
||||||
|
//
|
||||||
|
// String joinUrl = joinUrl_Global;
|
||||||
|
// String modifyUrl = modifyUrl_Global;
|
||||||
|
|
||||||
String joinUrl = joinUrl_Global;
|
// model.addAttribute("returnSiteUrl", (URLEncoder.encode(returnSiteUrl)));
|
||||||
String modifyUrl = modifyUrl_Global;
|
// model.addAttribute("returnSiteCode", returnSiteCode);
|
||||||
|
// model.addAttribute("joinUrl", joinUrl);
|
||||||
model.addAttribute("returnSiteUrl", (URLEncoder.encode(returnSiteUrl)));
|
// model.addAttribute("modifyUrl", modifyUrl);
|
||||||
model.addAttribute("returnSiteCode", returnSiteCode);
|
|
||||||
model.addAttribute("joinUrl", joinUrl);
|
|
||||||
model.addAttribute("modifyUrl", modifyUrl);
|
|
||||||
|
|
||||||
return "web/com/webCommonHeader";
|
return "web/com/webCommonHeader";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 사용자 상단 매뉴
|
|
||||||
*/
|
|
||||||
@RequestMapping(value="/{siteId}/web/com/webThemeCommonHeader.do")
|
|
||||||
public String webThemeCommonHeader(@PathVariable("siteId") String siteId ,
|
|
||||||
@RequestParam Map<String, Object> commandMap, @ModelAttribute("menuManageVO") MenuManageJTreeVO menuManageVO,
|
|
||||||
ModelMap model, HttpServletRequest request)
|
|
||||||
throws Exception {
|
|
||||||
|
|
||||||
menuManageVO.setAuthorCode("ROLE_ANONYMOUS");
|
|
||||||
menuManageVO.setMenuUserType(menuManageVO.getMenuUserType());
|
|
||||||
//List<MenuManageJTreeVO> menuResultList = menuCreateManageService.selectMenuListJtree(menuManageVO) ;
|
|
||||||
menuManageVO.setSiteId(siteId);
|
|
||||||
List<MenuManageJTreeVO> menuResultList = menuCreateManageService.selectMenuListJtreeWeb(menuManageVO) ;
|
|
||||||
|
|
||||||
List<String> menuTwoExist = new ArrayList<>(); //2뎁스의 하위 매뉴가 있는것 조회
|
|
||||||
HashSet<String> underMenuEmpty = new HashSet<String>(); //2뎁스의 하위매뉴 없는것 조회
|
|
||||||
for(MenuManageJTreeVO menuManage : menuResultList){
|
|
||||||
if(menuManage.getDepths().equals("3")){
|
|
||||||
menuTwoExist.add(menuManage.getUpperMenuId()) ;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(menuManage.getDepths().equals("2")){
|
|
||||||
underMenuEmpty.add(menuManage.getMenuNo());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
HashSet<String> underMenuExist = new HashSet<String>(menuTwoExist); //하위매뉴가 있는것
|
|
||||||
underMenuEmpty.removeAll(underMenuExist); //하위매뉴가 없는것
|
|
||||||
|
|
||||||
MenuManageJTreeVO menuManageTopVO = new MenuManageJTreeVO();
|
|
||||||
menuManageTopVO.setUpperMenuId("#");
|
|
||||||
menuManageTopVO.setMenuNo("0");
|
|
||||||
|
|
||||||
model.addAttribute("menuResultList", menuResultList);
|
|
||||||
model.addAttribute("underMenuExist", underMenuExist);
|
|
||||||
model.addAttribute("underMenuEmpty", underMenuEmpty);
|
|
||||||
model.addAttribute("siteId", siteId);
|
|
||||||
String siteFolder = "site/"+siteId ;
|
|
||||||
|
|
||||||
|
|
||||||
if("linc".equals(siteId)){ //linc 사업단
|
|
||||||
//json 형태 만들기
|
|
||||||
JSONObject jsonObject = new JSONObject();
|
|
||||||
|
|
||||||
JSONObject oneDepth = null;
|
|
||||||
JSONArray oneArray = new JSONArray();
|
|
||||||
JSONObject twoDepth = null;
|
|
||||||
JSONArray twoArray = null;
|
|
||||||
JSONObject threeDepth = new JSONObject();
|
|
||||||
JSONArray threeArray = new JSONArray();
|
|
||||||
int onePoint = 1;
|
|
||||||
int twoPoint = 1;
|
|
||||||
for(MenuManageJTreeVO menuManageOne : menuResultList){
|
|
||||||
if(menuManageOne.getDepths().equals("1")){
|
|
||||||
oneDepth = new JSONObject();
|
|
||||||
twoArray = new JSONArray();
|
|
||||||
oneDepth.put("children", "1-1");
|
|
||||||
oneDepth.put("name", menuManageOne.getMenuNm());
|
|
||||||
for(MenuManageJTreeVO menuManageTwo : menuResultList){
|
|
||||||
if(menuManageTwo.getDepths().equals("2")){
|
|
||||||
if(menuManageOne.getMenuNo().equals(menuManageTwo.getUpperMenuId())){
|
|
||||||
twoDepth = new JSONObject();
|
|
||||||
twoDepth.put("children", ""+onePoint+"-"+twoPoint);
|
|
||||||
twoPoint = twoPoint+1;
|
|
||||||
twoDepth.put("name", menuManageTwo.getMenuNm());
|
|
||||||
twoDepth.put("link", menuManageTwo.getUrl());
|
|
||||||
twoArray.add(twoDepth) ;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
oneArray.add(oneDepth) ;
|
|
||||||
oneDepth.put("children", twoArray);
|
|
||||||
onePoint = onePoint+1;
|
|
||||||
twoPoint =1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
jsonObject.put("children", oneArray);
|
|
||||||
model.addAttribute("menuJson", jsonObject);
|
|
||||||
}
|
|
||||||
|
|
||||||
if(siteId.equals("linc") || siteId.equals("klc")){
|
|
||||||
return "web/"+siteFolder+"/com/webCommonHeader";
|
|
||||||
}else{
|
|
||||||
SiteManagerVO siteManagerVO = new SiteManagerVO();
|
|
||||||
siteManagerVO.setSiteId(siteId);
|
|
||||||
|
|
||||||
setSiteinfo(siteManagerVO, model , request );
|
|
||||||
//return "web/site/theme_"+siteManagerVO.getTheme()+"/"+siteManagerVO.getIsMobile()+"/com/webCommonHeader";
|
|
||||||
return "web/site/"+siteId+"/"+siteManagerVO.getIsMobile()+"/com/webCommonHeader";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@RequestMapping(value="/web/com/webCommonHeader_back.do")
|
|
||||||
public String webCommonHeader_back(
|
|
||||||
@RequestParam Map<String, Object> commandMap,
|
|
||||||
ModelMap model)
|
|
||||||
throws Exception {
|
|
||||||
|
|
||||||
return "web/com/webCommonHeader";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 사용자 footer
|
* 사용자 footer
|
||||||
*/
|
*/
|
||||||
@ -654,7 +374,12 @@ public class MainController {
|
|||||||
loginLog.setErrorCode("");
|
loginLog.setErrorCode("");
|
||||||
loginLog.setUserAt("U");
|
loginLog.setUserAt("U");
|
||||||
|
|
||||||
if(!"anonymousUser".equals(EgovUserDetailsHelper.getAuthenticatedUser() )) {
|
Object obj = EgovUserDetailsHelper.getAuthenticatedUser();
|
||||||
|
|
||||||
|
if(
|
||||||
|
obj != null &&
|
||||||
|
!"anonymousUser".equals(obj)
|
||||||
|
) {
|
||||||
LoginVO loginVO = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
LoginVO loginVO = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
||||||
loginLog.setLoginId(loginVO.getId());
|
loginLog.setLoginId(loginVO.getId());
|
||||||
}else {
|
}else {
|
||||||
@ -674,7 +399,7 @@ public class MainController {
|
|||||||
}
|
}
|
||||||
//loginLogService.logInsertLoginLog(loginLog);
|
//loginLogService.logInsertLoginLog(loginLog);
|
||||||
|
|
||||||
loginLogService.logInsertLoginLogNewStep1(loginLog);
|
// loginLogService.logInsertLoginLogNewStep1(loginLog);
|
||||||
// }
|
// }
|
||||||
|
|
||||||
//오늘 접속 / 최종접속
|
//오늘 접속 / 최종접속
|
||||||
@ -834,7 +559,7 @@ public class MainController {
|
|||||||
|
|
||||||
//권한별 메뉴표시
|
//권한별 메뉴표시
|
||||||
if(!userAuthority.equals("ROLE_ADMIN")
|
if(!userAuthority.equals("ROLE_ADMIN")
|
||||||
&& !userAuthority.equals("ROLE_ADR_ADMIN")
|
/* && !userAuthority.equals("ROLE_ADR_ADMIN") */
|
||||||
&& userAuthority != "") {
|
&& userAuthority != "") {
|
||||||
menuManageVO.setAuthorCode(userAuthority);
|
menuManageVO.setAuthorCode(userAuthority);
|
||||||
}else if(userAuthority.equals("ROLE_ADMIN") || userAuthority.equals("ROLE_ADR_ADMIN")) {
|
}else if(userAuthority.equals("ROLE_ADMIN") || userAuthority.equals("ROLE_ADR_ADMIN")) {
|
||||||
@ -882,20 +607,20 @@ public class MainController {
|
|||||||
Collections.reverse(menuCurrentResultList); //타이틀 역순을 위해
|
Collections.reverse(menuCurrentResultList); //타이틀 역순을 위해
|
||||||
model.addAttribute("menuCurrentResultList", menuCurrentResultList);
|
model.addAttribute("menuCurrentResultList", menuCurrentResultList);
|
||||||
|
|
||||||
SiteManagerVO siteManagerVO = new SiteManagerVO();
|
// SiteManagerVO siteManagerVO = new SiteManagerVO();
|
||||||
//점검중 페이지 체크
|
//점검중 페이지 체크
|
||||||
siteManagerVO = egovSiteManagerService.selectSiteManagerVO(siteManagerVO);
|
// siteManagerVO = egovSiteManagerService.selectSiteManagerVO(siteManagerVO);
|
||||||
if("Y".equals(siteManagerVO.getInspFlag() )){ //점검중
|
// if("Y".equals(siteManagerVO.getInspFlag() )){ //점검중
|
||||||
return "web/com/insp";
|
// return "web/com/insp";
|
||||||
}
|
// }
|
||||||
//SSO 토큰 유효시간 timeout 시 메인페이지로 이동
|
//SSO 토큰 유효시간 timeout 시 메인페이지로 이동
|
||||||
if(!"".equals(request.getSession().getAttribute("SsoLogout"))) {
|
// if(!"".equals(request.getSession().getAttribute("SsoLogout"))) {
|
||||||
if(request.getSession().getAttribute("SsoLogout") != null) {
|
// if(request.getSession().getAttribute("SsoLogout") != null) {
|
||||||
request.removeAttribute("SsoLogout");
|
// request.removeAttribute("SsoLogout");
|
||||||
return "redirect:/";
|
// return "redirect:/";
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
model.addAttribute("siteManagerVO", siteManagerVO);
|
// model.addAttribute("siteManagerVO", siteManagerVO);
|
||||||
return "web/com/webLayout";
|
return "web/com/webLayout";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
89
src/main/java/seed/com/gtm/cases/CaseController.java
Normal file
89
src/main/java/seed/com/gtm/cases/CaseController.java
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
package seed.com.gtm.cases;
|
||||||
|
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
import javax.servlet.http.HttpSession;
|
||||||
|
|
||||||
|
import org.apache.ibatis.logging.Log;
|
||||||
|
import org.apache.ibatis.logging.LogFactory;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
|
|
||||||
|
import seed.com.gtm.code.CodeService;
|
||||||
|
import seed.com.gtm.seedfile.SeedFileService;
|
||||||
|
import seed.com.gtm.service.BaseService;
|
||||||
|
import seed.com.gtm.util.JSONView;
|
||||||
|
import seed.com.gtm.util.JSPUtil;
|
||||||
|
|
||||||
|
import egovframework.rte.psl.dataaccess.util.EgovMap;
|
||||||
|
|
||||||
|
|
||||||
|
@Controller
|
||||||
|
public class CaseController {
|
||||||
|
protected Log log = LogFactory.getLog(this.getClass());
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private CodeService service;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private BaseService bservice;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private SeedFileService fileService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 접수 -> 사건 이관
|
||||||
|
* @param request
|
||||||
|
* @param session
|
||||||
|
* @param map
|
||||||
|
* @return
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
@RequestMapping(value="/gtm/case/CaseMoveTotalAjax.do")
|
||||||
|
public ModelAndView searchMove(HttpServletRequest request, HttpSession session, Map<String, Object> map) throws Exception{
|
||||||
|
ModelAndView mavjson = new ModelAndView(new JSONView());
|
||||||
|
String message = "success";
|
||||||
|
EgovMap params;
|
||||||
|
params = JSPUtil.makeRequestParams(request, session, true);
|
||||||
|
session.setAttribute("siteIdx", "case");
|
||||||
|
|
||||||
|
//시큐어코딩 관련 파라미터는 삭제
|
||||||
|
params.remove("SpringSecurityFiltersecurityinterceptorFilterapplied");
|
||||||
|
params.remove("SpringSecuritySessionMgmtFilterApplied");
|
||||||
|
params.remove("springSecurityContext");
|
||||||
|
params.remove("SpringSecurityScpfApplied");
|
||||||
|
params.remove("springSecuritySavedRequest");
|
||||||
|
|
||||||
|
|
||||||
|
params.put("sql", "trublreqstmng.trublreqstmngCaseAppLcntMoveInsert");
|
||||||
|
params.put("data", JSPUtil.fixNull(bservice.insert(params)));
|
||||||
|
|
||||||
|
params.put("sql", "trublreqstmng.trublreqstmngCaseRespondentMoveInsert");
|
||||||
|
params.put("data", JSPUtil.fixNull(bservice.insert(params)));
|
||||||
|
|
||||||
|
params.put("sql", "trublreqstmng.trublreqstmngCaseAppAgentMoveInsert");
|
||||||
|
params.put("data", JSPUtil.fixNull(bservice.insert(params)));
|
||||||
|
|
||||||
|
params.put("sql", "trublreqstmng.trublreqstmngCaseResAgentMoveInsert");
|
||||||
|
params.put("data", JSPUtil.fixNull(bservice.insert(params)));
|
||||||
|
|
||||||
|
params.put("sql", "trublreqstmng.trublreqstmngCaseSttusMoveInsert");
|
||||||
|
params.put("data", JSPUtil.fixNull(bservice.insert(params)));
|
||||||
|
|
||||||
|
params.put("sql", "trublreqstmng.trublreqstmngCaseSubCntrSttusMoveInsert");
|
||||||
|
params.put("data", JSPUtil.fixNull(bservice.insert(params)));
|
||||||
|
|
||||||
|
params.put("sql", "trublreqstmng.trublreqstmngCaseRceptMoveInsert");
|
||||||
|
params.put("data", JSPUtil.fixNull(bservice.insert(params)));
|
||||||
|
|
||||||
|
params.put("sql", "trublreqstmng.trublreqstmngCfrnctrnsfer");
|
||||||
|
params.put("data", JSPUtil.fixNull(bservice.update(params)));
|
||||||
|
|
||||||
|
mavjson.addObject("message", message);
|
||||||
|
|
||||||
|
return mavjson;
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,9 @@
|
|||||||
|
<?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/uss/pwm/PopupManage_SQL_Oracle.xml"/><!-- 팝업관리 -->
|
||||||
|
</sqlMapConfig>
|
||||||
|
|
||||||
|
|
||||||
@ -250,197 +250,192 @@
|
|||||||
<select id="menuManageDAO.selectMenuListJtreeWeb" parameterClass="menuManageJTreeVO" resultClass="menuManageJTreeVO" cacheModel="cache-webMainMenu">
|
<select id="menuManageDAO.selectMenuListJtreeWeb" parameterClass="menuManageJTreeVO" resultClass="menuManageJTreeVO" cacheModel="cache-webMainMenu">
|
||||||
/* 임시.*NOT_SQL_LOG.* menuManageDAO.selectMenuListJtreeWeb */
|
/* 임시.*NOT_SQL_LOG.* menuManageDAO.selectMenuListJtreeWeb */
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
SELECT *
|
SELECT
|
||||||
FROM (
|
*
|
||||||
SELECT A.MENU_NM AS menuNm ,
|
FROM
|
||||||
A.PROGRM_FILE_NM AS progrmFileNm ,
|
(
|
||||||
A.MENU_NO AS menuNo ,
|
SELECT
|
||||||
A.UPPER_MENU_NO AS upperMenuId ,
|
A .MENU_NM AS MENUNM,
|
||||||
A.MENU_ORDR AS menuOrdr ,
|
A .PROGRM_FILE_NM AS PROGRMFILENM,
|
||||||
A.MENU_DC AS menuDc ,
|
A .MENU_NO AS MENUNO,
|
||||||
A.RELATE_IMAGE_PATH AS relateImagePath ,
|
A .UPPER_MENU_NO AS UPPERMENUID,
|
||||||
A.RELATE_IMAGE_NM AS relateImageNm ,
|
A .MENU_ORDR AS MENUORDR,
|
||||||
A.MENU_USER_TYPE AS menuUserType ,
|
A .MENU_DC AS MENUDC,
|
||||||
A.USE_YN AS useYn ,
|
A .RELATE_IMAGE_PATH AS RELATEIMAGEPATH,
|
||||||
C.url ,
|
A .RELATE_IMAGE_NM AS RELATEIMAGENM,
|
||||||
A.MENU_TYPE AS menuType ,
|
A .MENU_USER_TYPE AS MENUUSERTYPE,
|
||||||
1 AS depths
|
A .USE_YN AS USEYN,
|
||||||
|
C .URL,
|
||||||
FROM LETTNMENUINFO A
|
A .MENU_TYPE AS MENUTYPE,
|
||||||
INNER JOIN LETTNMENUCREATDTLS B
|
1 AS DEPTHS
|
||||||
ON A.MENU_NO = B.MENU_NO
|
FROM
|
||||||
INNER JOIN LETTNPROGRMLIST C
|
LETTNMENUINFO A
|
||||||
ON A.PROGRM_FILE_NM = C.PROGRM_FILE_NM
|
INNER JOIN (
|
||||||
WHERE A.UPPER_MENU_NO = 0
|
SELECT
|
||||||
AND A.MENU_NO !=0
|
BBBBB.MENU_NO,
|
||||||
]]>
|
BBBBB.USE_YN
|
||||||
<isEmpty property="addMenu">
|
FROM
|
||||||
AND B.AUTHOR_CODE = #authorCode#
|
LETTNMENUCREATDTLS BBBBB
|
||||||
</isEmpty>
|
WHERE
|
||||||
<isNotEmpty property="addMenu">
|
BBBBB.AUTHOR_CODE = #authorCode#
|
||||||
AND (B.AUTHOR_CODE = #authorCode# OR A.MENU_NO = #addMenu#)
|
) B
|
||||||
</isNotEmpty>
|
ON A .MENU_NO = B.MENU_NO
|
||||||
<![CDATA[
|
INNER JOIN LETTNPROGRMLIST C
|
||||||
/*
|
ON A .PROGRM_FILE_NM = C .PROGRM_FILE_NM
|
||||||
AND A.MENU_NO != '9050001' 사용자 메인페이지 */
|
WHERE
|
||||||
/*
|
A .UPPER_MENU_NO = 1
|
||||||
AND A.MENU_NO != '9600000' 홈페이지 소개 */
|
AND A .MENU_NO != 1
|
||||||
AND B.USE_YN = 'Y'
|
AND B.USE_YN = 'Y'
|
||||||
|
UNION
|
||||||
|
ALL
|
||||||
|
SELECT
|
||||||
|
BB.MENU_NM AS MENUNM,
|
||||||
UNION ALL
|
BB.PROGRM_FILE_NM AS PROGRMFILENM,
|
||||||
|
BB.MENU_NO AS MENUNO,
|
||||||
|
BB.UPPER_MENU_NO AS UPPERMENUID,
|
||||||
SELECT bb.MENU_NM AS menuNm ,
|
BB.MENU_ORDR AS MENUORDR,
|
||||||
bb.PROGRM_FILE_NM AS progrmFileNm ,
|
BB.MENU_DC AS MENUDC,
|
||||||
bb.MENU_NO AS menuNo ,
|
BB.RELATE_IMAGE_PATH AS RELATEIMAGEPATH,
|
||||||
bb.UPPER_MENU_NO AS upperMenuId ,
|
BB.RELATE_IMAGE_NM AS RELATEIMAGENM,
|
||||||
bb.MENU_ORDR AS menuOrdr ,
|
BB.MENU_USER_TYPE AS MENUUSERTYPE,
|
||||||
bb.MENU_DC AS menuDc ,
|
BB.USE_YN AS USEYN,
|
||||||
bb.RELATE_IMAGE_PATH AS relateImagePath ,
|
DD.URL,
|
||||||
bb.RELATE_IMAGE_NM AS relateImageNm ,
|
BB.MENU_TYPE AS MENUTYPE,
|
||||||
bb.MENU_USER_TYPE AS menuUserType ,
|
2 AS DEPTHS
|
||||||
bb.USE_YN AS useYn ,
|
FROM
|
||||||
dd.url ,
|
(
|
||||||
bb.MENU_TYPE AS menuType ,
|
SELECT
|
||||||
2 AS depths
|
A .MENU_NM,
|
||||||
|
A .PROGRM_FILE_NM,
|
||||||
|
A .MENU_NO,
|
||||||
|
A .UPPER_MENU_NO,
|
||||||
|
A .MENU_ORDR,
|
||||||
FROM (
|
A .MENU_DC,
|
||||||
SELECT A.MENU_NM ,
|
A .RELATE_IMAGE_PATH,
|
||||||
A.PROGRM_FILE_NM ,
|
A .RELATE_IMAGE_NM,
|
||||||
A.MENU_NO ,
|
A .MENU_USER_TYPE,
|
||||||
A.UPPER_MENU_NO ,
|
A .USE_YN,
|
||||||
A.MENU_ORDR ,
|
C .URL,
|
||||||
A.MENU_DC ,
|
A .MENU_TYPE,
|
||||||
A.RELATE_IMAGE_PATH ,
|
1 AS DEPTHS
|
||||||
A.RELATE_IMAGE_NM ,
|
FROM
|
||||||
A.MENU_USER_TYPE ,
|
LETTNMENUINFO A
|
||||||
A.USE_YN ,
|
INNER JOIN (
|
||||||
C.URL ,
|
SELECT
|
||||||
A.MENU_TYPE,
|
BBBBB.MENU_NO,
|
||||||
1 AS DEPTHS
|
BBBBB.USE_YN
|
||||||
FROM LETTNMENUINFO A
|
FROM
|
||||||
INNER JOIN LETTNMENUCREATDTLS B
|
LETTNMENUCREATDTLS BBBBB
|
||||||
ON A.MENU_NO = B.MENU_NO
|
WHERE
|
||||||
INNER JOIN LETTNPROGRMLIST C
|
BBBBB.AUTHOR_CODE = #authorCode#
|
||||||
ON A.PROGRM_FILE_NM = C.PROGRM_FILE_NM
|
) B
|
||||||
WHERE A.UPPER_MENU_NO = 0
|
ON A .MENU_NO = B.MENU_NO
|
||||||
AND A.MENU_NO !=0
|
INNER JOIN LETTNPROGRMLIST C
|
||||||
]]>
|
ON A .PROGRM_FILE_NM = C .PROGRM_FILE_NM
|
||||||
<isEmpty property="addMenu">
|
WHERE
|
||||||
AND B.AUTHOR_CODE = #authorCode#
|
A .UPPER_MENU_NO = 1
|
||||||
</isEmpty>
|
AND A .MENU_NO != 1
|
||||||
<isNotEmpty property="addMenu">
|
AND B.USE_YN = 'Y'
|
||||||
AND (B.AUTHOR_CODE = #authorCode# OR A.MENU_NO = #addMenu#)
|
) AA,
|
||||||
</isNotEmpty>
|
LETTNMENUINFO BB,
|
||||||
<![CDATA[
|
LETTNMENUCREATDTLS CC,
|
||||||
/*
|
LETTNPROGRMLIST DD
|
||||||
AND A.MENU_NO != '9050001' 사용자 메인페이지 */
|
WHERE
|
||||||
/*
|
AA.MENU_NO = BB.UPPER_MENU_NO
|
||||||
AND A.MENU_NO != '9600000' 홈페이지 소개 */
|
AND BB.MENU_NO = CC.MENU_NO
|
||||||
AND B.USE_YN = 'Y'
|
AND CC.AUTHOR_CODE = #authorCode#
|
||||||
)aa
|
AND CC.USE_YN = 'Y'
|
||||||
, LETTNMENUINFO bb
|
AND BB.PROGRM_FILE_NM = DD.PROGRM_FILE_NM
|
||||||
, LETTNMENUCREATDTLS cc
|
UNION
|
||||||
, LETTNPROGRMLIST dd
|
ALL
|
||||||
|
SELECT
|
||||||
WHERE aa.MENU_NO=bb.upper_menu_no
|
BBB.MENU_NM AS MENUNM,
|
||||||
AND bb.menu_no=cc.menu_no
|
BBB.PROGRM_FILE_NM AS PROGRMFILENM,
|
||||||
]]>
|
BBB.MENU_NO AS MENUNO,
|
||||||
<isEmpty property="addMenu">
|
BBB.UPPER_MENU_NO AS UPPERMENUID,
|
||||||
AND cc.AUTHOR_CODE = #authorCode#
|
BBB.MENU_ORDR AS MENUORDR,
|
||||||
</isEmpty>
|
BBB.MENU_DC AS MENUDC,
|
||||||
<isNotEmpty property="addMenu">
|
BBB.RELATE_IMAGE_PATH AS RELATEIMAGEPATH,
|
||||||
AND (cc.AUTHOR_CODE = #authorCode# OR aa.MENU_NO = #addMenu#)
|
BBB.RELATE_IMAGE_NM AS RELATEIMAGENM,
|
||||||
</isNotEmpty>
|
BBB.MENU_USER_TYPE AS MENUUSERTYPE,
|
||||||
AND (cc.AUTHOR_CODE = #authorCode# OR aa.MENU_NO = '9600000')
|
BBB.USE_YN AS USEYN,
|
||||||
<![CDATA[
|
DDD.URL,
|
||||||
AND cc.use_yn='Y'
|
BBB.MENU_TYPE AS MENUTYPE,
|
||||||
AND bb.PROGRM_FILE_NM = dd.PROGRM_FILE_NM
|
3 AS DEPTHS
|
||||||
|
FROM
|
||||||
UNION ALL
|
(
|
||||||
|
SELECT
|
||||||
|
BB.MENU_NM,
|
||||||
SELECT bbb.MENU_NM AS menuNm ,
|
BB.PROGRM_FILE_NM,
|
||||||
bbb.PROGRM_FILE_NM AS progrmFileNm ,
|
BB.MENU_NO,
|
||||||
bbb.MENU_NO AS menuNo ,
|
BB.UPPER_MENU_NO,
|
||||||
bbb.UPPER_MENU_NO AS upperMenuId ,
|
BB.MENU_ORDR,
|
||||||
bbb.MENU_ORDR AS menuOrdr ,
|
BB.MENU_DC,
|
||||||
bbb.MENU_DC AS menuDc ,
|
BB.RELATE_IMAGE_PATH,
|
||||||
bbb.RELATE_IMAGE_PATH AS relateImagePath ,
|
BB.RELATE_IMAGE_NM,
|
||||||
bbb.RELATE_IMAGE_NM AS relateImageNm ,
|
BB.MENU_USER_TYPE,
|
||||||
bbb.MENU_USER_TYPE AS menuUserType ,
|
BB.USE_YN,
|
||||||
bbb.USE_YN AS useYn ,
|
BB.MENU_TYPE,
|
||||||
ddd.url ,
|
2 AS DEPTHS
|
||||||
bbb.MENU_TYPE AS menuType ,
|
FROM
|
||||||
3 AS depths
|
(
|
||||||
|
SELECT
|
||||||
FROM (
|
A .MENU_NM,
|
||||||
SELECT bb.MENU_NM ,
|
A .PROGRM_FILE_NM,
|
||||||
bb.PROGRM_FILE_NM ,
|
A .MENU_NO,
|
||||||
bb.MENU_NO ,
|
A .UPPER_MENU_NO,
|
||||||
bb.UPPER_MENU_NO ,
|
A .MENU_ORDR,
|
||||||
bb.MENU_ORDR ,
|
A .MENU_DC,
|
||||||
bb.MENU_DC ,
|
A .RELATE_IMAGE_PATH,
|
||||||
bb.RELATE_IMAGE_PATH ,
|
A .RELATE_IMAGE_NM,
|
||||||
bb.RELATE_IMAGE_NM ,
|
A .MENU_USER_TYPE,
|
||||||
bb.MENU_USER_TYPE ,
|
A .USE_YN,
|
||||||
bb.USE_YN ,
|
C .URL,
|
||||||
|
A .MENU_TYPE,
|
||||||
bb.MENU_TYPE ,
|
1 AS DEPTHS
|
||||||
2 AS depths
|
FROM
|
||||||
|
LETTNMENUINFO A
|
||||||
FROM (
|
INNER JOIN (
|
||||||
SELECT A.MENU_NM ,
|
SELECT
|
||||||
A.PROGRM_FILE_NM ,
|
BBBBB.MENU_NO,
|
||||||
A.MENU_NO ,
|
BBBBB.USE_YN,
|
||||||
A.UPPER_MENU_NO ,
|
BBBBB.AUTHOR_CODE
|
||||||
A.MENU_ORDR ,
|
FROM
|
||||||
A.MENU_DC ,
|
LETTNMENUCREATDTLS BBBBB
|
||||||
A.RELATE_IMAGE_PATH ,
|
WHERE
|
||||||
A.RELATE_IMAGE_NM ,
|
BBBBB.AUTHOR_CODE = #authorCode#
|
||||||
A.MENU_USER_TYPE ,
|
) B
|
||||||
A.USE_YN ,
|
ON A .MENU_NO = B.MENU_NO
|
||||||
C.URL ,
|
INNER JOIN LETTNPROGRMLIST C
|
||||||
A.MENU_TYPE,
|
ON A .PROGRM_FILE_NM = C .PROGRM_FILE_NM
|
||||||
1 AS DEPTHS
|
WHERE
|
||||||
FROM LETTNMENUINFO A
|
A .UPPER_MENU_NO = 1
|
||||||
INNER JOIN LETTNMENUCREATDTLS B
|
AND A .MENU_NO != 1
|
||||||
ON A.MENU_NO = B.MENU_NO
|
AND B.AUTHOR_CODE = #authorCode#
|
||||||
INNER JOIN LETTNPROGRMLIST C
|
AND B.USE_YN = 'Y'
|
||||||
ON A.PROGRM_FILE_NM = C.PROGRM_FILE_NM
|
) AA,
|
||||||
WHERE A.UPPER_MENU_NO = 0
|
LETTNMENUINFO BB,
|
||||||
AND A.MENU_NO !=0
|
LETTNMENUCREATDTLS CC
|
||||||
AND B.AUTHOR_CODE = #authorCode#
|
WHERE
|
||||||
/*
|
AA.MENU_NO = BB.UPPER_MENU_NO
|
||||||
AND A.MENU_NO != '9050001' 사용자 메인페이지 */
|
AND BB.MENU_NO = CC.MENU_NO
|
||||||
/*
|
AND CC.AUTHOR_CODE = #authorCode#
|
||||||
AND A.MENU_NO != '9600000' 홈페이지 소개 */
|
AND CC.USE_YN = 'Y'
|
||||||
AND B.USE_YN = 'Y'
|
) AAA,
|
||||||
)aa
|
LETTNMENUINFO BBB,
|
||||||
, LETTNMENUINFO bb
|
LETTNMENUCREATDTLS CCC,
|
||||||
, LETTNMENUCREATDTLS cc
|
LETTNPROGRMLIST DDD
|
||||||
WHERE aa.MENU_NO=bb.upper_menu_no
|
WHERE
|
||||||
AND bb.menu_no=cc.menu_no
|
AAA.MENU_NO = BBB.UPPER_MENU_NO
|
||||||
AND cc.AUTHOR_CODE = #authorCode#
|
AND BBB.MENU_NO = CCC.MENU_NO
|
||||||
AND cc.use_yn='Y'
|
AND CCC.AUTHOR_CODE = #authorCode#
|
||||||
)aaa
|
AND CCC.USE_YN = 'Y'
|
||||||
, LETTNMENUINFO bbb
|
AND BBB.PROGRM_FILE_NM = DDD.PROGRM_FILE_NM
|
||||||
, LETTNMENUCREATDTLS ccc
|
) AAAA
|
||||||
, LETTNPROGRMLIST ddd
|
ORDER BY
|
||||||
WHERE aaa.MENU_NO=bbb.upper_menu_no
|
AAAA.DEPTHS,
|
||||||
AND bbb.menu_no=ccc.menu_no
|
AAAA.MENUORDR,
|
||||||
AND ccc.AUTHOR_CODE = #authorCode#
|
AAAA.MENUNO * 1
|
||||||
AND ccc.use_yn='Y'
|
|
||||||
AND bbb.PROGRM_FILE_NM = ddd.PROGRM_FILE_NM
|
|
||||||
|
|
||||||
)aaaa
|
|
||||||
ORDER BY aaaa.depths, aaaa.menuOrdr, aaaa.menuNo*1
|
|
||||||
]]>
|
]]>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|||||||
@ -127,8 +127,8 @@
|
|||||||
<select id="menuManageDAO.selectUpperMenuNoByPkList" parameterClass="menuManageVO" resultClass="menuManageVO">
|
<select id="menuManageDAO.selectUpperMenuNoByPkList" parameterClass="menuManageVO" resultClass="menuManageVO">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
SELECT
|
SELECT
|
||||||
'' AS menuCours
|
/*'' AS menuCours*/
|
||||||
/*getMenuCours(MENU_NO) AS menuCours*/
|
getMenuCours(MENU_NO) AS menuCours
|
||||||
FROM LETTNMENUINFO
|
FROM LETTNMENUINFO
|
||||||
WHERE UPPER_MENU_NO = #menuNo#
|
WHERE UPPER_MENU_NO = #menuNo#
|
||||||
]]>
|
]]>
|
||||||
|
|||||||
@ -280,30 +280,32 @@
|
|||||||
<!-- 알림창 관리자 리스트 -->
|
<!-- 알림창 관리자 리스트 -->
|
||||||
<select id="PopupzoneManage.selectPopupzoneList" parameterClass="popupzoneVO" resultClass="egovMap">
|
<select id="PopupzoneManage.selectPopupzoneList" parameterClass="popupzoneVO" resultClass="egovMap">
|
||||||
/* PopupzoneManage.selectPopupzoneList */
|
/* PopupzoneManage.selectPopupzoneList */
|
||||||
<![CDATA[
|
SELECT * FROM (
|
||||||
|
SELECT ROWNUM AS RN, PG.* FROM (
|
||||||
SELECT
|
SELECT
|
||||||
POZ_ID,
|
POZ_ID,
|
||||||
CONCAT('/UPLOADROOT/POPUPZONE/',UPFILE ) AS IMG,
|
CONCAT('/UPLOADROOT/POPUPZONE/',UPFILE ) AS IMG,
|
||||||
CONTENT AS IMG_ALT,
|
CONTENT AS IMG_ALT,
|
||||||
MLINK,
|
MLINK,
|
||||||
ISTARGET,
|
ISTARGET,
|
||||||
|
<![CDATA[
|
||||||
CASE WHEN
|
CASE WHEN
|
||||||
TRUNC(SYSDATE -7) < TRUNC(REGDT)
|
TRUNC(SYSDATE -7) < TRUNC(REGDT)
|
||||||
THEN 'Y'
|
THEN 'Y'
|
||||||
ELSE 'N'
|
ELSE 'N'
|
||||||
END AS NEW_FLAG,
|
END AS NEW_FLAG,
|
||||||
|
]]>
|
||||||
TO_CHAR(REGDT, 'YYYY-MM-DD') REGDT,
|
TO_CHAR(REGDT, 'YYYY-MM-DD') REGDT,
|
||||||
POPUPZONE_IMAGE,
|
POPUPZONE_IMAGE,
|
||||||
POPUPZONE_IMAGE_FILE,
|
POPUPZONE_IMAGE_FILE,
|
||||||
POZ_NM,
|
POZ_NM,
|
||||||
USE_YN,
|
USE_YN,
|
||||||
SORT,
|
SORT,
|
||||||
TO_CHAR(REGDT, 'YYYYMMDDHH24MI') REGDT,
|
<!-- TO_CHAR(REGDT, 'YYYYMMDDHH24MI') REGDT, -->
|
||||||
(SELECT USER_NM FROM LETTNEMPLYRINFO WHERE ESNTL_ID = REGISTER_ID) REGISTER_ID,
|
(SELECT USER_NM FROM LETTNEMPLYRINFO WHERE ESNTL_ID = REGISTER_ID) REGISTER_NM,
|
||||||
SITE_ID
|
SITE_ID
|
||||||
FROM POPUPZONE MB
|
FROM POPUPZONE MB
|
||||||
WHERE DEL = '0'
|
WHERE DEL = '0'
|
||||||
]]>
|
|
||||||
<isNotEmpty property="searchKeyword">
|
<isNotEmpty property="searchKeyword">
|
||||||
<isEqual property="searchCondition" compareValue="">
|
<isEqual property="searchCondition" compareValue="">
|
||||||
AND ( POZ_NM LIKE '%' || #searchKeyword# || '%'
|
AND ( POZ_NM LIKE '%' || #searchKeyword# || '%'
|
||||||
@ -337,7 +339,12 @@
|
|||||||
<isNotEmpty property="searchSortOrd">
|
<isNotEmpty property="searchSortOrd">
|
||||||
$searchSortOrd$
|
$searchSortOrd$
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY;
|
|
||||||
|
) PG
|
||||||
|
WHERE <![CDATA[ ROWNUM <= #firstIndex# + #recordCountPerPage# ]]> <!-- 페이징 -->
|
||||||
|
) <![CDATA[ WHERE RN > #firstIndex# ]]> <!-- 페이징 -->
|
||||||
|
|
||||||
|
<!-- OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY; -->
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
@ -539,6 +546,9 @@
|
|||||||
<!-- 매인이미지 관리자 리스트 -->
|
<!-- 매인이미지 관리자 리스트 -->
|
||||||
<select id="MainzoneManage.selectMainzoneList" parameterClass="mainzoneVO" resultClass="egovMap">
|
<select id="MainzoneManage.selectMainzoneList" parameterClass="mainzoneVO" resultClass="egovMap">
|
||||||
/* "MainzoneManage.selectMainzoneList" */
|
/* "MainzoneManage.selectMainzoneList" */
|
||||||
|
|
||||||
|
SELECT * FROM (
|
||||||
|
SELECT ROWNUM AS RN, PG.* FROM (
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
SELECT
|
SELECT
|
||||||
MAZ_ID,
|
MAZ_ID,
|
||||||
@ -590,7 +600,11 @@
|
|||||||
</isEqual>
|
</isEqual>
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
ORDER BY SORT
|
ORDER BY SORT
|
||||||
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY;
|
|
||||||
|
) PG
|
||||||
|
WHERE <![CDATA[ ROWNUM <= #firstIndex# + #recordCountPerPage# ]]> <!-- 페이징 -->
|
||||||
|
) <![CDATA[ WHERE RN > #firstIndex# ]]> <!-- 페이징 -->
|
||||||
|
<!-- OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY; -->
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="MainzoneManage.getMainMaxSort" resultClass="int">
|
<select id="MainzoneManage.getMainMaxSort" resultClass="int">
|
||||||
|
|||||||
@ -1,46 +1,63 @@
|
|||||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
||||||
<title>Insert title here</title>
|
<%
|
||||||
<%
|
//request.setCharacterEncoding("UTF-8"); //한글이 깨지면 주석 제거(UTF-8일 경우)
|
||||||
request.setCharacterEncoding("UTF-8"); //한글깨지면 주석제거
|
String encodingType = "UTF-8"; //UTF-8일 경우 주석 제거
|
||||||
String inputYn = request.getParameter("inputYn");
|
|
||||||
String roadFullAddr = request.getParameter("roadFullAddr");
|
//request.setCharacterEncoding("EUC-KR"); //한글이 깨지면 주석 제거(EUC-KR일 경우)
|
||||||
String roadAddrPart1 = request.getParameter("roadAddrPart1");
|
//String encodingType = "EUC-KR"; //EUC-KR일 경우 주석 제거
|
||||||
String roadAddrPart2 = request.getParameter("roadAddrPart2");
|
|
||||||
String engAddr = request.getParameter("engAddr");
|
/*
|
||||||
String jibunAddr = request.getParameter("jibunAddr");
|
도로명주소 팝업API 승인키
|
||||||
String zipNo = request.getParameter("zipNo");
|
'승인되지 않은 KEY 입니다.' 메시지 출력 시
|
||||||
String addrDetail = request.getParameter("addrDetail");
|
주소기반산업지원서비스 홈페이지 - 기술제공 - API신청 - API 신청하기에서
|
||||||
String admCd = request.getParameter("admCd");
|
신청내역 클릭 후 승인키 발급받은 본인이 본인인증하여 승인키 확인
|
||||||
String rnMgtSn = request.getParameter("rnMgtSn");
|
*/
|
||||||
String bdMgtSn = request.getParameter("bdMgtSn");
|
String confmKey = "bnVsbDIwMTQxMTE5MTAwODQz"; //도로명주소 팝업 API 승인키 입력
|
||||||
String command = request.getParameter("command");
|
|
||||||
%>
|
/*
|
||||||
</head>
|
검색결과 화면 출력유형
|
||||||
<script language="javascript">
|
1 : 도로명
|
||||||
function init(){
|
2 : 도로명+지번
|
||||||
var url = location.href;
|
3 : 도로명+상세건물명
|
||||||
var confmKey = "bnVsbDIwMTQxMTE5MTAwODQz";
|
4 : 도로명+지번+상세건물명 (기본)
|
||||||
var inputYn= "<%=inputYn%>";
|
*/
|
||||||
if(inputYn != "Y"){
|
String resultType = "4";
|
||||||
document.form.confmKey.value = confmKey;
|
|
||||||
document.form.returnUrl.value = url;
|
//상세주소 사용 유무(Y, N)
|
||||||
document.form.action="http://www.juso.go.kr/addrlink/addrLinkUrl.do"; //인터넷망
|
String useDetailAddr = "N";
|
||||||
//document.form.action="http://10.182.60.22/addrlink/addrLinkUrl.do"; //내부행망
|
|
||||||
document.form.submit();
|
/*
|
||||||
}else{
|
사용할 css 경로(회사로고, 배경화면, 색상테마)
|
||||||
opener.jusoCallBack("<%=roadFullAddr%>","<%=roadAddrPart1%>","<%=addrDetail%>","<%=roadAddrPart2%>","<%=engAddr%>","<%=jibunAddr%>","<%=zipNo%>", "<%=admCd%>", "<%=rnMgtSn%>", "<%=bdMgtSn%>","<%=command%>");
|
주소기반산업지원서비스 홈페이지 - 기술제공 - API신청 - API 신청하기에서
|
||||||
window.close();
|
CSS 파일 경로 - 샘플소스 다운로드하여 사용
|
||||||
}
|
사용하지 않을 경우 공란("")
|
||||||
}
|
*/
|
||||||
</script>
|
String cssUrl = "";
|
||||||
<body onload="init();">
|
|
||||||
<form id="form" name="form" method="post">
|
//http, https 체크
|
||||||
<input type="hidden" id="confmKey" name="confmKey" value=""/>
|
String protocol = request.isSecure() ? "https" : "http";
|
||||||
<input type="hidden" id="returnUrl" name="returnUrl" value=""/>
|
String command = request.getParameter("command");
|
||||||
</form>
|
%>
|
||||||
</body>
|
|
||||||
</html>
|
<script type="text/javascript" src="<%=protocol%>://business.juso.go.kr/juso_support_center/assets/js/jquery-1.12.4.min.js"></script>
|
||||||
|
<%-- <script type="text/javascript" src="<%=protocol%>://business.juso.go.kr/juso_support_center/assets/js/popup/roadPopupApi.js?confmKey=<%=confmKey%>&resultType=<%=resultType%>&useDetailAddr=<%=useDetailAddr%>&encodingType=<%=encodingType%>&cssUrl=<%=cssUrl%>"></script> --%>
|
||||||
|
<script type="text/javascript" src="/js/roadPopupApi.js?confmKey=<%=confmKey%>&resultType=<%=resultType%>&useDetailAddr=<%=useDetailAddr%>&encodingType=<%=encodingType%>&cssUrl=<%=cssUrl%>&command=<%=command%>"></script>
|
||||||
|
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
|
||||||
|
<title>주소정보연계 | 도로명주소 안내시스템</title>
|
||||||
|
<script language="javascript">
|
||||||
|
|
||||||
|
//IE에서 opener관련 오류가 발생하는 경우, window에 이름을 명시해줍니다.
|
||||||
|
//window.name="jusoPopup";
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body onload="init();" class ="visualSection">
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|||||||
@ -0,0 +1,46 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>Insert title here</title>
|
||||||
|
<%
|
||||||
|
request.setCharacterEncoding("UTF-8"); //한글깨지면 주석제거
|
||||||
|
String inputYn = request.getParameter("inputYn");
|
||||||
|
String roadFullAddr = request.getParameter("roadFullAddr");
|
||||||
|
String roadAddrPart1 = request.getParameter("roadAddrPart1");
|
||||||
|
String roadAddrPart2 = request.getParameter("roadAddrPart2");
|
||||||
|
String engAddr = request.getParameter("engAddr");
|
||||||
|
String jibunAddr = request.getParameter("jibunAddr");
|
||||||
|
String zipNo = request.getParameter("zipNo");
|
||||||
|
String addrDetail = request.getParameter("addrDetail");
|
||||||
|
String admCd = request.getParameter("admCd");
|
||||||
|
String rnMgtSn = request.getParameter("rnMgtSn");
|
||||||
|
String bdMgtSn = request.getParameter("bdMgtSn");
|
||||||
|
String command = request.getParameter("command");
|
||||||
|
%>
|
||||||
|
</head>
|
||||||
|
<script language="javascript">
|
||||||
|
function init(){
|
||||||
|
var url = location.href;
|
||||||
|
var confmKey = "bnVsbDIwMTQxMTE5MTAwODQz";
|
||||||
|
var inputYn= "<%=inputYn%>";
|
||||||
|
if(inputYn != "Y"){
|
||||||
|
document.form.confmKey.value = confmKey;
|
||||||
|
document.form.returnUrl.value = url;
|
||||||
|
document.form.action="http://www.juso.go.kr/addrlink/addrLinkUrl.do"; //인터넷망
|
||||||
|
//document.form.action="http://10.182.60.22/addrlink/addrLinkUrl.do"; //내부행망
|
||||||
|
document.form.submit();
|
||||||
|
}else{
|
||||||
|
opener.jusoCallBack("<%=roadFullAddr%>","<%=roadAddrPart1%>","<%=addrDetail%>","<%=roadAddrPart2%>","<%=engAddr%>","<%=jibunAddr%>","<%=zipNo%>", "<%=admCd%>", "<%=rnMgtSn%>", "<%=bdMgtSn%>","<%=command%>");
|
||||||
|
window.close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<body onload="init();">
|
||||||
|
<form id="form" name="form" method="post">
|
||||||
|
<input type="hidden" id="confmKey" name="confmKey" value=""/>
|
||||||
|
<input type="hidden" id="returnUrl" name="returnUrl" value=""/>
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -20,8 +20,8 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Language" content="ko">
|
<meta http-equiv="Content-Language" content="ko">
|
||||||
<%-- <link href="<c:url value='/'/>css/jstree/themes/default/style.min.css" rel="stylesheet" type="text/css"> --%>
|
<link href="<c:url value='/'/>css/jstree/themes/default/style.min.css" rel="stylesheet" type="text/css">
|
||||||
<link href="<c:url value='/'/>css/style.min.css" rel="stylesheet" type="text/css">
|
<%-- <link href="<c:url value='/'/>css/style.min.css" rel="stylesheet" type="text/css"> --%>
|
||||||
<style>
|
<style>
|
||||||
.jstree_orgChart {
|
.jstree_orgChart {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@ -231,7 +231,12 @@ function jstreeInit() {
|
|||||||
$.ajax({
|
$.ajax({
|
||||||
type:"POST",
|
type:"POST",
|
||||||
url:"<c:url value='/sym/mnu/mcm/EgovMenuInfoInsertAjax.do' />",
|
url:"<c:url value='/sym/mnu/mcm/EgovMenuInfoInsertAjax.do' />",
|
||||||
data:{ "menuNm" : menuNm, "upperMenuId" : upperMenuId, "menuOrdr" : menuOrdr , "authorCode" : $('#authorCode').val() },
|
data:{ "menuNm" : menuNm
|
||||||
|
, "upperMenuId" : upperMenuId
|
||||||
|
, "menuOrdr" : menuOrdr
|
||||||
|
, "authorCode" : $('#authorCode').val()
|
||||||
|
, "rootMenuId" : data.node.parents[data.node.parents.length-2]
|
||||||
|
},
|
||||||
dataType:'json',
|
dataType:'json',
|
||||||
//timeout:(1000*30),
|
//timeout:(1000*30),
|
||||||
success : function(returnData, status) {
|
success : function(returnData, status) {
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.6 KiB |
File diff suppressed because it is too large
Load Diff
1
src/main/webapp/WEB-INF/views/_common/_css/jstree/themes/default-dark/style.min.css
vendored
Normal file
1
src/main/webapp/WEB-INF/views/_common/_css/jstree/themes/default-dark/style.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
File diff suppressed because it is too large
Load Diff
1
src/main/webapp/WEB-INF/views/_common/_css/jstree/themes/default/style.min.css
vendored
Normal file
1
src/main/webapp/WEB-INF/views/_common/_css/jstree/themes/default/style.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
1277
src/main/webapp/WEB-INF/views/_common/_js/roadPopupApi.js
Normal file
1277
src/main/webapp/WEB-INF/views/_common/_js/roadPopupApi.js
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user