checkout test

main
Kurt92 2 years ago
parent 254f0282c8
commit 89d8af7c42

@ -1,80 +0,0 @@
package kr.xit.framework.biz.mng.menu.create.dao;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
import egovframework.rte.psl.dataaccess.mapper.Mapper;
import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngSearchVO;
import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO;
import org.apache.ibatis.session.RowBounds;
/**
*
* @: Mapper
* @:
* @: 2020. 3. 26. 10:03:50
* @:
* @author ()
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
@Mapper
public interface XitMenuCreateMngMapper {
/**
* <pre> : </pre>
* @param searchVO
* @return List<XitMenuCreateMngVO>
* @author:
* @date: 2020. 3. 26.
*/
public List<XitMenuCreateMngVO> findList(Map<String, Object> paramMap, RowBounds rowBounds);
/**
* <pre> : </pre>
* @param searchVO
* @return int
* @author:
* @date: 2020. 3. 26.
*/
public int findListTotCnt(XitMenuCreateMngSearchVO searchVO) throws SQLException;
/**
* <pre> : </pre>
* @param vo
* @return XitMenuCreateMngVO
* @author:
* @date: 2020. 3. 26.
*/
public XitMenuCreateMngVO findView(XitMenuCreateMngVO vo) throws SQLException;
/**
* <pre> : </pre>
* @param vo
* @return
* @author:
* @date: 2020. 3. 31.
*/
public List<XitMenuCreateMngVO> findListOfMenuInfo(XitMenuCreateMngVO vo) throws SQLException;
/**
* <pre> : </pre>
* @param searchVO
* @return XitMenuCreateMngVO
* @author:
* @date: 2020. 3. 31.
*/
public XitMenuCreateMngVO findUserScrtySetupByUsr(XitMenuCreateMngSearchVO searchVO) throws SQLException;
/**
* <pre> : </pre>
* @return int
* @author:
* @date: 2020. 3. 31.
*/
public int deleteAllMenuCreatDtlsList() throws SQLException;
}

@ -1,60 +0,0 @@
package kr.xit.framework.biz.mng.menu.list.dao;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
import egovframework.rte.psl.dataaccess.mapper.Mapper;
import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngVO;
import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngSearchVO;
import org.apache.ibatis.session.RowBounds;
/**
*
* @: Mapper
* @:
* @: 2020. 3. 26. 10:03:50
* @:
* @author ()
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
@Mapper
public interface XitMenuListMngMapper {
/**
* <pre> : </pre>
* @param map
* @return List<XitMenuListMngVO>
* @author:
* @date: 2020. 3. 26.
*/
public List<XitMenuListMngVO> findList(Map<String, Object> paramMap, RowBounds rowBounds);
/**
* <pre> : </pre>
* @param searchVO
* @return int
* @author:
* @date: 2020. 3. 26.
*/
public int findListTotCnt(XitMenuListMngSearchVO searchVO) throws SQLException;
/**
* <pre> : </pre>
* @param vo
* @return XitMenuListMngVO
* @author:
* @date: 2020. 3. 26.
*/
public XitMenuListMngVO findView(XitMenuListMngVO vo) throws SQLException;
/**
* <pre> : </pre>
* @return
* @throws SQLException int
* @author:
* @date: 2020. 3. 27.
*/
public int deleteAllMenuList() throws SQLException;
}

@ -0,0 +1,80 @@
//package kr.xit.framework.biz.mng.mapper;
//
//import java.sql.SQLException;
//import java.util.List;
//import java.util.Map;
//
//import egovframework.rte.psl.dataaccess.mapper.Mapper;
//import kr.xit.framework.biz.mng.model.MenuCreateMngSearchVO;
//import kr.xit.framework.biz.mng.model.MenuCreateMngVO;
//import org.apache.ibatis.session.RowBounds;
//
///**
// *
// * @업무그룹명: 메뉴생성관리 Mapper
// * @설명:
// * @최초작성일: 2020. 3. 26. 오전 10:03:50
// * @최초작성자: 박민규
// * @author (주)엑스아이티 개발팀
// * @since 2002. 2. 2.
// * @version 1.0 Copyright(c) XIT All rights reserved.
// */
//@Mapper
//public interface MenuCreateMngMapper {
//
// /**
// * <pre>메소드 설명: 메뉴생성관리 목록 조회</pre>
// * @param searchVO
// * @return List<XitMenuCreateMngVO> 요청처리 후 응답객체
// * @author: 박민규
// * @date: 2020. 3. 26.
// */
// public List<MenuCreateMngVO> findList(Map<String, Object> paramMap, RowBounds rowBounds);
//
// /**
// * <pre>메소드 설명: 메뉴생성관리 목록 총건수 조회</pre>
// * @param searchVO
// * @return int 요청처리 후 응답객체
// * @author: 박민규
// * @date: 2020. 3. 26.
// */
// public int findListTotCnt(MenuCreateMngSearchVO searchVO) throws SQLException;
//
// /**
// * <pre>메소드 설명: 메뉴생성관리 상세정보 조회</pre>
// * @param vo
// * @return XitMenuCreateMngVO 요청처리 후 응답객체
// * @author: 박민규
// * @date: 2020. 3. 26.
// */
// public MenuCreateMngVO findView(MenuCreateMngVO vo) throws SQLException;
//
// /**
// * <pre>메소드 설명: 메뉴목록 조회</pre>
// * @param vo
// * @return
// * @author: 박민규
// * @date: 2020. 3. 31.
// */
// public List<MenuCreateMngVO> findListOfMenuInfo(MenuCreateMngVO vo) throws SQLException;
//
// /**
// * <pre>메소드 설명: 사용자별 사용자보안설정 데이터 조회</pre>
// * @param searchVO
// * @return XitMenuCreateMngVO 요청처리 후 응답객체
// * @author: 박민규
// * @date: 2020. 3. 31.
// */
// public MenuCreateMngVO findUserScrtySetupByUsr(MenuCreateMngSearchVO searchVO) throws SQLException;
//
// /**
// * <pre>메소드 설명: 매뉴생성내역 전체데이터 삭제</pre>
// * @return int 요청처리 후 응답객체
// * @author: 박민규
// * @date: 2020. 3. 31.
// */
// public int deleteAllMenuCreatDtlsList() throws SQLException;
//
//
//
//}

@ -0,0 +1,115 @@
package kr.xit.framework.biz.mng.menu.mapper;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
import egovframework.rte.psl.dataaccess.mapper.Mapper;
import kr.xit.framework.biz.mng.menu.model.MenuCreateMngSearchVO;
import kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO;
import kr.xit.framework.biz.mng.menu.model.MenuListMngVO;
import kr.xit.framework.biz.mng.menu.model.MenuListMngSearchVO;
import org.apache.ibatis.session.RowBounds;
/**
*
* @: Mapper
* @:
* @: 2020. 3. 26. 10:03:50
* @:
* @author ()
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
@Mapper
public interface MenuListMngMapper {
/**
* <pre> : </pre>
* @param paramMap
* @return List<MenuListMngVO>
* @author:
* @date: 2020. 3. 26.
*/
public List<MenuListMngVO> findMenuList(Map<String, Object> paramMap, RowBounds rowBounds);
/**
* <pre> : </pre>
* @param searchVO
* @return int
* @author:
* @date: 2020. 3. 26.
*/
public int findMenuListTotCnt(MenuListMngSearchVO searchVO) throws SQLException;
/**
* <pre> : </pre>
* @param vo
* @return MenuListMngVO
* @author:
* @date: 2020. 3. 26.
*/
public MenuListMngVO findMenuView(MenuListMngVO vo) throws SQLException;
/**
* <pre> : </pre>
* @return
* @throws SQLException int
* @author:
* @date: 2020. 3. 27.
*/
public int deleteAllMenuList() throws SQLException;
/**
* <pre> : </pre>
* @param paramMap
* @return List<XitMenuCreateMngVO>
* @author:
* @date: 2020. 3. 26.
*/
public List<MenuCreateMngVO> findList(Map<String, Object> paramMap, RowBounds rowBounds);
/**
* <pre> : </pre>
* @param searchVO
* @return int
* @author:
* @date: 2020. 3. 26.
*/
public int findListTotCnt(MenuCreateMngSearchVO searchVO) throws SQLException;
/**
* <pre> : </pre>
* @param vo
* @return XitMenuCreateMngVO
* @author:
* @date: 2020. 3. 26.
*/
public MenuCreateMngVO findView(MenuCreateMngVO vo) throws SQLException;
/**
* <pre> : </pre>
* @param vo
* @return
* @author:
* @date: 2020. 3. 31.
*/
public List<MenuCreateMngVO> findListOfMenuInfo(MenuCreateMngVO vo) throws SQLException;
/**
* <pre> : </pre>
* @param searchVO
* @return XitMenuCreateMngVO
* @author:
* @date: 2020. 3. 31.
*/
public MenuCreateMngVO findUserScrtySetupByUsr(MenuCreateMngSearchVO searchVO) throws SQLException;
/**
* <pre> : </pre>
* @return int
* @author:
* @date: 2020. 3. 31.
*/
public int deleteAllMenuCreatDtlsList() throws SQLException;
}

@ -1,4 +1,4 @@
package kr.xit.framework.biz.mng.mapper;
package kr.xit.framework.biz.mng.menu.mapper;
import java.util.List;
import java.util.Map;
@ -6,7 +6,7 @@ import java.util.Map;
import org.apache.ibatis.session.RowBounds;
import egovframework.rte.psl.dataaccess.mapper.Mapper;
import kr.xit.framework.biz.mng.model.ProgramMngVO;
import kr.xit.framework.biz.mng.menu.model.ProgramMngVO;
/**
*

@ -1,4 +1,4 @@
package kr.xit.framework.biz.mng.menu.create.model;
package kr.xit.framework.biz.mng.menu.model;
import kr.xit.framework.core.model.XitBaseSearchVO;
@ -12,7 +12,7 @@ import kr.xit.framework.core.model.XitBaseSearchVO;
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
public class XitMenuCreateMngSearchVO extends XitBaseSearchVO{
public class MenuCreateMngSearchVO extends XitBaseSearchVO{
/**
* serialVersionUID

@ -1,4 +1,4 @@
package kr.xit.framework.biz.mng.menu.create.model;
package kr.xit.framework.biz.mng.menu.model;
import kr.xit.framework.core.model.BaseVO;
@ -12,7 +12,7 @@ import kr.xit.framework.core.model.BaseVO;
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
public class XitMenuCreateMngVO extends BaseVO {
public class MenuCreateMngVO extends BaseVO {
/**
* serialVersionUID
*/

@ -1,4 +1,4 @@
package kr.xit.framework.biz.mng.menu.list.model;
package kr.xit.framework.biz.mng.menu.model;
import kr.xit.framework.core.model.XitBaseSearchVO;
@ -12,7 +12,7 @@ import kr.xit.framework.core.model.XitBaseSearchVO;
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
public class XitMenuListMngSearchVO extends XitBaseSearchVO{
public class MenuListMngSearchVO extends XitBaseSearchVO{
/**
* serialVersionUID

@ -1,4 +1,4 @@
package kr.xit.framework.biz.mng.menu.list.model;
package kr.xit.framework.biz.mng.menu.model;
import kr.xit.framework.core.model.BaseVO;
@ -12,7 +12,7 @@ import kr.xit.framework.core.model.BaseVO;
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
public class XitMenuListMngVO extends BaseVO {
public class MenuListMngVO extends BaseVO {
/**
* serialVersionUID
*/

@ -1,4 +1,4 @@
package kr.xit.framework.biz.mng.model;
package kr.xit.framework.biz.mng.menu.model;
import kr.xit.framework.core.model.XitBaseSearchVO;

@ -1,4 +1,4 @@
package kr.xit.framework.biz.mng.model;
package kr.xit.framework.biz.mng.menu.model;
import kr.xit.framework.core.model.BaseVO;
import lombok.AllArgsConstructor;

@ -1,10 +1,10 @@
package kr.xit.framework.biz.mng.menu.create.service;
package kr.xit.framework.biz.mng.menu.service;
import java.util.List;
import java.util.Map;
import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngSearchVO;
import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO;
import kr.xit.framework.biz.mng.menu.model.MenuCreateMngSearchVO;
import kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO;
import org.apache.ibatis.session.RowBounds;
/**
@ -17,7 +17,7 @@ import org.apache.ibatis.session.RowBounds;
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
public interface XitMenuCreateMngService {
public interface MenuCreateMngService {
/**
* <pre> : </pre>
@ -26,7 +26,7 @@ public interface XitMenuCreateMngService {
* @author:
* @date: 2020. 3. 26.
*/
public List<XitMenuCreateMngVO> findList(Map<String, Object> paramMap, RowBounds rowBounds);
public List<MenuCreateMngVO> findList(Map<String, Object> paramMap, RowBounds rowBounds);
/**
* <pre> : </pre>
@ -35,7 +35,7 @@ public interface XitMenuCreateMngService {
* @author:
* @date: 2020. 3. 26.
*/
public int findListTotCnt(XitMenuCreateMngSearchVO searchVO);
public int findListTotCnt(MenuCreateMngSearchVO searchVO);
/**
* <pre> : </pre>
@ -44,7 +44,7 @@ public interface XitMenuCreateMngService {
* @author:
* @date: 2020. 3. 26.
*/
public XitMenuCreateMngVO findView(XitMenuCreateMngVO vo);
public MenuCreateMngVO findView(MenuCreateMngVO vo);
/**
* <pre> : </pre>
@ -64,7 +64,7 @@ public interface XitMenuCreateMngService {
* @author:
* @date: 2020. 3. 31.
*/
public List<XitMenuCreateMngVO> findListOfMenuInfo(XitMenuCreateMngVO vo);
public List<MenuCreateMngVO> findListOfMenuInfo(MenuCreateMngVO vo);
/**
@ -74,6 +74,6 @@ public interface XitMenuCreateMngService {
* @author:
* @date: 2020. 3. 31.
*/
public XitMenuCreateMngVO findUserScrtySetupByUsr(XitMenuCreateMngSearchVO searchVO);
public MenuCreateMngVO findUserScrtySetupByUsr(MenuCreateMngSearchVO searchVO);
}

@ -1,11 +1,11 @@
package kr.xit.framework.biz.mng.menu.list.service;
package kr.xit.framework.biz.mng.menu.service;
import java.io.FileInputStream;
import java.util.List;
import java.util.Map;
import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngVO;
import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngSearchVO;
import kr.xit.framework.biz.mng.menu.model.MenuListMngVO;
import kr.xit.framework.biz.mng.menu.model.MenuListMngSearchVO;
import org.apache.ibatis.session.RowBounds;
/**
@ -18,16 +18,16 @@ import org.apache.ibatis.session.RowBounds;
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
public interface XitMenuListMngService {
public interface MenuListMngService {
/**
* <pre> : </pre>
* @param map
* @return List<XitMenuListMngVO>
* @author:
* @date: 2020. 3. 26.
* @param paramMap
* @return List<MenuListMngVO>
* @author:
* @date: 2022. 10. 18.
*/
public List<XitMenuListMngVO> findList(Map<String, Object> paramMap, RowBounds rowBounds);
public List<MenuListMngVO> findList(Map<String, Object> paramMap, RowBounds rowBounds);
/**
* <pre> : </pre>
@ -36,16 +36,16 @@ public interface XitMenuListMngService {
* @author:
* @date: 2020. 3. 26.
*/
public int findListTotCnt(XitMenuListMngSearchVO searchVO);
public int findListTotCnt(MenuListMngSearchVO searchVO);
/**
* <pre> : </pre>
* @param vo
* @return XitMenuListMngVO
* @return MenuListMngVO
* @author:
* @date: 2020. 3. 26.
*/
public XitMenuListMngVO findView(XitMenuListMngVO vo);
public MenuListMngVO findView(MenuListMngVO vo);
/**
* <pre> : </pre>
@ -53,7 +53,7 @@ public interface XitMenuListMngService {
* @author:
* @date: 2020. 3. 26.
*/
public void addProc(XitMenuListMngVO vo);
public void addProc(MenuListMngVO vo);
/**
* <pre> : </pre>
@ -61,7 +61,7 @@ public interface XitMenuListMngService {
* @author:
* @date: 2020. 3. 26.
*/
public void modifyProc(XitMenuListMngVO vo);
public void modifyProc(MenuListMngVO vo);
/**
* <pre> : </pre>
@ -69,7 +69,7 @@ public interface XitMenuListMngService {
* @author:
* @date: 2020. 3. 26.
*/
public void removeProc(XitMenuListMngVO vo);
public void removeProc(MenuListMngVO vo);
/**
* <pre> : </pre>
@ -98,7 +98,7 @@ public interface XitMenuListMngService {
* @author:
* @date: 2020. 3. 27.
*/
public String addsProc(XitMenuListMngVO vo, FileInputStream inputStream) throws Exception;
public String addsProc(MenuListMngVO vo, FileInputStream inputStream) throws Exception;

@ -1,12 +1,11 @@
package kr.xit.framework.biz.mng.service;
package kr.xit.framework.biz.mng.menu.service;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.session.RowBounds;
import kr.xit.framework.biz.mng.model.ProgramMngSearchVO;
import kr.xit.framework.biz.mng.model.ProgramMngVO;
import kr.xit.framework.biz.mng.menu.model.ProgramMngVO;
/**
*

@ -1,16 +1,16 @@
package kr.xit.framework.biz.mng.service.impl;
package kr.xit.framework.biz.mng.menu.service.impl;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import kr.xit.framework.biz.mng.menu.service.ProgramMngService;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Service;
import kr.xit.framework.biz.mng.mapper.ProgramMngMapper;
import kr.xit.framework.biz.mng.model.ProgramMngVO;
import kr.xit.framework.biz.mng.service.ProgramMngService;
import kr.xit.framework.biz.mng.menu.mapper.ProgramMngMapper;
import kr.xit.framework.biz.mng.menu.model.ProgramMngVO;
import kr.xit.framework.core.constants.FrameworkConstants;
import kr.xit.framework.core.utils.XitCmmnUtil;
import kr.xit.framework.support.exception.BizRuntimeException;

@ -1,4 +1,4 @@
package kr.xit.framework.biz.mng.menu.create.service.impl;
package kr.xit.framework.biz.mng.menu.service.impl;
import java.sql.SQLException;
import java.util.ArrayList;
@ -7,37 +7,37 @@ import java.util.Map;
import javax.annotation.Resource;
import kr.xit.framework.biz.mng.menu.mapper.MenuListMngMapper;
import kr.xit.framework.biz.mng.menu.service.MenuCreateMngService;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Service;
import kr.xit.framework.biz.cmm.model.XitMenuCreatDtlsVO;
import kr.xit.framework.biz.cmm.service.XitFrameCrudService;
import kr.xit.framework.biz.mng.menu.create.dao.XitMenuCreateMngMapper;
import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngSearchVO;
import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO;
import kr.xit.framework.biz.mng.menu.create.service.XitMenuCreateMngService;
import kr.xit.framework.biz.mng.menu.model.MenuCreateMngSearchVO;
import kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO;
import kr.xit.framework.core.message.XitMessageSource;
@Service
public class XitMenuCreateMngServiceImpl implements XitMenuCreateMngService {
public class XitMenuCreateMngServiceImpl implements MenuCreateMngService {
@Resource
private XitMenuCreateMngMapper xitMenuCreateMngMapper;
private MenuListMngMapper menuListMngMapper;
@Resource
private XitFrameCrudService xitFrameCrudService;
@Resource(name = "xitMessageSource")
XitMessageSource xitMessageSource;
@Override
public List<XitMenuCreateMngVO> findList(Map<String, Object> paramMap, RowBounds rowBounds) {
return xitMenuCreateMngMapper.findList(paramMap, rowBounds);
public List<MenuCreateMngVO> findList(Map<String, Object> paramMap, RowBounds rowBounds) {
return menuListMngMapper.findList(paramMap, rowBounds);
}
@Override
public int findListTotCnt(XitMenuCreateMngSearchVO searchVO) {
public int findListTotCnt(MenuCreateMngSearchVO searchVO) {
int result = 0;
try {
result = xitMenuCreateMngMapper.findListTotCnt(searchVO);
result = menuListMngMapper.findListTotCnt(searchVO);
} catch (SQLException e) {
throw new RuntimeException("메뉴생성관리 목록 총건수 조회 FAIL::", e);
}
@ -45,10 +45,10 @@ public class XitMenuCreateMngServiceImpl implements XitMenuCreateMngService {
}
@Override
public XitMenuCreateMngVO findView(XitMenuCreateMngVO vo) {
XitMenuCreateMngVO result = null;
public MenuCreateMngVO findView(MenuCreateMngVO vo) {
MenuCreateMngVO result = null;
try {
result = xitMenuCreateMngMapper.findView(vo);
result = menuListMngMapper.findView(vo);
} catch (SQLException e) {
throw new RuntimeException("메뉴생성관리 상세정보 조회 FAIL::", e);
}
@ -95,10 +95,10 @@ public class XitMenuCreateMngServiceImpl implements XitMenuCreateMngService {
}
@Override
public List<XitMenuCreateMngVO> findListOfMenuInfo(XitMenuCreateMngVO vo) {
List<XitMenuCreateMngVO> result = null;
public List<MenuCreateMngVO> findListOfMenuInfo(MenuCreateMngVO vo) {
List<MenuCreateMngVO> result = null;
try {
result = xitMenuCreateMngMapper.findListOfMenuInfo(vo);
result = menuListMngMapper.findListOfMenuInfo(vo);
} catch (SQLException e) {
throw new RuntimeException("메뉴 목록 조회 FAIL::", e);
}
@ -106,10 +106,10 @@ public class XitMenuCreateMngServiceImpl implements XitMenuCreateMngService {
}
@Override
public XitMenuCreateMngVO findUserScrtySetupByUsr(XitMenuCreateMngSearchVO searchVO) {
XitMenuCreateMngVO result = null;
public MenuCreateMngVO findUserScrtySetupByUsr(MenuCreateMngSearchVO searchVO) {
MenuCreateMngVO result = null;
try {
result = xitMenuCreateMngMapper.findUserScrtySetupByUsr(searchVO);
result = menuListMngMapper.findUserScrtySetupByUsr(searchVO);
} catch (SQLException e) {
throw new RuntimeException("사용자별 사용자보안설정 데이터 조회 FAIL::", e);
}

@ -1,4 +1,4 @@
package kr.xit.framework.biz.mng.menu.list.service.impl;
package kr.xit.framework.biz.mng.menu.service.impl;
import java.io.FileInputStream;
import java.sql.SQLException;
@ -20,31 +20,28 @@ import egovframework.rte.fdl.excel.EgovExcelService;
import kr.xit.framework.biz.cmm.model.XitMenuInfoVO;
import kr.xit.framework.biz.cmm.model.ProgrmListVO;
import kr.xit.framework.biz.cmm.service.XitFrameCrudService;
import kr.xit.framework.biz.mng.mapper.ProgramMngMapper;
import kr.xit.framework.biz.mng.menu.create.dao.XitMenuCreateMngMapper;
import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngVO;
import kr.xit.framework.biz.mng.menu.list.service.XitMenuListMngService;
import kr.xit.framework.biz.mng.menu.list.dao.XitMenuListMngMapper;
import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngSearchVO;
import kr.xit.framework.biz.mng.model.ProgramMngVO;
import kr.xit.framework.biz.mng.service.ProgramMngService;
import kr.xit.framework.biz.mng.menu.mapper.ProgramMngMapper;
import kr.xit.framework.biz.mng.menu.model.MenuListMngVO;
import kr.xit.framework.biz.mng.menu.service.MenuListMngService;
import kr.xit.framework.biz.mng.menu.mapper.MenuListMngMapper;
import kr.xit.framework.biz.mng.menu.model.MenuListMngSearchVO;
import kr.xit.framework.biz.mng.menu.model.ProgramMngVO;
import kr.xit.framework.biz.mng.menu.service.ProgramMngService;
import kr.xit.framework.core.message.XitMessageSource;
import kr.xit.framework.core.utils.XitCmmnUtil;
@Service
public class XitMenuListMngServiceImpl implements XitMenuListMngService {
public class XitMenuListMngServiceImpl implements MenuListMngService {
private static final Logger logger = LoggerFactory.getLogger(XitMenuListMngServiceImpl.class);
@Resource
private XitMenuListMngMapper xitMenuListMngMapper;
private MenuListMngMapper menuListMngMapper;
@Resource
private ProgramMngMapper programMngMapper;
@Resource
private ProgramMngService programMngService;
@Resource
private XitMenuCreateMngMapper xitMenuCreateMngMapper;
@Resource
private XitFrameCrudService xitFrameCrudService;
@Resource
private XitMessageSource xitMessageSource;
@ -52,16 +49,16 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
private EgovExcelService excelZipService;
@Override
public List<XitMenuListMngVO> findList(Map<String, Object> paramMap, RowBounds rowBounds) {
public List<MenuListMngVO> findList(Map<String, Object> paramMap, RowBounds rowBounds) {
return xitMenuListMngMapper.findList(paramMap, rowBounds);
return menuListMngMapper.findMenuList(paramMap, rowBounds);
}
@Override
public int findListTotCnt(XitMenuListMngSearchVO searchVO) {
public int findListTotCnt(MenuListMngSearchVO searchVO) {
int result = 0;
try {
result = xitMenuListMngMapper.findListTotCnt(searchVO);
result = menuListMngMapper.findMenuListTotCnt(searchVO);
} catch (SQLException e) {
throw new RuntimeException("메뉴목록관리 목록 총건수 조회 FAIL::", e);
}
@ -69,10 +66,10 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
}
@Override
public XitMenuListMngVO findView(XitMenuListMngVO vo) {
XitMenuListMngVO result = null;
public MenuListMngVO findView(MenuListMngVO vo) {
MenuListMngVO result = null;
try {
result = xitMenuListMngMapper.findView(vo);
result = menuListMngMapper.findMenuView(vo);
} catch (SQLException e) {
throw new RuntimeException("메뉴목록관리 상세정보 조회 FAIL::", e);
}
@ -80,7 +77,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
}
@Override
public void addProc(XitMenuListMngVO vo) {
public void addProc(MenuListMngVO vo) {
/**
*
@ -113,7 +110,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
}
@Override
public void modifyProc(XitMenuListMngVO vo) {
public void modifyProc(MenuListMngVO vo) {
/**
*
@ -140,7 +137,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
}
@Override
public void removeProc(XitMenuListMngVO vo) {
public void removeProc(MenuListMngVO vo) {
/**
*
*/
@ -179,7 +176,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
*/
String[] arrMenuNo = menuNos.split(",");
for (int i = 0; i < arrMenuNo.length; i++) {
XitMenuListMngVO vo = new XitMenuListMngVO();
MenuListMngVO vo = new MenuListMngVO();
vo.setMenuNo(Integer.parseInt(arrMenuNo[i]));
this.removeProc(vo);
@ -195,7 +192,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
* @author:
* @date: 2020. 3. 27.
*/
private XitMenuInfoVO convertToCrudVO(XitMenuListMngVO vo) {
private XitMenuInfoVO convertToCrudVO(MenuListMngVO vo) {
XitMenuInfoVO xitMenuInfoVO = new XitMenuInfoVO();
xitMenuInfoVO.setMenu_no(String.valueOf(vo.getMenuNo()));
xitMenuInfoVO.setMenu_nm(vo.getMenuNm());
@ -231,7 +228,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
* @exception Exception
*/
private boolean deleteAllMenuList() throws Exception {
xitMenuListMngMapper.deleteAllMenuList();
menuListMngMapper.deleteAllMenuList();
return true;
}
@ -241,7 +238,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
* @exception Exception
*/
private boolean deleteAllMenuCreatDtlsList() throws Exception {
xitMenuCreateMngMapper.deleteAllMenuCreatDtlsList();
menuListMngMapper.deleteAllMenuCreatDtlsList();
return true;
}
@ -266,7 +263,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
}
@Override
public String addsProc(XitMenuListMngVO vo, FileInputStream inputStream) throws Exception {
public String addsProc(MenuListMngVO vo, FileInputStream inputStream) throws Exception {
String message = addsProc(inputStream);
String sMessage = null;
@ -462,7 +459,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
try {
int rows = menuSheet.getPhysicalNumberOfRows(); //행 갯수 가져오기
for (int j = 1; j < rows; j++) { //row 루프
XitMenuListMngVO vo = new XitMenuListMngVO();
MenuListMngVO vo = new MenuListMngVO();
Row row = menuSheet.getRow(j); //row 가져오기
if (row != null) {
//int cells=row.getPhysicalNumberOfCells(); //cell 갯수 가져오기

@ -1,4 +1,4 @@
package kr.xit.framework.biz.mng.menu.create.web;
package kr.xit.framework.biz.mng.menu.web;
import java.io.IOException;
import java.util.HashMap;
@ -19,9 +19,9 @@ import org.springframework.ui.ModelMap;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.*;
import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngSearchVO;
import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO;
import kr.xit.framework.biz.mng.menu.create.service.XitMenuCreateMngService;
import kr.xit.framework.biz.mng.menu.model.MenuCreateMngSearchVO;
import kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO;
import kr.xit.framework.biz.mng.menu.service.MenuCreateMngService;
import kr.xit.framework.core.constants.FrameworkConstants;
import kr.xit.framework.core.message.XitMessageSource;
import kr.xit.framework.core.utils.XitCmmnUtil;
@ -41,11 +41,12 @@ import org.springframework.web.servlet.ModelAndView;
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
@Controller
@RequestMapping(value = "/_mng_/menu/create/")
public class XitMenuCreateMngController {
//@RequestMapping(value = "/_mng_/menu/create/")
@RequestMapping(value = "/framework/biz/mng/menu")
public class MenuCreateMngController {
@Resource
private XitMenuCreateMngService xitMenuCreateMngService;
private MenuCreateMngService xitMenuCreateMngService;
@Autowired
private XitBeanValidator beanValidator;
@Resource(name = "xitMessageSource")
@ -54,14 +55,20 @@ public class XitMenuCreateMngController {
/**
* <pre> : </pre>
* @return String
* @author:
* @date: 2020. 3. 25.
* @author:
* @date: 2022. 10. 18.
*/
@RequestMapping(value = "MenuCreateMng_list.do", method={RequestMethod.GET, RequestMethod.POST})
public String MenuCreateMng_list(@ModelAttribute("searchVO") XitMenuCreateMngSearchVO searchVO, ModelMap model) {
@GetMapping(value = "/mngMenuCreateMgtForm")
public void mngMenuCreateMgtForm() {
System.out.println("aaaatest1111111111");
System.out.println("auto merge off");
System.out.println("auto merge off2");
System.out.println("auto merge off2");
System.out.println("auto merge off2");
System.out.println("auto merge off2");
System.out.println("auto merge off2");
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/menu/create/XitMenuCreateMng_list";
}
/**
@ -73,8 +80,8 @@ public class XitMenuCreateMngController {
* @author:
* @date: 2022. 10. 13.
*/
@GetMapping(value = "MenuCreateMng_list.ajax")
public ModelAndView finds(@RequestParam Map<String,Object> paramMap) {
@GetMapping(value = "/MenuCreateMng_list.ajax")
public ModelAndView findsMenuCreate(@RequestParam Map<String,Object> paramMap) {
return ResultResponse.of(xitMenuCreateMngService.findList(paramMap, MybatisUtils.getPagingInfo(paramMap)));
}
@ -90,13 +97,13 @@ public class XitMenuCreateMngController {
* @author:
* @date: 2020. 3. 26.
*/
@RequestMapping(value = "MenuCreateMng_{cmd}.do", method={RequestMethod.GET, RequestMethod.POST})
@RequestMapping(value = "/MenuCreateMng_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public String MenuCreateMng_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("menuCreatVO") XitMenuCreateMngVO vo, ModelMap model) {
, @ModelAttribute("menuCreatVO") MenuCreateMngVO vo, ModelMap model) {
switch (cmd) {
case "input": //등록 페이지
List<XitMenuCreateMngVO> list_menulist = xitMenuCreateMngService.findListOfMenuInfo(vo);
List<MenuCreateMngVO> list_menulist = xitMenuCreateMngService.findListOfMenuInfo(vo);
model.addAttribute("list_menulist", list_menulist);
model.addAttribute("resultVO", vo);
break;
@ -124,10 +131,10 @@ public class XitMenuCreateMngController {
* @throws ServletException
* @date: 2020. 3. 25.
*/
@RequestMapping(value = "MenuCreateMng_{cmd}_proc.do", method=RequestMethod.POST)
@RequestMapping(value = "/MenuCreateMng_{cmd}_proc.do", method=RequestMethod.POST)
public void MenuCreateMng_cmd_proc(HttpServletRequest req
,@PathVariable String cmd
,@ModelAttribute("menuCreatVO") XitMenuCreateMngVO vo
,@ModelAttribute("menuCreatVO") MenuCreateMngVO vo
,@RequestParam(value="checkedAuthorForInsert", required=false, defaultValue="")String checkedAuthorForInsert
,@RequestParam(value="checkedMenuNoForInsert", required=false, defaultValue="")String checkedMenuNoForInsert
,BindingResult bindingResult
@ -139,7 +146,7 @@ public class XitMenuCreateMngController {
/**
*
*/
String sLocationUrl = "forward:/_mng_/menu/create/MenuCreateMng_list.do";
String sLocationUrl = "forward:/framework/biz/mng/menu/MenuCreateMng_list.do";
String message = null;
switch (cmd) {
// case "insert": //등록
@ -155,7 +162,7 @@ public class XitMenuCreateMngController {
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.insert");
}
sLocationUrl = "forward:/_mng_/menu/create/MenuCreateMng_input.do?tilesDef=popup";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuCreateMng_input.do?tilesDef=popup";
break;
// case "update": //수정

@ -1,4 +1,4 @@
package kr.xit.framework.biz.mng.menu.list.web;
package kr.xit.framework.biz.mng.menu.web;
import java.io.File;
import java.io.FileInputStream;
@ -23,9 +23,8 @@ import org.springframework.ui.ModelMap;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.*;
import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngVO;
import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngSearchVO;
import kr.xit.framework.biz.mng.menu.list.service.XitMenuListMngService;
import kr.xit.framework.biz.mng.menu.model.MenuListMngVO;
import kr.xit.framework.biz.mng.menu.service.MenuListMngService;
import kr.xit.framework.core.constants.FrameworkConstants;
import kr.xit.framework.core.constants.FrameworkConstants.TILES_TYPE;
import kr.xit.framework.core.message.XitMessageSource;
@ -48,13 +47,14 @@ import org.springframework.web.servlet.ModelAndView;
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
@Controller
@RequestMapping(value = "/_mng_/menu/list/")
public class XitMenuListMngController {
//@RequestMapping(value = "/_mng_/menu/list/")
@RequestMapping(value = "/framework/biz/mng/menu/")
public class MenuListMngController {
private static final Logger logger = LoggerFactory.getLogger(XitMenuListMngController.class);
private static final Logger logger = LoggerFactory.getLogger(MenuListMngController.class);
@Resource
private XitMenuListMngService xitMenuListMngService;
private MenuListMngService menuListMngService;
@Autowired
private XitBeanValidator beanValidator;
@Resource(name = "xitMessageSource")
@ -63,36 +63,11 @@ public class XitMenuListMngController {
/**
* <pre> : </pre>
* @return String
* @author:
* @date: 2020. 3. 25.
* @author:
* @date: 2022. 10. 18.
*/
@RequestMapping(value = "MenuListMng_list.do", method={RequestMethod.GET, RequestMethod.POST})
public String MenuListMng_list(@ModelAttribute("searchVO") XitMenuListMngSearchVO searchVO, ModelMap model) {
// 내역 조회
//searchVO.setPageUnit(Integer.parseInt(XitProperties.getProperty("Globals.Xit.Pagination.PageUnit")));
//searchVO.setPageSize(Integer.parseInt(XitProperties.getProperty("Globals.Xit.Pagination.PageSize")));
/** pageing */
//PaginationInfo paginationInfo = new PaginationInfo();
//paginationInfo.setCurrentPageNo(searchVO.getPageIndex());
//paginationInfo.setRecordCountPerPage(searchVO.getPageUnit());
//paginationInfo.setPageSize(searchVO.getPageSize());
//searchVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
//searchVO.setLastIndex(paginationInfo.getLastRecordIndex());
//searchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
//model.addAttribute("list_menumanage", xitMenuListMngService.findList(searchVO));
//model.addAttribute("searchVO", searchVO);
//int totCnt = xitMenuListMngService.findListTotCnt(searchVO);
//paginationInfo.setTotalRecordCount(totCnt);
//model.addAttribute("paginationInfo", paginationInfo);
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/menu/list/XitMenuListMng_list";
@GetMapping(value = "/mngMenuMgtForm")
public void mngMenuMgtForm() {
}
/**
@ -104,10 +79,10 @@ public class XitMenuListMngController {
* @author:
* @date: 2022. 10. 13.
*/
@RequestMapping(value = "MenuCreateMng_list.ajax", method={RequestMethod.GET, RequestMethod.POST})
public ModelAndView finds(@RequestParam Map<String,Object> paramMap) {
@RequestMapping(value = "findsMenu_list.ajax", method={RequestMethod.GET, RequestMethod.POST})
public ModelAndView findsMenu(@RequestParam Map<String,Object> paramMap) {
return ResultResponse.of(xitMenuListMngService.findList(paramMap, MybatisUtils.getPagingInfo(paramMap)));
return ResultResponse.of(menuListMngService.findList(paramMap, MybatisUtils.getPagingInfo(paramMap)));
}
@ -115,7 +90,7 @@ public class XitMenuListMngController {
/**
* <pre> : .</pre>
* @param page
* @param cmd
* @param tilesDef Type(none: tiles )
* @param model
* @return String
@ -125,7 +100,7 @@ public class XitMenuListMngController {
@RequestMapping(value = "MenuListMng_{cmd}.do", method={RequestMethod.GET, RequestMethod.POST})
public String MenuListMng_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("menuManageVO") XitMenuListMngVO vo
, @ModelAttribute("menuManageVO") MenuListMngVO vo
, ModelMap model) {
switch (cmd) {
case "input": //등록 페이지
@ -133,8 +108,8 @@ public class XitMenuListMngController {
break;
case "edit": //수정 페이지
case "view": //상세 페이지
XitMenuListMngVO xitMenuListMngVO = xitMenuListMngService.findView(vo);
model.addAttribute("menuManageVO", xitMenuListMngVO);
MenuListMngVO menuListMngVO = menuListMngService.findView(vo);
model.addAttribute("menuManageVO", menuListMngVO);
break;
default:
throw new RuntimeException("유효하지 않은 요청 입니다.");
@ -149,7 +124,7 @@ public class XitMenuListMngController {
/**
* <pre> : .</pre>
* @param page
* @param cmd
* @param model
* @return String
* @author:
@ -158,7 +133,7 @@ public class XitMenuListMngController {
@RequestMapping(value = "MenuListMng_{cmd}_popup.do", method={RequestMethod.GET, RequestMethod.POST})
public String ProgramMng_page_popup(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("menuManageVO") XitMenuListMngVO vo
, @ModelAttribute("menuManageVO") MenuListMngVO vo
, ModelMap model) {
switch (cmd) {
case "": //
@ -179,7 +154,7 @@ public class XitMenuListMngController {
*/
@RequestMapping(value = "MenuListMng_{cmd}_proc.do", method=RequestMethod.POST)
public void MenuListMng_cmd_proc(@PathVariable String cmd
,@ModelAttribute("menuManageVO") XitMenuListMngVO vo
,@ModelAttribute("menuManageVO") MenuListMngVO vo
,@RequestParam(value="checkedMenuNoForDel", required=false, defaultValue="") String checkedMenuNoForDel
,BindingResult bindingResult
,Model model
@ -190,7 +165,7 @@ public class XitMenuListMngController {
/**
*
*/
String sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_list.do";
String sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_list.do";
String message = null;
switch (cmd) {
case "insert": //등록
@ -201,19 +176,19 @@ public class XitMenuListMngController {
if (bindingResult.hasErrors()) {
// throw new RuntimeException(xitMessageSource.getMessage("fail.common.insert"));
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_input.do";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_input.do";
break;
}
//처리
try {
xitMenuListMngService.addProc(vo);
menuListMngService.addProc(vo);
message = xitMessageSource.getMessage("success.common.insert");
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_input.do";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_input.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.insert");
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_input.do";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_input.do";
}
break;
@ -224,12 +199,12 @@ public class XitMenuListMngController {
listAttchFile = XitAttachFileUtil.fileUpload(request, XitCmmnUtil.setOsPath("/home/tempUpload"), true, 5);
} catch (RuntimeException | IOException e1) {
message = xitMessageSource.getMessage("fail.common.msg");
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_inputs.do";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs.do";
}
if(XitCmmnUtil.isEmpty(listAttchFile)) {
message = xitMessageSource.getMessage("fail.common.msg");
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_inputs.do";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs.do";
}else {
FileInputStream fis = null;
try {
@ -239,8 +214,8 @@ public class XitMenuListMngController {
if (!"".equals(fileVO.getFileName())) {
// 2011.10.07 업로드 파일에 대한 확장자를 체크
if (fileVO.getFileName().toLowerCase().endsWith(".xls") || fileVO.getFileName().toLowerCase().endsWith(".xlsx")) {
if (xitMenuListMngService.menuBndeAllDelete()) {
message = xitMenuListMngService.addsProc(vo, fis);
if (menuListMngService.menuBndeAllDelete()) {
message = menuListMngService.addsProc(vo, fis);
} else {
message = xitMessageSource.getMessage("fail.common.msg");
vo.setTmp_Cmd("EgovMenuBndeRegist Error!!");
@ -259,8 +234,8 @@ public class XitMenuListMngController {
============================ */
//2020.09.10 주석처리
// model.addAttribute("message", message);
// return "forward:/_mng_/menu/list/MenuListMng_inputs.do";
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_inputs.do";
// return "forward:/framework/biz/mng/menu/MenuListMng_inputs.do";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs.do";
model.addAttribute("message", message);
if(AjaxUtils.isAjaxRequest(request)){ //ajax 요청시
//반환 데이터 설정
@ -286,7 +261,7 @@ public class XitMenuListMngController {
}
}
}
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_inputs.do";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs.do";
break;
case "update": //수정
@ -297,40 +272,40 @@ public class XitMenuListMngController {
if (bindingResult.hasErrors()) {
// throw new RuntimeException(xitMessageSource.getMessage("fail.common.update"));
message = xitMessageSource.getMessage("fail.common.update");
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_edit.do";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do";
break;
}
//처리
try {
xitMenuListMngService.modifyProc(vo);
menuListMngService.modifyProc(vo);
message = xitMessageSource.getMessage("success.common.update");
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_edit.do";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.update");
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_edit.do";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do";
}
break;
case "delete": //삭제
//처리
try {
xitMenuListMngService.removeProc(vo);
menuListMngService.removeProc(vo);
message = xitMessageSource.getMessage("success.common.delete");
} catch (RuntimeException e) {
message = e.getMessage();
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_edit.do";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do";
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.delete");
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_edit.do";
sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do";
}
break;
case "deletes": //다건 삭제
//처리
try {
xitMenuListMngService.removesProc(checkedMenuNoForDel);
menuListMngService.removesProc(checkedMenuNoForDel);
message = xitMessageSource.getMessage("success.common.delete");
} catch (RuntimeException e) {
message = e.getMessage();

@ -1,4 +1,4 @@
package kr.xit.framework.biz.mng.web;
package kr.xit.framework.biz.mng.menu.web;
import java.io.IOException;
import java.util.HashMap;
@ -24,9 +24,9 @@ import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
import kr.xit.framework.biz.mng.model.ProgramMngSearchVO;
import kr.xit.framework.biz.mng.model.ProgramMngVO;
import kr.xit.framework.biz.mng.service.ProgramMngService;
import kr.xit.framework.biz.mng.menu.model.ProgramMngSearchVO;
import kr.xit.framework.biz.mng.menu.model.ProgramMngVO;
import kr.xit.framework.biz.mng.menu.service.ProgramMngService;
import kr.xit.framework.core.constants.FrameworkConstants;
import kr.xit.framework.core.constants.FrameworkConstants.TILES_TYPE;
import kr.xit.framework.core.message.XitMessageSource;

@ -10,11 +10,24 @@
<property name="HIBERNATE_TYPE_LEVEL" value="WARN" />
<property name="REQUEST_PARAM_LEVEL" value="INFO" />
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>${LOG_PATTERN}</pattern>
</encoder>
</appender>
<springProfile name="local">
<property name="LOG_PATH" value="d:/data/xit/logs"/>
<!-- <property name="LOG_PATH" value="/Users/minuk/data/xit/logs"/>-->
</springProfile>
<springProfile name="dev">
<property name="LOG_PATH" value="d:/data/xit/logs"/>
</springProfile>
<springProfile name="prod">
<property name="LOG_PATH" value="d:/data/xit/logs"/>
</springProfile>
<!--
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
<include resource="org/springframework/boot/logging/logback/console-appender.xml"/>
-->
<springProperty name="ROOT_LOG_LEVEL" source="logging.level.root" scope="context" defaultValue="INFO" />
<springProperty name="HIBERNATE_TYPE_LEVEL" source="logging.level.org.hibernate.type" scope="context" defaultValue="WARN" />
<springProperty name="REQUEST_PARAM_LEVEL" source="logging.level.org.springframework.web.filter" scope="context" defaultValue="INFO" />
<!-- ============================================================================= -->
<!-- file logging Appender defined -->

@ -1,85 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="kr.xit.framework.biz.mng.menu.list.dao.XitMenuListMngMapper">
<!-- SQL 페이징 코드 -->
<sql id="pageBefore">
SELECT LIST.* FROM(
</sql>
<sql id="pageAfter">
) LIST LIMIT #{firstIndex}, #{recordCountPerPage}
</sql>
<sql id="findList_SELECT">
SELECT
A.MENU_NO AS "menuNo"
,A.MENU_ORDR AS "menuOrdr"
,A.MENU_NM AS "menuNm"
,A.UPPER_MENU_NO AS "upperMenuId"
,A.MENU_DC AS "menuDc"
,A.RELATE_IMAGE_COURS AS "relateImagePath"
,A.RELATE_IMAGE_NM AS "relateImageNm"
,A.PROGRM_FILE_NM AS "progrmFileNm"
</sql>
<sql id="findList_FROM">
FROM XIT_MENU_INFO A
</sql>
<sql id="findList_WHERE">
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(searchKeyword)">
AND A.MENU_NM LIKE CONCAT('%',#{searchKeyword},'%')
</if>
</sql>
<select id="findList" resultType="kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngVO">
/** XitMenuListMngMapper.findList */
/** 메뉴목록관리 목록 조회 */
<if test="searchGubun == 'list'">
<include refid="pageBefore" />
</if>
<include refid="findList_SELECT"/>
<include refid="findList_FROM"/>
WHERE 1=1
<include refid="findList_WHERE"/>
<if test="searchGubun == 'list'">
<include refid="pageAfter" />
</if>
</select>
<select id="findListTotCnt" resultType="int">
/** XitMenuListMngMapper.findListTotCnt */
/** 메뉴목록관리 목록 총건수 조회 */
SELECT COUNT(1) AS "CNT"
<include refid="findList_FROM"/>
WHERE 1=1
<include refid="findList_WHERE"/>
</select>
<select id="findView" resultType="kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngVO">
/** XitMenuListMngMapper.findView */
/** 메뉴목록관리 상세정보 조회 */
<include refid="findList_SELECT"/>
<include refid="findList_FROM"/>
WHERE A.MENU_NO = #{menuNo}
</select>
<delete id="deleteAllMenuList">
/** XitMenuListMngMapper.deleteAllMenuList */
/** 메뉴정보 전체데이터 삭제 */
<!-- DELETE FROM XIT_MENU_INFO WHERE MENU_NO &lt;&gt; UPPER_MENU_NO -->
<!-- DELETE FROM XIT_MENU_INFO WHERE MENU_NM != 'root' -->
DELETE FROM XIT_MENU_INFO
</delete>
</mapper>

@ -1,87 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="kr.xit.framework.biz.mng.menu.list.dao.XitMenuListMngMapper">
<!-- SQL 페이징 코드 -->
<sql id="pageBefore">
SELECT * FROM
(SELECT LIST.*, ROWNUM AS "RN" FROM(
</sql>
<sql id="pageAfter">
) LIST
) WHERE RN BETWEEN #{firstIndex} + 1 AND #{firstIndex} + #{recordCountPerPage}
</sql>
<sql id="findList_SELECT">
SELECT
A.MENU_NO AS "menuNo"
,A.MENU_ORDR AS "menuOrdr"
,A.MENU_NM AS "menuNm"
,A.UPPER_MENU_NO AS "upperMenuId"
,A.MENU_DC AS "menuDc"
,A.RELATE_IMAGE_COURS AS "relateImagePath"
,A.RELATE_IMAGE_NM AS "relateImageNm"
,A.PROGRM_FILE_NM AS "progrmFileNm"
</sql>
<sql id="findList_FROM">
FROM XIT_MENU_INFO A
</sql>
<sql id="findList_WHERE">
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(searchKeyword)">
AND A.MENU_NM LIKE '%' || #{searchKeyword} || '%'
</if>
</sql>
<select id="findList" resultType="kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngVO">
/** XitMenuListMngMapper.findList */
/** 메뉴목록관리 목록 조회 */
<if test="searchGubun == 'list'">
<include refid="pageBefore" />
</if>
<include refid="findList_SELECT"/>
<include refid="findList_FROM"/>
WHERE 1=1
<include refid="findList_WHERE"/>
<if test="searchGubun == 'list'">
<include refid="pageAfter" />
</if>
</select>
<select id="findListTotCnt" resultType="int">
/** XitMenuListMngMapper.findListTotCnt */
/** 메뉴목록관리 목록 총건수 조회 */
SELECT COUNT(1) AS "CNT"
<include refid="findList_FROM"/>
WHERE 1=1
<include refid="findList_WHERE"/>
</select>
<select id="findView" resultType="kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngVO">
/** XitMenuListMngMapper.findView */
/** 메뉴목록관리 상세정보 조회 */
<include refid="findList_SELECT"/>
<include refid="findList_FROM"/>
WHERE A.MENU_NO = #{menuNo}
</select>
<delete id="deleteAllMenuList">
/** XitMenuListMngMapper.deleteAllMenuList */
/** 메뉴정보 전체데이터 삭제 */
<!-- DELETE FROM XIT_MENU_INFO WHERE MENU_NO &lt;&gt; UPPER_MENU_NO -->
<!-- DELETE FROM XIT_MENU_INFO WHERE MENU_NM != 'root' -->
DELETE FROM XIT_MENU_INFO
</delete>
</mapper>

@ -1,15 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="kr.xit.framework.biz.mng.menu.create.dao.XitMenuCreateMngMapper">
<!-- SQL 페이징 코드 -->
<sql id="pageBefore">
SELECT LIST.* FROM(
</sql>
<sql id="pageAfter">
) LIST LIMIT #{firstIndex}, #{recordCountPerPage}
</sql>
<mapper namespace="kr.xit.framework.biz.mng.menu.mapper.MenuListMngMapper">
<sql id="findList_SELECT">
SELECT A.AUTHOR_CODE AS "authorCode"
@ -31,21 +23,23 @@
<select id="findList" resultType="kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO">
<select id="findList" resultType="kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO">
/** XitMenuCreateMngMapper.findList */
/** 메뉴생성관리 목록 조회 */
<if test="searchGubun == 'list'">
<include refid="pageBefore" />
</if>
<include refid="findList_SELECT"/>
<include refid="findList_FROM"/>
SELECT A.AUTHOR_CODE AS "authorCode"
,A.AUTHOR_NM AS "authorNm"
,A.AUTHOR_DC AS "authorDc"
,A.AUTHOR_CREAT_DE AS "authorCreatDe"
,(SELECT COUNT(B.AUTHOR_CODE)
FROM XIT_MENU_CREAT_DTLS B
WHERE B.AUTHOR_CODE = A.AUTHOR_CODE ) AS "chkYeoBu"
FROM XIT_AUTHOR_INFO A
WHERE 1=1
<include refid="findList_WHERE"/>
AND A.AUTHOR_CODE LIKE CONCAT('%',#{searchKeyword},'%')
<if test="searchGubun == 'list'">
<include refid="pageAfter" />
</if>
</select>
@ -54,24 +48,30 @@
/** XitMenuCreateMngMapper.findListTotCnt */
/** 메뉴생성관리 목록 총건수 조회 */
SELECT COUNT(1) AS "CNT"
<include refid="findList_FROM"/>
FROM XIT_AUTHOR_INFO A
WHERE 1=1
<include refid="findList_WHERE"/>
AND A.AUTHOR_CODE LIKE CONCAT('%',#{searchKeyword},'%')
</select>
<select id="findView" resultType="kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO">
<select id="findView" resultType="kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO">
/** XitMenuCreateMngMapper.findView */
/** 메뉴생성관리 상세정보 조회 */
<include refid="findList_SELECT"/>
<include refid="findList_FROM"/>
SELECT A.AUTHOR_CODE AS "authorCode"
,A.AUTHOR_NM AS "authorNm"
,A.AUTHOR_DC AS "authorDc"
,A.AUTHOR_CREAT_DE AS "authorCreatDe"
,(SELECT COUNT(B.AUTHOR_CODE)
FROM XIT_MENU_CREAT_DTLS B
WHERE B.AUTHOR_CODE = A.AUTHOR_CODE ) AS "chkYeoBu"
FROM XIT_AUTHOR_INFO A
WHERE A.AUTHOR_CODE = #{authorCode}
</select>
<select id="findListOfMenuInfo" resultType="kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO">
<select id="findListOfMenuInfo" resultType="kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO">
/** XitMenuCreateMngMapper.findListOfMenuInfo */
/** 메뉴목록 조회 */
SELECT
@ -88,7 +88,7 @@
ORDER BY A.MENU_ORDR
</select>
<select id="findUserScrtySetupByUsr" resultType="kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO">
<select id="findUserScrtySetupByUsr" resultType="kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO">
/** XitMenuCreateMngMapper.findUserScrtySetupByUsr */
/** 사용자별 사용자보안설정 데이터 조회 */
SELECT AUTHOR_CODE AS "authorCode"

@ -1,19 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="kr.xit.framework.biz.mng.menu.create.dao.XitMenuCreateMngMapper">
<!-- SQL 페이징 코드 -->
<sql id="pageBefore">
SELECT * FROM
(SELECT LIST.*, ROWNUM AS "RN" FROM(
<mapper namespace="kr.xit.framework.biz.mng.mapper.MenuCreateMngMapper">
<sql id="findList_SELECT">
</sql>
<sql id="findList_FROM">
</sql>
<sql id="findList_WHERE">
<sql id="pageAfter">
) LIST
) WHERE RN BETWEEN #{firstIndex} + 1 AND #{firstIndex} + #{recordCountPerPage}
</sql>
<sql id="findList_SELECT">
<select id="findList" resultType="kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO">
/** XitMenuCreateMngMapper.findList */
/** 메뉴생성관리 목록 조회 */
SELECT A.AUTHOR_CODE AS "authorCode"
,A.AUTHOR_NM AS "authorNm"
,A.AUTHOR_DC AS "authorDc"
@ -21,33 +23,12 @@
,(SELECT COUNT(B.AUTHOR_CODE)
FROM XIT_MENU_CREAT_DTLS B
WHERE B.AUTHOR_CODE = A.AUTHOR_CODE ) AS "chkYeoBu"
</sql>
<sql id="findList_FROM">
FROM XIT_AUTHOR_INFO A
</sql>
<sql id="findList_WHERE">
WHERE 1=1
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(searchKeyword)">
AND A.AUTHOR_CODE LIKE '%' || #{searchKeyword} || '%'
</if>
</sql>
<select id="findList" resultType="kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO">
/** XitMenuCreateMngMapper.findList */
/** 메뉴생성관리 목록 조회 */
<if test="searchGubun == 'list'">
<include refid="pageBefore" />
</if>
<include refid="findList_SELECT"/>
<include refid="findList_FROM"/>
WHERE 1=1
<include refid="findList_WHERE"/>
<if test="searchGubun == 'list'">
<include refid="pageAfter" />
</if>
</select>
@ -56,24 +37,32 @@
/** XitMenuCreateMngMapper.findListTotCnt */
/** 메뉴생성관리 목록 총건수 조회 */
SELECT COUNT(1) AS "CNT"
<include refid="findList_FROM"/>
FROM XIT_AUTHOR_INFO A
WHERE 1=1
<include refid="findList_WHERE"/>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(searchKeyword)">
AND A.AUTHOR_CODE LIKE '%' || #{searchKeyword} || '%'
</if>
</select>
<select id="findView" resultType="kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO">
<select id="findView" resultType="kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO">
/** XitMenuCreateMngMapper.findView */
/** 메뉴생성관리 상세정보 조회 */
<include refid="findList_SELECT"/>
<include refid="findList_FROM"/>
SELECT A.AUTHOR_CODE AS "authorCode"
,A.AUTHOR_NM AS "authorNm"
,A.AUTHOR_DC AS "authorDc"
,A.AUTHOR_CREAT_DE AS "authorCreatDe"
,(SELECT COUNT(B.AUTHOR_CODE)
FROM XIT_MENU_CREAT_DTLS B
WHERE B.AUTHOR_CODE = A.AUTHOR_CODE ) AS "chkYeoBu"
FROM XIT_AUTHOR_INFO A
WHERE A.AUTHOR_CODE = #{authorCode}
</select>
<select id="findListOfMenuInfo" resultType="kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO">
<select id="findListOfMenuInfo" resultType="kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO">
/** XitMenuCreateMngMapper.findListOfMenuInfo */
/** 메뉴목록 조회 */
SELECT
@ -90,7 +79,7 @@
ORDER BY A.MENU_ORDR
</select>
<select id="findUserScrtySetupByUsr" resultType="kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO">
<select id="findUserScrtySetupByUsr" resultType="kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO">
/** XitMenuCreateMngMapper.findUserScrtySetupByUsr */
/** 사용자별 사용자보안설정 데이터 조회 */
SELECT AUTHOR_CODE AS "authorCode"

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="kr.xit.framework.biz.mng.menu.mapper.MenuListMngMapper">
<select id="findMenuList" resultType="kr.xit.framework.biz.mng.menu.model.MenuListMngVO">
/** XitMenuListMngMapper.findList */
/** 메뉴목록관리 목록 조회 */
SELECT
A.MENU_NO AS "menuNo"
,A.MENU_ORDR AS "menuOrdr"
,A.MENU_NM AS "menuNm"
,A.UPPER_MENU_NO AS "upperMenuId"
,A.MENU_DC AS "menuDc"
,A.RELATE_IMAGE_COURS AS "relateImagePath"
,A.RELATE_IMAGE_NM AS "relateImageNm"
,A.PROGRM_FILE_NM AS "progrmFileNm"
FROM XIT_MENU_INFO A
WHERE 1=1
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(searchKeyword)">
AND A.MENU_NM LIKE CONCAT('%',#{searchKeyword},'%')
</if>
</select>
<select id="findMenuListTotCnt" resultType="int">
/** XitMenuListMngMapper.findListTotCnt */
/** 메뉴목록관리 목록 총건수 조회 */
SELECT COUNT(1) AS "CNT"
FROM XIT_MENU_INFO A
WHERE 1=1
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(searchKeyword)">
AND A.MENU_NM LIKE CONCAT('%',#{searchKeyword},'%')
</if>
</select>
<select id="findMenuView" resultType="kr.xit.framework.biz.mng.menu.model.MenuListMngVO">
/** XitMenuListMngMapper.findView */
/** 메뉴목록관리 상세정보 조회 */
SELECT
A.MENU_NO AS "menuNo"
,A.MENU_ORDR AS "menuOrdr"
,A.MENU_NM AS "menuNm"
,A.UPPER_MENU_NO AS "upperMenuId"
,A.MENU_DC AS "menuDc"
,A.RELATE_IMAGE_COURS AS "relateImagePath"
,A.RELATE_IMAGE_NM AS "relateImageNm"
,A.PROGRM_FILE_NM AS "progrmFileNm"
FROM XIT_MENU_INFO A
WHERE A.MENU_NO = #{menuNo}
</select>
<delete id="deleteAllMenuList">
/** XitMenuListMngMapper.deleteAllMenuList */
/** 메뉴정보 전체데이터 삭제 */
<!-- DELETE FROM XIT_MENU_INFO WHERE MENU_NO &lt;&gt; UPPER_MENU_NO -->
<!-- DELETE FROM XIT_MENU_INFO WHERE MENU_NM != 'root' -->
DELETE FROM XIT_MENU_INFO
</delete>
</mapper>

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="kr.xit.framework.biz.mng.menu.mapper.MenuListMngMapper">
<select id="findList" resultType="kr.xit.framework.biz.mng.menu.model.MenuListMngVO">
/** XitMenuListMngMapper.findList */
/** 메뉴목록관리 목록 조회 */
SELECT
A.MENU_NO AS "menuNo"
,A.MENU_ORDR AS "menuOrdr"
,A.MENU_NM AS "menuNm"
,A.UPPER_MENU_NO AS "upperMenuId"
,A.MENU_DC AS "menuDc"
,A.RELATE_IMAGE_COURS AS "relateImagePath"
,A.RELATE_IMAGE_NM AS "relateImageNm"
,A.PROGRM_FILE_NM AS "progrmFileNm"
FROM XIT_MENU_INFO A
WHERE 1=1
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(searchKeyword)">
AND A.MENU_NM LIKE '%' || #{searchKeyword} || '%'
</if>
</select>
<select id="findMenuListTotCnt" resultType="int">
/** XitMenuListMngMapper.findListTotCnt */
/** 메뉴목록관리 목록 총건수 조회 */
SELECT COUNT(1) AS "CNT"
FROM XIT_MENU_INFO A
WHERE 1=1
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(searchKeyword)">
AND A.MENU_NM LIKE '%' || #{searchKeyword} || '%'
</if>
</select>
<select id="findMenuView" resultType="kr.xit.framework.biz.mng.menu.model.MenuListMngVO">
/** XitMenuListMngMapper.findView */
/** 메뉴목록관리 상세정보 조회 */
SELECT
A.MENU_NO AS "menuNo"
,A.MENU_ORDR AS "menuOrdr"
,A.MENU_NM AS "menuNm"
,A.UPPER_MENU_NO AS "upperMenuId"
,A.MENU_DC AS "menuDc"
,A.RELATE_IMAGE_COURS AS "relateImagePath"
,A.RELATE_IMAGE_NM AS "relateImageNm"
,A.PROGRM_FILE_NM AS "progrmFileNm"
FROM XIT_MENU_INFO A
WHERE A.MENU_NO = #{menuNo}
</select>
<delete id="deleteAllMenuList">
/** XitMenuListMngMapper.deleteAllMenuList */
/** 메뉴정보 전체데이터 삭제 */
<!-- DELETE FROM XIT_MENU_INFO WHERE MENU_NO &lt;&gt; UPPER_MENU_NO -->
<!-- DELETE FROM XIT_MENU_INFO WHERE MENU_NM != 'root' -->
DELETE FROM XIT_MENU_INFO
</delete>
</mapper>

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="kr.xit.framework.biz.mng.mapper.ProgramMngMapper">
<mapper namespace="kr.xit.framework.biz.mng.menu.mapper.ProgramMngMapper">
<select id="selectPrograms" resultType="kr.xit.framework.biz.mng.model.ProgramMngVO">
<select id="selectPrograms" resultType="kr.xit.framework.biz.mng.menu.model.ProgramMngVO">
/* program-mysql-mapper|selectPrograms-프로그램 목록 조회|julim */
SELECT progrm_file_nm
, progrm_stre_cours
@ -20,7 +20,7 @@
</where>
</select>
<select id="selectProgram" parameterType="kr.xit.framework.biz.mng.model.ProgramMngVO" resultType="kr.xit.framework.biz.mng.model.ProgramMngVO">
<select id="selectProgram" parameterType="kr.xit.framework.biz.mng.menu.model.ProgramMngVO" resultType="kr.xit.framework.biz.mng.menu.model.ProgramMngVO">
/* program-mysql-mapper|selectProgram-프로그램 정보 조회|julim */
SELECT progrm_file_nm
, progrm_stre_cours
@ -35,7 +35,7 @@
<insert id="insertProgram" parameterType="kr.xit.framework.biz.mng.model.ProgramMngVO">
<insert id="insertProgram" parameterType="kr.xit.framework.biz.mng.menu.model.ProgramMngVO">
/* program-mysql-mapper|insertProgram-프로그램 등록|julim */
INSERT
INTO xit_progrm_list(
@ -53,7 +53,7 @@
)
</insert>
<update id="updateProgram" parameterType="kr.xit.framework.biz.mng.model.ProgramMngVO">
<update id="updateProgram" parameterType="kr.xit.framework.biz.mng.menu.model.ProgramMngVO">
/* program-mysql-mapper|updateProgram-프로그램 정보 변경|julim */
UPDATE xit_progrm_list
SET progrm_korean_nm = #{progrmKoreanNm}

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="kr.xit.framework.biz.mng.mapper.ProgramMngMapper">
<mapper namespace="kr.xit.framework.biz.mng.menu.mapper.ProgramMngMapper">
<!-- SQL 페이징 코드 -->
<sql id="pageBefore">
SELECT * FROM

@ -11,7 +11,7 @@
<script type="text/javascript" src="${ctx}/resources/3rd-party/jquery/js/jquery.mtz.monthpicker.js"></script>
<script type="text/javascript" src="${ctx}/resources/3rd-party/jquery/js/jquery.treeview.js" ></script>
<script type="text/javascript" src="${ctx}/resources/3rd-party/jquery/js/jquery.vticker-min.js"></script>
<script type="text/javascript" src="${ctx}/resources/js/framework/cmmn/XitCmmnUtil.js"></script>
<%--<script type="text/javascript" src="${ctx}/resources/js/framework/cmmn/XitCmmnUtil.js"></script>--%>
<link rel="stylesheet" type="text/css" href="${ctx}/resources/3rd-party/jquery/css/jquery-ui.css"/>
<link rel="stylesheet" type="text/css" href="${ctx}/resources/3rd-party/jquery/css/jquery.treeview.css"/>

@ -9,11 +9,11 @@
String imagePath_button = "/images/egovframework/sym/mpm/button/";
%>
<script language="javascript1.2" type="text/javaScript" src="<c:url value='/js/framework/egov/EgovMenuCreat.js'/>"></script>
<script language="javascript1.2" type="text/javaScript" src="<c:url value='/resources/js/framework/egov/EgovMenuCreat.js'/>"></script>
<script type="text/javaScript">
var imgpath = "<c:url value='/'/>resourcesimages/tree/";
</script>
<script language="javascript1.2" type="text/javaScript">
var imgpath = "<c:url value='/'/>resources/images/tree/";
<%--</script>--%>
<%--<script language="javascript1.2" type="text/javaScript">--%>
$(document).ready(function(){
/* ********************************************************
* 체크박스 Event Listener 설정
@ -75,7 +75,7 @@ function fInsertMenuCreat() {
}
document.menuCreatManageForm.checkedMenuNoForInsert.value=checkMenuNos;
document.menuCreatManageForm.checkedAuthorForInsert.value=document.menuCreatManageForm.authorCode.value;
document.menuCreatManageForm.action = "<c:url value='/_mng_/menu/create/MenuCreateMng_inserts_proc.do'/>";
document.menuCreatManageForm.action = "<c:url value='/framework/biz/mng/menu/MenuCreateMng_inserts_proc.do'/>";
document.menuCreatManageForm.submit();
}
@ -127,7 +127,7 @@ function fInsertMenuCreat() {
<c:forEach var="result1" items="${list_menulist}" varStatus="status" >
<input type="hidden" name="tmp_menuNmVal" value="${result1.menuNo}|${result1.upperMenuId}|${result1.menuNm}|${result1.progrmFileNm}|${result1.chkYeoBu}|">
</c:forEach>
<table summary="메뉴일괄등록" cellpadding="0" cellspacing="0">
<table summary="메뉴일괄등록" cellpadding="0" cellspacing="0" >
<caption>메뉴일괄등록</caption>
<tr>
<td width='20'>&nbsp;</td>
@ -157,6 +157,7 @@ function fInsertMenuCreat() {
if( chk_Object ){
for (var j = 0; j < document.menuCreatManageForm.tmp_menuNmVal.length; j++) {
Tree[j] = document.menuCreatManageForm.tmp_menuNmVal[j].value;
}
createTree(Tree);
}else{

@ -18,7 +18,7 @@
* 최초조회 함수
******************************************************** */
function fMenuCreatManageSelect(){
document.menuCreatManageForm.action = "<c:url value='/_mng_/menu/create/MenuCreateMng_list.do'/>";
document.menuCreatManageForm.action = "<c:url value='/framework/biz/mng/menu/MenuCreateMng_list.do'/>";
document.menuCreatManageForm.submit();
}
@ -27,7 +27,7 @@ function fMenuCreatManageSelect(){
******************************************************** */
function linkPage(pageNo){
document.menuCreatManageForm.pageIndex.value = pageNo;
document.menuCreatManageForm.action = "<c:url value='/_mng_/menu/create/MenuCreateMng_list.do'/>";
document.menuCreatManageForm.action = "<c:url value='/framework/biz/mng/menu/MenuCreateMng_list.do'/>";
document.menuCreatManageForm.submit();
}
@ -36,7 +36,7 @@ function linkPage(pageNo){
******************************************************** */
function selectMenuCreatManageList() {
document.menuCreatManageForm.pageIndex.value = 1;
document.menuCreatManageForm.action = "<c:url value='/_mng_/menu/create/MenuCreateMng_list.do'/>";
document.menuCreatManageForm.action = "<c:url value='/framework/biz/mng/menu/MenuCreateMng_list.do'/>";
document.menuCreatManageForm.submit();
}
@ -46,7 +46,7 @@ function selectMenuCreatManageList() {
function selectMenuCreat(vAuthorCode) {
document.menuCreatManageForm.authorCode.value = vAuthorCode;
document.menuCreatManageForm.tilesDef.value = 'popup'; //tiles 설정
document.menuCreatManageForm.action = "<c:url value='/_mng_/menu/create/MenuCreateMng_input.do'/>";
document.menuCreatManageForm.action = "<c:url value='/framework/biz/mng/menu/MenuCreateMng_input.do'/>";
window.open("#", "_menuCreat", "scrollbars = yes, top=100px, left=100px, height=700px, width=850px");
document.menuCreatManageForm.target = "_menuCreat";
document.menuCreatManageForm.submit();
@ -134,7 +134,7 @@ function selectMenuCreat(vAuthorCode) {
<c:if test="${result.chkYeoBu == 0}">N</c:if>
</td>
<td nowrap="nowrap" >
<a href="<c:url value='/_mng_/menu/create/MenuCreateMng_input.do'/>?authorCode='<c:out value="${result.authorCode}"/>'" onclick="selectMenuCreat('<c:out value="${result.authorCode}"/>'); return false;">메뉴생성</a>
<a href="<c:url value='/framework/biz/mng/menu/MenuCreateMng_input.do'/>?authorCode='<c:out value="${result.authorCode}"/>'" onclick="selectMenuCreat('<c:out value="${result.authorCode}"/>'); return false;">메뉴생성</a>
</td>
</tr>
</c:forEach>

@ -11,7 +11,7 @@
<script type="text/javascript" src="<c:url value="/_cmmn_/util/validator.do"/>"></script>
<validator:javascript formName="menuManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
<form:form commandName="menuManageVO" name="menuManageVO" action ="<c:url value='/_mng_/menu/list/MenuListMng_update_proc.do' />" method="post">
<form:form commandName="menuManageVO" name="menuManageVO" action ="<c:url value='/framework/biz/mng/menu/MenuListMng_update_proc.do' />" method="post">
<input type="hidden" name="tmp_SearchElementName" value=""/>
<input type="hidden" name="tmp_SearchElementVal" value=""/>
@ -146,7 +146,7 @@ $(document).ready(function(){
if(confirm("저장 하시겠습니까?")){
var param = $(varFrom).serialize();
$.ajax({
url : "<c:url value='/_mng_/menu/list/MenuListMng_insert_proc.do'/>",
url : "<c:url value='/framework/biz/mng/menu/MenuListMng_insert_proc.do'/>",
data : param,
type : "post",
dataType : "json",
@ -172,7 +172,7 @@ $(document).ready(function(){
if(confirm("수정 하시겠습니까?")){
var param = $(varFrom).serialize();
$.ajax({
url : "<c:url value='/_mng_/menu/list/MenuListMng_update_proc.do'/>",
url : "<c:url value='/framework/biz/mng/menu/MenuListMng_update_proc.do'/>",
data : param,
type : "post",
dataType : "json",
@ -195,7 +195,7 @@ $(document).ready(function(){
if(confirm("삭제 하시겠습니까?")){
var param = $(varFrom).serialize();
$.ajax({
url : "<c:url value='/_mng_/menu/list/MenuListMng_delete_proc.do'/>",
url : "<c:url value='/framework/biz/mng/menu/MenuListMng_delete_proc.do'/>",
data : param,
type : "post",
dataType : "json",

@ -11,7 +11,7 @@
<script type="text/javascript" src="<c:url value="/_cmmn_/util/validator.do"/>"></script>
<validator:javascript formName="menuManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
<form:form commandName="menuManageVO" name="menuManageVO" action ="<c:url value='/_mng_/menu/list/MenuListMng_insert_proc.do' />" method="post">
<form:form commandName="menuManageVO" name="menuManageVO" action ="<c:url value='/framework/biz/mng/menu/MenuListMng_insert_proc.do' />" method="post">
<input type="hidden" name="tmp_SearchElementName" value=""/>
<input type="hidden" name="tmp_SearchElementVal" value=""/>
@ -160,7 +160,7 @@ $(document).ready(function(){
if(confirm("저장 하시겠습니까?")){
var param = $(varFrom).serialize();
$.ajax({
url : "<c:url value='/_mng_/menu/list/MenuListMng_insert_proc.do'/>",
url : "<c:url value='/framework/biz/mng/menu/MenuListMng_insert_proc.do'/>",
data : param,
type : "post",
dataType : "json",
@ -186,7 +186,7 @@ $(document).ready(function(){
if(confirm("수정 하시겠습니까?")){
var param = $(varFrom).serialize();
$.ajax({
url : "<c:url value='/_mng_/menu/list/MenuListMng_update_proc.do'/>",
url : "<c:url value='/framework/biz/mng/menu/MenuListMng_update_proc.do'/>",
data : param,
type : "post",
dataType : "json",
@ -209,7 +209,7 @@ $(document).ready(function(){
if(confirm("삭제 하시겠습니까?")){
var param = $(varFrom).serialize();
$.ajax({
url : "<c:url value='/_mng_/menu/list/MenuListMng_delete_proc.do'/>",
url : "<c:url value='/framework/biz/mng/menu/MenuListMng_delete_proc.do'/>",
data : param,
type : "post",
dataType : "json",

@ -68,7 +68,7 @@ $(document).ready(function(){
click: function(){
if(confirm("메뉴일괄등록을 하시겠습니까?. \n 메뉴정보와 프로그램목록, 프로그램 변경내역 존재시 삭제 하실 수 없습니다.")){
if(XitMenuListMng_inputs.fnCheckFule()){
document.menuManageRegistForm.action ="<c:url value='/_mng_/menu/list/MenuListMng_inserts_proc.do'/>";
document.menuManageRegistForm.action ="<c:url value='/framework/biz/mng/menu/MenuListMng_inserts_proc.do'/>";
document.menuManageRegistForm.submit();
}
}

@ -23,7 +23,7 @@ function updateMenuManage(form) {
return;
}else{
if(confirm("<spring:message code='common.save.msg' />")){
form.action="<c:url value='/_mng_/menu/list/MenuListMng_update_proc.do'/>";
form.action="<c:url value='/framework/biz/mng/menu/MenuListMng_update_proc.do'/>";
form.submit();
}
}
@ -34,7 +34,7 @@ function updateMenuManage(form) {
******************************************************** */
function deleteMenuManage(form) {
if(confirm("<spring:message code='common.delete.msg' />")){
form.action="<c:url value='/_mng_/menu/list/MenuListMng_delete_proc.do'/>";
form.action="<c:url value='/framework/biz/mng/menu/MenuListMng_delete_proc.do'/>";
form.submit();
}
}
@ -49,7 +49,7 @@ function searchFileNm() {
* 목록조회 함수
******************************************************** */
function selectList(){
location.href = "<c:url value='/_mng_/menu/list/MenuListMng_list.do'/>";
location.href = "<c:url value='/framework/biz/mng/menu/MenuListMng_list.do'/>";
}
/* ********************************************************
@ -79,7 +79,7 @@ function press() {
<div id="search_field">
<div id="search_field_loc"><h2><strong>메뉴상세조회및 수정</strong></h2></div>
</div>
<form:form commandName="menuManageVO" name="menuManageVO" action ="<c:url value='/_mng_/menu/list/MenuListMng_update_proc.do' />" method="post">
<form:form commandName="menuManageVO" name="menuManageVO" action ="<c:url value='/framework/biz/mng/menu/MenuListMng_update_proc.do' />" method="post">
<div class="modify_user" >
<table summary="메뉴상세정보">
@ -149,7 +149,7 @@ function press() {
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<a href="<c:url value='/_mng_/menu/list/MenuListMng_list.do'/>" onclick="selectList(); return false;">목록</a>
<a href="<c:url value='/framework/biz/mng/menu/MenuListMng_list.do'/>" onclick="selectList(); return false;">목록</a>
</td>
<td width="10"></td>
<td>

@ -22,7 +22,7 @@ function insertMenuManage(form) {
return;
}else{
if(confirm("<spring:message code="common.save.msg" />")){
form.action="<c:url value='/_mng_/menu/list/MenuListMng_insert_proc.do'/>";
form.action="<c:url value='/framework/biz/mng/menu/MenuListMng_insert_proc.do'/>";
form.submit();
}
}
@ -40,7 +40,7 @@ function searchFileNm() {
* 목록조회 함수
******************************************************** */
function selectList(){
location.href = "<c:url value='/_mng_/menu/list/MenuListMng_list.do'/>";
location.href = "<c:url value='/framework/biz/mng/menu/MenuListMng_list.do'/>";
}
/* ********************************************************
* 파일명 엔터key 목록조회 함수
@ -67,7 +67,7 @@ function press() {
<div id="search_field">
<div id="search_field_loc"><h2><strong>메뉴 등록</strong></h2></div>
</div>
<form:form commandName="menuManageVO" name="menuManageVO" method="post" action="${pageContext.request.contextPath}/_mng_/menu/list/MenuListMng_insert_proc.do">
<form:form commandName="menuManageVO" name="menuManageVO" method="post" action="${pageContext.request.contextPath}/framework/biz/mng/menu/MenuListMng_insert_proc.do">
<div class="modify_user" >
<table summary="메뉴 등록화면">

@ -18,7 +18,7 @@
function insertMenuManage() {
if(confirm("메뉴일괄등록을 하시겠습니까?. \n 메뉴정보와 프로그램목록, 프로그램 변경내역 존재시 삭제 하실 수 없습니다.")){
if(checkFile()){
document.menuManageRegistForm.action ="<c:url value='/_mng_/menu/list/MenuListMng_inserts_proc.do'/>";
document.menuManageRegistForm.action ="<c:url value='/framework/biz/mng/menu/MenuListMng_inserts_proc.do'/>";
document.menuManageRegistForm.submit();
}
}
@ -28,7 +28,7 @@ function insertMenuManage() {
******************************************************** */
function deleteMenuList() {
if(confirm("메뉴일괄삭제를 하시겠습니까?. \n 메뉴정보와 프로그램목록, 프로그램 변경내역 데이타 모두 삭제 삭제처리 됩니다.")){
document.menuManageRegistForm.action ="<c:url value='/_mng_/menu/list/MenuListMng_deletes_proc.do'/>";
document.menuManageRegistForm.action ="<c:url value='/framework/biz/mng/menu/MenuListMng_deletes_proc.do'/>";
document.menuManageRegistForm.submit();
}
}
@ -97,7 +97,7 @@ function checkFile(){
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<a href="<c:url value='/_mng_/menu/list/MenuListMng_list.do'/>" onclick="selectList(); return false;">목록</a>
<a href="<c:url value='/framework/biz/mng/menu/MenuListMng_list.do'/>" onclick="selectList(); return false;">목록</a>
</td>
<td>
<a href="#LINK" onclick="javascript:insertMenuManage(); return false;">일괄등록</a>

@ -65,7 +65,7 @@ function fDeleteMenuList() {
}
document.menuManageForm.checkedMenuNoForDel.value=checkMenuNos;
document.menuManageForm.action = "<c:url value='/_mng_/menu/list/MenuListMng_deletes_proc.do'/>";
document.menuManageForm.action = "<c:url value='/framework/biz/mng/menu/MenuListMng_deletes_proc.do'/>";
document.menuManageForm.submit();
}
@ -75,7 +75,7 @@ function fDeleteMenuList() {
function linkPage(pageNo){
// document.menuManageForm.searchKeyword.value =
document.menuManageForm.pageIndex.value = pageNo;
document.menuManageForm.action = "<c:url value='/_mng_/menu/list/MenuListMng_list.do'/>";
document.menuManageForm.action = "<c:url value='/framework/biz/mng/menu/MenuListMng_list.do'/>";
document.menuManageForm.submit();
}
@ -84,7 +84,7 @@ function linkPage(pageNo){
******************************************************** */
function selectMenuManageList() {
document.menuManageForm.pageIndex.value = 1;
document.menuManageForm.action = "<c:url value='/_mng_/menu/list/MenuListMng_list.do'/>";
document.menuManageForm.action = "<c:url value='/framework/biz/mng/menu/MenuListMng_list.do'/>";
document.menuManageForm.submit();
}
@ -92,7 +92,7 @@ function selectMenuManageList() {
* 입력 화면 호출 함수
******************************************************** */
function insertMenuManage() {
document.menuManageForm.action = "<c:url value='/_mng_/menu/list/MenuListMng_input.do'/>";
document.menuManageForm.action = "<c:url value='/framework/biz/mng/menu/MenuListMng_input.do'/>";
document.menuManageForm.submit();
}
@ -100,7 +100,7 @@ function insertMenuManage() {
* 일괄처리 화면호출 함수
******************************************************** */
function bndeInsertMenuManage() {
document.menuManageForm.action = "<c:url value='/_mng_/menu/list/MenuListMng_inputs.do'/>";
document.menuManageForm.action = "<c:url value='/framework/biz/mng/menu/MenuListMng_inputs.do'/>";
document.menuManageForm.submit();
}
/* ********************************************************
@ -108,7 +108,7 @@ function bndeInsertMenuManage() {
******************************************************** */
function selectUpdtMenuManageDetail(menuNo) {
document.menuManageForm.menuNo.value = menuNo;
document.menuManageForm.action = "<c:url value='/_mng_/menu/list/MenuListMng_edit.do'/>";
document.menuManageForm.action = "<c:url value='/framework/biz/mng/menu/MenuListMng_edit.do'/>";
document.menuManageForm.submit();
}
@ -122,7 +122,7 @@ function selectUpdtMenuManageDetail(menuNo) {
<form name="menuManageForm" action ="<c:url value='/_mng_/menu/list/MenuListMng_list.do'/>" method="post">
<form name="menuManageForm" action ="<c:url value='/framework/biz/mng/menu/MenuListMng_list.do'/>" method="post">
<input type="submit" id="invisible" class="invisible"/>

@ -127,14 +127,13 @@ var XitMenuCreateMng_list = {
//initialRequest: true, // 화면 load시 조회 않함 - default
api: {
readData: {
url: '<c:url value="/_mng_/menu/create/MenuCreateMng_list.ajax"/>'
url: '<c:url value="/framework/biz/mng/menu/MenuCreateMng_list.ajax"/>'
, method: 'get'
, serializer: (params) => {
debugger
, serializer: (params) => fnAddPageInfo(document.frmSearch, params)
/*debugger
const p = fnAddPageInfo(document.frmSearch, params);
console.log(p);
return p;
}
return p;*/
}
}
}
@ -234,7 +233,7 @@ var XitMenuCreateMng_list = {
var rowData = props.grid.getRow(props.rowKey);
var params = "";
params += "authorCode=" + rowData.authorCode;
XitMenuCreateMng_list.pagePopup('input', "<c:url value='/_mng_/menu/create/MenuCreateMng_input.do'/>", params);
XitMenuCreateMng_list.pagePopup('input', "<c:url value='/framework/biz/mng/menu/MenuCreateMng_input.do'/>", params);
}
}

@ -131,7 +131,7 @@ var XitMenuListMng_list = {
//initialRequest: false, // 화면 load시 조회 않함 - default
api: {
readData: {
url: '<c:url value="/_mng_/menu/list/MenuListMng_list.ajax"/>'
url: '<c:url value="/framework/biz/mng/menu/findsMenu_list.ajax"/>'
, method: 'GET'
, serializer: (params) => fnAddPageInfo(document.menuManageForm, params)
}
@ -168,7 +168,7 @@ var XitMenuListMng_list = {
//등록 Event 설정
$("#btnRegist").click(function(){
XitMenuListMng_list.pagePopup('input', "<c:url value='/_mng_/menu/list/MenuListMng_input.do'/>");
XitMenuListMng_list.pagePopup('input', "<c:url value='/framework/biz/mng/menu/MenuListMng_input.do'/>");
});
//삭제 Event 설정
$("#btnDelete").click(function(){
@ -176,7 +176,7 @@ var XitMenuListMng_list = {
});
//일괄등록 Event 설정
$("#allRegist_btn").click(function(){
XitMenuListMng_list.pagePopup('inputs', "<c:url value='/_mng_/menu/list/MenuListMng_inputs.do'/>");
XitMenuListMng_list.pagePopup('inputs', "<c:url value='/framework/biz/mng/menu/MenuListMng_inputs.do'/>");
});
},
/* ========================
@ -211,7 +211,7 @@ var XitMenuListMng_list = {
//Call
document.menuManageForm.checkedMenuNoForDel.value=checkMenuNos;
document.menuManageForm.action = "<c:url value='/_mng_/menu/list/MenuListMng_deletes_proc.do'/>";
document.menuManageForm.action = "<c:url value='/framework/biz/mng/menu/MenuListMng_deletes_proc.do'/>";
document.menuManageForm.submit();
},
/* ========================
@ -271,7 +271,7 @@ var XitMenuListMng_list = {
var rowData = props.grid.getRow(props.rowKey);
var params = "";
params += "menuNo=" + rowData.menuNo;
XitMenuListMng_list.pagePopup('detail', "<c:url value='/_mng_/menu/list/MenuListMng_edit.do'/>", params);
XitMenuListMng_list.pagePopup('detail', "<c:url value='/framework/biz/mng/menu/MenuListMng_edit.do'/>", params);
}
,fncManageChecked : function(){
var checkArr = instance.getCheckedRows();

@ -135,7 +135,7 @@
url: '<c:url value="/framework/biz/mng/menu/programList.do"/>'
, method: 'get'
, serializer: (params) => {
return fnAddPageInfo(document.frmSearch, params);;
return fnAddPageInfo(document.frmSearch, params);
}
}
}

@ -4,7 +4,7 @@
var treeNodes = new Array();;
var openTreeNodes = new Array();
var treeIcons = new Array(6);
var imgpath = "/resources/images/egovframework/com/cmm/utl/";
var imgpath = "/resources/images/tree/";
var treeYeobu = false;
var chkValue = "";
var vHtmlCode = "";
@ -25,6 +25,7 @@ function preloadIcons() {
treeIcons[4].src = imgpath+"menu_folder.gif";
treeIcons[5] = new Image();
treeIcons[5].src = imgpath+"menu_folderopen.gif";
}
/*
* 트리생성함수

@ -4,7 +4,7 @@
var treeNodes = new Array();
var openTreeNodes = new Array();
var treeIcons = new Array(6);
//var imgpath = "/resources/images/tree/";
var imgpath = "/resources/images/tree/";
/*
* 노드 , 트리 구성 이미지 정보

Loading…
Cancel
Save