Merge branch 'dev' into feat-program

main
Jonguk. Lim 2 years ago
commit a7c308a918

@ -1,4 +1,61 @@
#### Slf4j 사용시 log cannot be resolved 에러 처리 ### commit message template
```text
--- COMMIT MESSAGE ---
타입: 제목 - 50 자 이내로 요약
본문 - 한 줄에 최대 72 글자까지만 입력 / 여러줄 입력시 '-' 로 구분
꼬릿말은 아래에 작성: ex) #123 / closed: #123
closed, fixed, resolved 예약어와 이슈번호를 함께 사용시 해당 이슈 자동 종료
--- COMMIT MESSAGE END ---
<타입> 리스트
feat : 기능(새로운 기능)
fix : 버그 수정
chore : 기타 변경 사항(빌드 혹은 패키지 매지저 등)
style : 비즈니스 로직에 영향을 주지 않는 변경 사항(코드 형식 등)
refactor : 리팩토링
test : 테스트(테스트 코드: 비즈니스 로직 변경 없음)
docs : 문서
build : 빌드 관련 파일 수정
ci : CI 관련 설정
-----------------------
제목 첫 글자를 대문자로
제목은 명령문으로
제목 끝에 마침표(.) 금지
제목과 본문을 한 줄 띄워 분리하기
본문은 "어떻게" 보다 "무엇을", "왜"를 설명한다.
본문에 여러줄의 메시지를 작성할 땐 "-"로 구분
-----------------------
작성 예
--------------------------------------
feat: 관심지역 알림 ON/OFF 기능 추가
- 시군구의 알림을 각각 ON/OFF 할 수 있도록 기능을 추가함
- opnion0055: 구분 코드
이슈트래커 #123 - fix 타입 메세지등은 closed #123
---------------------------------------
```
### VM options 추가
```text
[이클립스 설정]
설정을 안하면 Could not resolve placeholder 'spring.profiles.active' in value
"classpath:logback-${spring.profiles.active}.xml" 오류 발생
프로젝트 우클릭 > Run As > Run Configurations > Arguments 탭 > VM arguments
-Dspring.profiles.active=local -Dfile.encoding=UTF8 추가
[인텔리제이 설정]
톰캣 VM options
-Dspring.profiles.active=local -Dfile.encoding=UTF8 추가
```
### Slf4j 사용시 log cannot be resolved 에러 처리
```text ```text
[이클립스 설정] [이클립스 설정]
@ -17,7 +74,6 @@
7. log 관련 에러가 사라진다. 7. log 관련 에러가 사라진다.
* 에러가 사라지지 않을 경우 이클립스를 재실행한다. * 에러가 사라지지 않을 경우 이클립스를 재실행한다.
``` ```
#### github #### github
```text ```text
https://github.com/JongukLim/fims.git https://github.com/JongukLim/fims.git

@ -7,78 +7,78 @@ import lombok.Data;
public class FimsTotalPopupVO extends BaseVO { public class FimsTotalPopupVO extends BaseVO {
//tb_reglt //tb_reglt
private String reglt_id; //단속 id private String regltId; //단속 id
private String signgu_code; //시군구 코드 private String signguCode; //시군구 코드
private String ffnlg_code; //과태료 코드 private String ffnlgCode; //과태료 코드
private String reglt_regist_se_code; //단속 등록 구분 코드 private String regltRegistSeCode; //단속 등록 구분 코드
private String violt_se_code; //위반 구분 코드 private String violtSeCode; //위반 구분 코드
private String violt_de; //위반 일자 private String violtDe; //위반 일자
private String violt_begin_time; //위반 시작 시간 private String violtBeginTime; //위반 시작 시간
private String violt_end_time; //위반 종료 시간위 private String violtEndTime; //위반 종료 시간위
private String violt_lrg_code; //위반 법규 코드 private String violtLrgCode; //위반 법규 코드
private String violt_cn_code; //위반 내용 코드 private String violtCnCode; //위반 내용 코드
private String violt_place; //위반 장소 private String violtPlace; //위반 장소
private String violt_co; //위반 횟수 private String violtCo; //위반 횟수
private String violt_legaldong_code; //위반 법정동 코드 private String violtLegaldongCode; //위반 법정동 코드
private String violt_crdnt_x; //위반 좌표 x private String violtCrdntX; //위반 좌표 x
private String violt_crdnt_y; //위반 좌표 y private String violtCrdntY; //위반 좌표 y
private String sttemnt_sj; //신고 제목 private String sttemntSj; //신고 제목
private String sttemnt_cn; //신고 내용 private String sttemntCn; //신고 내용
private String aplcnt_cttpc; //신고자 연락처 private String aplcntCttpc; //신고자 연락처
private String towng_at_code; //견인 여부 코드 private String towngAtCode; //견인 여부 코드
private String stickr_no; //스티커 번호 private String stickrNo; //스티커 번호
private String image_nmrs; //이미지 매수 private String imageNmrs; //이미지 매수
private String image_se_code; //이미지 구분 코드 private String imageSeCode; //이미지 구분 코드
private String mvp_filenm; //동영상 파일명 private String mvpFilenm; //동영상 파일명
private String vhcle_no; //차량 번호 private String vhcleNo; //차량 번호
private String vhcle_nm; //차량 명 private String vhcleNm; //차량 명
private String vhcle_se_code; //차량 구분 코드 private String vhcleSeCode; //차량 구분 코드
private String vhcty_code; //차종 코드 private String vhctyCode; //차종 코드
private String vin; //차대번호 private String vin; //차대번호
private String redution_amount; //감경 금액 private String redutionAmount; //감경 금액
private String redution_aft_amount; //감경 후 금액 private String redutionAftAmount; //감경 후 금액
private String rciv_amount; //수납 금액 private String rcivAmount; //수납 금액
private String rdcamt; //감액 private String rdcamt; //감액
private String adamt; //가산금 private String adamt; //가산금
private String dicary_notie_sndng_de; //사전 통지서 발송 일자 private String dicaryNotieSndngDe; //사전 통지서 발송 일자
private String dicary_notie_dedt_de; //사전 통지서 납기 일자 private String dicaryNotieDedtDe; //사전 통지서 납기 일자
private String specl_reglt_zone_code; //특별 단속 구역 코드 private String speclRegltZoneCode; //특별 단속 구역 코드
private String parkng_posbl_code; //주차 가능 코드 private String parkngPosblCode; //주차 가능 코드
private String opinion_statmnt_at; //의견 진술 여부 private String opinionStatmntAt; //의견 진술 여부
private String spcmnt_matter; //특기 사항 private String spcmntMatter; //특기 사항
private String reglt_process_sttus_code; //단속 처리 상태 코드 private String regltProcessSttusCode; //단속 처리 상태 코드
private String rergist_bfe_reglt_id; //재등록 전 단속 id private String rergistBfeRegltId; //재등록 전 단속 id
private String regist_dt; //등록 일시 private String registDt; //등록 일시
private String register; //등록자 private String register; //등록자
private String last_process_dt; //최종 처리 일시 private String lastProcessDt; //최종 처리 일시
private String last_opetr; //최종 처리자 private String lastOpetr; //최종 처리자
//tb_owner //tb_owner
private String owner_id; //소유주 id private String ownerId; //소유주 id
private String owner_nm; //소유주 명 private String ownerNm; //소유주 명
private String owner_se_code; //소유주 구분 코드 private String ownerSeCode; //소유주 구분 코드
private String ihidnum_premanli; //주민등록번호 앞자리 private String ihidnumPremanli; //주민등록번호 앞자리
private String ihidnum; //주민등록번호 private String ihidnum; //주민등록번호
private String adres; //주소 private String adres; //주소
private String detail_adres; //상세 주소 private String detailAdres; //상세 주소
private String zip; //우편번호 private String zip; //우편번호
private String rn_code; //도로명 코드 private String rnCode; //도로명 코드
private String undgrnd_at; //지하 여부 private String undgrndAt; //지하 여부
private String buld_mnnm; //건물 본번 private String buldMnnm; //건물 본번
private String buld_slno; //건물 부번 private String buldSlno; //건물 부번
private String buld_manage_no; //건물 관리 번호 private String buldManageNo; //건물 관리 번호
private String owner_regist_se_code; //소유주 등록 구분 코드 private String ownerRegistSeCode; //소유주 등록 구분 코드
private String updt_dt; //수정 일시 private String updtDt; //수정 일시
private String updusr; //수정자 private String updusr; //수정자
//tb_erpp //tb_erpp
private String erpp_id; private String erppId;
private String erpp_process_de; private String erppProcessDe;
private String erpp_resn_code; private String erppResnCode;
private String erpp_resn_detail; private String erppResnDetail;
private String answer_at; private String answerAt;
private String answer_cn; private String answerCn;
} }

@ -49,8 +49,7 @@ public class FimsTotalPopupController {
@GetMapping(value = "/fimsTotalPopup") @GetMapping(value = "/fimsTotalPopup")
public String popup(@RequestParam String selectedId, FimsTotalPopupVO vo, Model model){ public String popup(@RequestParam String selectedId, FimsTotalPopupVO vo, Model model){
vo.setReglt_id(selectedId); vo.setRegltId(selectedId);
@ -68,7 +67,7 @@ public class FimsTotalPopupController {
public String update(@RequestBody FimsTotalPopupVO vo, FimsTotalPopupVO fimsTotalPopupVO, BindingResult bindingResult){ public String update(@RequestBody FimsTotalPopupVO vo, FimsTotalPopupVO fimsTotalPopupVO, BindingResult bindingResult){
xitBeanValidator.validate(vo, bindingResult); xitBeanValidator.validate(vo, bindingResult);
vo.getReglt_id(); vo.getRegltId();
fimsTotalPopupService.modifyProc(vo); fimsTotalPopupService.modifyProc(vo);

@ -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.List;
import java.util.Map; import java.util.Map;
@ -6,7 +6,7 @@ import java.util.Map;
import org.apache.ibatis.session.RowBounds; import org.apache.ibatis.session.RowBounds;
import egovframework.rte.psl.dataaccess.mapper.Mapper; 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; import kr.xit.framework.core.model.XitBaseSearchVO;
@ -12,7 +12,7 @@ import kr.xit.framework.core.model.XitBaseSearchVO;
* @since 2002. 2. 2. * @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved. * @version 1.0 Copyright(c) XIT All rights reserved.
*/ */
public class XitMenuCreateMngSearchVO extends XitBaseSearchVO{ public class MenuCreateMngSearchVO extends XitBaseSearchVO{
/** /**
* serialVersionUID * 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; import kr.xit.framework.core.model.BaseVO;
@ -12,7 +12,7 @@ import kr.xit.framework.core.model.BaseVO;
* @since 2002. 2. 2. * @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved. * @version 1.0 Copyright(c) XIT All rights reserved.
*/ */
public class XitMenuCreateMngVO extends BaseVO { public class MenuCreateMngVO extends BaseVO {
/** /**
* serialVersionUID * 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; import kr.xit.framework.core.model.XitBaseSearchVO;
@ -12,7 +12,7 @@ import kr.xit.framework.core.model.XitBaseSearchVO;
* @since 2002. 2. 2. * @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved. * @version 1.0 Copyright(c) XIT All rights reserved.
*/ */
public class XitMenuListMngSearchVO extends XitBaseSearchVO{ public class MenuListMngSearchVO extends XitBaseSearchVO{
/** /**
* serialVersionUID * 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; import kr.xit.framework.core.model.BaseVO;
@ -12,7 +12,7 @@ import kr.xit.framework.core.model.BaseVO;
* @since 2002. 2. 2. * @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved. * @version 1.0 Copyright(c) XIT All rights reserved.
*/ */
public class XitMenuListMngVO extends BaseVO { public class MenuListMngVO extends BaseVO {
/** /**
* serialVersionUID * 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; 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 kr.xit.framework.core.model.BaseVO;
import lombok.AllArgsConstructor; 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.List;
import java.util.Map; import java.util.Map;
import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngSearchVO; import kr.xit.framework.biz.mng.menu.model.MenuCreateMngSearchVO;
import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO; import kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO;
import org.apache.ibatis.session.RowBounds; import org.apache.ibatis.session.RowBounds;
/** /**
@ -17,7 +17,7 @@ import org.apache.ibatis.session.RowBounds;
* @since 2002. 2. 2. * @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved. * @version 1.0 Copyright(c) XIT All rights reserved.
*/ */
public interface XitMenuCreateMngService { public interface MenuCreateMngService {
/** /**
* <pre> : </pre> * <pre> : </pre>
@ -26,7 +26,7 @@ public interface XitMenuCreateMngService {
* @author: * @author:
* @date: 2020. 3. 26. * @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> * <pre> : </pre>
@ -35,7 +35,7 @@ public interface XitMenuCreateMngService {
* @author: * @author:
* @date: 2020. 3. 26. * @date: 2020. 3. 26.
*/ */
public int findListTotCnt(XitMenuCreateMngSearchVO searchVO); public int findListTotCnt(MenuCreateMngSearchVO searchVO);
/** /**
* <pre> : </pre> * <pre> : </pre>
@ -44,7 +44,7 @@ public interface XitMenuCreateMngService {
* @author: * @author:
* @date: 2020. 3. 26. * @date: 2020. 3. 26.
*/ */
public XitMenuCreateMngVO findView(XitMenuCreateMngVO vo); public MenuCreateMngVO findView(MenuCreateMngVO vo);
/** /**
* <pre> : </pre> * <pre> : </pre>
@ -64,7 +64,7 @@ public interface XitMenuCreateMngService {
* @author: * @author:
* @date: 2020. 3. 31. * @date: 2020. 3. 31.
*/ */
public List<XitMenuCreateMngVO> findListOfMenuInfo(XitMenuCreateMngVO vo); public List<MenuCreateMngVO> findListOfMenuInfo(MenuCreateMngVO vo);
/** /**
@ -74,6 +74,6 @@ public interface XitMenuCreateMngService {
* @author: * @author:
* @date: 2020. 3. 31. * @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.io.FileInputStream;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngVO; import kr.xit.framework.biz.mng.menu.model.MenuListMngVO;
import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngSearchVO; import kr.xit.framework.biz.mng.menu.model.MenuListMngSearchVO;
import org.apache.ibatis.session.RowBounds; import org.apache.ibatis.session.RowBounds;
/** /**
@ -18,16 +18,16 @@ import org.apache.ibatis.session.RowBounds;
* @since 2002. 2. 2. * @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved. * @version 1.0 Copyright(c) XIT All rights reserved.
*/ */
public interface XitMenuListMngService { public interface MenuListMngService {
/** /**
* <pre> : </pre> * <pre> : </pre>
* @param map * @param paramMap
* @return List<XitMenuListMngVO> * @return List<MenuListMngVO>
* @author: * @author:
* @date: 2020. 3. 26. * @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> * <pre> : </pre>
@ -36,16 +36,16 @@ public interface XitMenuListMngService {
* @author: * @author:
* @date: 2020. 3. 26. * @date: 2020. 3. 26.
*/ */
public int findListTotCnt(XitMenuListMngSearchVO searchVO); public int findListTotCnt(MenuListMngSearchVO searchVO);
/** /**
* <pre> : </pre> * <pre> : </pre>
* @param vo * @param vo
* @return XitMenuListMngVO * @return MenuListMngVO
* @author: * @author:
* @date: 2020. 3. 26. * @date: 2020. 3. 26.
*/ */
public XitMenuListMngVO findView(XitMenuListMngVO vo); public MenuListMngVO findView(MenuListMngVO vo);
/** /**
* <pre> : </pre> * <pre> : </pre>
@ -53,7 +53,7 @@ public interface XitMenuListMngService {
* @author: * @author:
* @date: 2020. 3. 26. * @date: 2020. 3. 26.
*/ */
public void addProc(XitMenuListMngVO vo); public void addProc(MenuListMngVO vo);
/** /**
* <pre> : </pre> * <pre> : </pre>
@ -61,7 +61,7 @@ public interface XitMenuListMngService {
* @author: * @author:
* @date: 2020. 3. 26. * @date: 2020. 3. 26.
*/ */
public void modifyProc(XitMenuListMngVO vo); public void modifyProc(MenuListMngVO vo);
/** /**
* <pre> : </pre> * <pre> : </pre>
@ -69,7 +69,7 @@ public interface XitMenuListMngService {
* @author: * @author:
* @date: 2020. 3. 26. * @date: 2020. 3. 26.
*/ */
public void removeProc(XitMenuListMngVO vo); public void removeProc(MenuListMngVO vo);
/** /**
* <pre> : </pre> * <pre> : </pre>
@ -98,7 +98,7 @@ public interface XitMenuListMngService {
* @author: * @author:
* @date: 2020. 3. 27. * @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.List;
import java.util.Map; import java.util.Map;
import org.apache.ibatis.session.RowBounds; import org.apache.ibatis.session.RowBounds;
import kr.xit.framework.biz.mng.model.ProgramMngSearchVO; import kr.xit.framework.biz.mng.menu.model.ProgramMngVO;
import kr.xit.framework.biz.mng.model.ProgramMngVO;
/** /**
* *

@ -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.sql.SQLException;
import java.util.ArrayList; import java.util.ArrayList;
@ -7,37 +7,37 @@ import java.util.Map;
import javax.annotation.Resource; 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.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import kr.xit.framework.biz.cmm.model.XitMenuCreatDtlsVO; import kr.xit.framework.biz.cmm.model.XitMenuCreatDtlsVO;
import kr.xit.framework.biz.cmm.service.XitFrameCrudService; 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.model.MenuCreateMngSearchVO;
import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngSearchVO; import kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO;
import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO;
import kr.xit.framework.biz.mng.menu.create.service.XitMenuCreateMngService;
import kr.xit.framework.core.message.XitMessageSource; import kr.xit.framework.core.message.XitMessageSource;
@Service @Service
public class XitMenuCreateMngServiceImpl implements XitMenuCreateMngService { public class MenuCreateMngServiceImpl implements MenuCreateMngService {
@Resource @Resource
private XitMenuCreateMngMapper xitMenuCreateMngMapper; private MenuListMngMapper menuListMngMapper;
@Resource @Resource
private XitFrameCrudService xitFrameCrudService; private XitFrameCrudService xitFrameCrudService;
@Resource(name = "xitMessageSource") @Resource(name = "xitMessageSource")
XitMessageSource xitMessageSource; XitMessageSource xitMessageSource;
@Override @Override
public List<XitMenuCreateMngVO> findList(Map<String, Object> paramMap, RowBounds rowBounds) { public List<MenuCreateMngVO> findList(Map<String, Object> paramMap, RowBounds rowBounds) {
return xitMenuCreateMngMapper.findList(paramMap, rowBounds); return menuListMngMapper.findList(paramMap, rowBounds);
} }
@Override @Override
public int findListTotCnt(XitMenuCreateMngSearchVO searchVO) { public int findListTotCnt(MenuCreateMngSearchVO searchVO) {
int result = 0; int result = 0;
try { try {
result = xitMenuCreateMngMapper.findListTotCnt(searchVO); result = menuListMngMapper.findListTotCnt(searchVO);
} catch (SQLException e) { } catch (SQLException e) {
throw new RuntimeException("메뉴생성관리 목록 총건수 조회 FAIL::", e); throw new RuntimeException("메뉴생성관리 목록 총건수 조회 FAIL::", e);
} }
@ -45,10 +45,10 @@ public class XitMenuCreateMngServiceImpl implements XitMenuCreateMngService {
} }
@Override @Override
public XitMenuCreateMngVO findView(XitMenuCreateMngVO vo) { public MenuCreateMngVO findView(MenuCreateMngVO vo) {
XitMenuCreateMngVO result = null; MenuCreateMngVO result = null;
try { try {
result = xitMenuCreateMngMapper.findView(vo); result = menuListMngMapper.findView(vo);
} catch (SQLException e) { } catch (SQLException e) {
throw new RuntimeException("메뉴생성관리 상세정보 조회 FAIL::", e); throw new RuntimeException("메뉴생성관리 상세정보 조회 FAIL::", e);
} }
@ -95,10 +95,10 @@ public class XitMenuCreateMngServiceImpl implements XitMenuCreateMngService {
} }
@Override @Override
public List<XitMenuCreateMngVO> findListOfMenuInfo(XitMenuCreateMngVO vo) { public List<MenuCreateMngVO> findListOfMenuInfo(MenuCreateMngVO vo) {
List<XitMenuCreateMngVO> result = null; List<MenuCreateMngVO> result = null;
try { try {
result = xitMenuCreateMngMapper.findListOfMenuInfo(vo); result = menuListMngMapper.findListOfMenuInfo(vo);
} catch (SQLException e) { } catch (SQLException e) {
throw new RuntimeException("메뉴 목록 조회 FAIL::", e); throw new RuntimeException("메뉴 목록 조회 FAIL::", e);
} }
@ -106,10 +106,10 @@ public class XitMenuCreateMngServiceImpl implements XitMenuCreateMngService {
} }
@Override @Override
public XitMenuCreateMngVO findUserScrtySetupByUsr(XitMenuCreateMngSearchVO searchVO) { public MenuCreateMngVO findUserScrtySetupByUsr(MenuCreateMngSearchVO searchVO) {
XitMenuCreateMngVO result = null; MenuCreateMngVO result = null;
try { try {
result = xitMenuCreateMngMapper.findUserScrtySetupByUsr(searchVO); result = menuListMngMapper.findUserScrtySetupByUsr(searchVO);
} catch (SQLException e) { } catch (SQLException e) {
throw new RuntimeException("사용자별 사용자보안설정 데이터 조회 FAIL::", 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.io.FileInputStream;
import java.sql.SQLException; 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.XitMenuInfoVO;
import kr.xit.framework.biz.cmm.model.ProgrmListVO; import kr.xit.framework.biz.cmm.model.ProgrmListVO;
import kr.xit.framework.biz.cmm.service.XitFrameCrudService; import kr.xit.framework.biz.cmm.service.XitFrameCrudService;
import kr.xit.framework.biz.mng.mapper.ProgramMngMapper; import kr.xit.framework.biz.mng.menu.mapper.ProgramMngMapper;
import kr.xit.framework.biz.mng.menu.create.dao.XitMenuCreateMngMapper; import kr.xit.framework.biz.mng.menu.model.MenuListMngVO;
import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngVO; import kr.xit.framework.biz.mng.menu.service.MenuListMngService;
import kr.xit.framework.biz.mng.menu.list.service.XitMenuListMngService; import kr.xit.framework.biz.mng.menu.mapper.MenuListMngMapper;
import kr.xit.framework.biz.mng.menu.list.dao.XitMenuListMngMapper; import kr.xit.framework.biz.mng.menu.model.MenuListMngSearchVO;
import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngSearchVO; import kr.xit.framework.biz.mng.menu.model.ProgramMngVO;
import kr.xit.framework.biz.mng.model.ProgramMngVO; import kr.xit.framework.biz.mng.menu.service.ProgramMngService;
import kr.xit.framework.biz.mng.service.ProgramMngService;
import kr.xit.framework.core.message.XitMessageSource; import kr.xit.framework.core.message.XitMessageSource;
import kr.xit.framework.core.utils.XitCmmnUtil; import kr.xit.framework.core.utils.XitCmmnUtil;
@Service @Service
public class XitMenuListMngServiceImpl implements XitMenuListMngService { public class MenuListMngServiceImpl implements MenuListMngService {
private static final Logger logger = LoggerFactory.getLogger(XitMenuListMngServiceImpl.class); private static final Logger logger = LoggerFactory.getLogger(MenuListMngServiceImpl.class);
@Resource @Resource
private XitMenuListMngMapper xitMenuListMngMapper; private MenuListMngMapper menuListMngMapper;
@Resource @Resource
private ProgramMngMapper programMngMapper; private ProgramMngMapper programMngMapper;
@Resource @Resource
private ProgramMngService programMngService; private ProgramMngService programMngService;
@Resource @Resource
private XitMenuCreateMngMapper xitMenuCreateMngMapper;
@Resource
private XitFrameCrudService xitFrameCrudService; private XitFrameCrudService xitFrameCrudService;
@Resource @Resource
private XitMessageSource xitMessageSource; private XitMessageSource xitMessageSource;
@ -52,16 +49,16 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
private EgovExcelService excelZipService; private EgovExcelService excelZipService;
@Override @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 @Override
public int findListTotCnt(XitMenuListMngSearchVO searchVO) { public int findListTotCnt(MenuListMngSearchVO searchVO) {
int result = 0; int result = 0;
try { try {
result = xitMenuListMngMapper.findListTotCnt(searchVO); result = menuListMngMapper.findMenuListTotCnt(searchVO);
} catch (SQLException e) { } catch (SQLException e) {
throw new RuntimeException("메뉴목록관리 목록 총건수 조회 FAIL::", e); throw new RuntimeException("메뉴목록관리 목록 총건수 조회 FAIL::", e);
} }
@ -69,10 +66,10 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
} }
@Override @Override
public XitMenuListMngVO findView(XitMenuListMngVO vo) { public MenuListMngVO findView(MenuListMngVO vo) {
XitMenuListMngVO result = null; MenuListMngVO result = null;
try { try {
result = xitMenuListMngMapper.findView(vo); result = menuListMngMapper.findMenuView(vo);
} catch (SQLException e) { } catch (SQLException e) {
throw new RuntimeException("메뉴목록관리 상세정보 조회 FAIL::", e); throw new RuntimeException("메뉴목록관리 상세정보 조회 FAIL::", e);
} }
@ -80,7 +77,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
} }
@Override @Override
public void addProc(XitMenuListMngVO vo) { public void addProc(MenuListMngVO vo) {
/** /**
* *
@ -113,7 +110,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
} }
@Override @Override
public void modifyProc(XitMenuListMngVO vo) { public void modifyProc(MenuListMngVO vo) {
/** /**
* *
@ -140,7 +137,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
} }
@Override @Override
public void removeProc(XitMenuListMngVO vo) { public void removeProc(MenuListMngVO vo) {
/** /**
* *
*/ */
@ -179,7 +176,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
*/ */
String[] arrMenuNo = menuNos.split(","); String[] arrMenuNo = menuNos.split(",");
for (int i = 0; i < arrMenuNo.length; i++) { for (int i = 0; i < arrMenuNo.length; i++) {
XitMenuListMngVO vo = new XitMenuListMngVO(); MenuListMngVO vo = new MenuListMngVO();
vo.setMenuNo(Integer.parseInt(arrMenuNo[i])); vo.setMenuNo(Integer.parseInt(arrMenuNo[i]));
this.removeProc(vo); this.removeProc(vo);
@ -195,7 +192,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
* @author: * @author:
* @date: 2020. 3. 27. * @date: 2020. 3. 27.
*/ */
private XitMenuInfoVO convertToCrudVO(XitMenuListMngVO vo) { private XitMenuInfoVO convertToCrudVO(MenuListMngVO vo) {
XitMenuInfoVO xitMenuInfoVO = new XitMenuInfoVO(); XitMenuInfoVO xitMenuInfoVO = new XitMenuInfoVO();
xitMenuInfoVO.setMenu_no(String.valueOf(vo.getMenuNo())); xitMenuInfoVO.setMenu_no(String.valueOf(vo.getMenuNo()));
xitMenuInfoVO.setMenu_nm(vo.getMenuNm()); xitMenuInfoVO.setMenu_nm(vo.getMenuNm());
@ -231,7 +228,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
* @exception Exception * @exception Exception
*/ */
private boolean deleteAllMenuList() throws Exception { private boolean deleteAllMenuList() throws Exception {
xitMenuListMngMapper.deleteAllMenuList(); menuListMngMapper.deleteAllMenuList();
return true; return true;
} }
@ -241,7 +238,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
* @exception Exception * @exception Exception
*/ */
private boolean deleteAllMenuCreatDtlsList() throws Exception { private boolean deleteAllMenuCreatDtlsList() throws Exception {
xitMenuCreateMngMapper.deleteAllMenuCreatDtlsList(); menuListMngMapper.deleteAllMenuCreatDtlsList();
return true; return true;
} }
@ -266,7 +263,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
} }
@Override @Override
public String addsProc(XitMenuListMngVO vo, FileInputStream inputStream) throws Exception { public String addsProc(MenuListMngVO vo, FileInputStream inputStream) throws Exception {
String message = addsProc(inputStream); String message = addsProc(inputStream);
String sMessage = null; String sMessage = null;
@ -462,7 +459,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService {
try { try {
int rows = menuSheet.getPhysicalNumberOfRows(); //행 갯수 가져오기 int rows = menuSheet.getPhysicalNumberOfRows(); //행 갯수 가져오기
for (int j = 1; j < rows; j++) { //row 루프 for (int j = 1; j < rows; j++) { //row 루프
XitMenuListMngVO vo = new XitMenuListMngVO(); MenuListMngVO vo = new MenuListMngVO();
Row row = menuSheet.getRow(j); //row 가져오기 Row row = menuSheet.getRow(j); //row 가져오기
if (row != null) { if (row != null) {
//int cells=row.getPhysicalNumberOfCells(); //cell 갯수 가져오기 //int cells=row.getPhysicalNumberOfCells(); //cell 갯수 가져오기

@ -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.List;
import java.util.Map; import java.util.Map;
import javax.annotation.Resource; import javax.annotation.Resource;
import kr.xit.framework.biz.mng.menu.service.ProgramMngService;
import org.apache.ibatis.session.RowBounds; import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import kr.xit.framework.biz.mng.mapper.ProgramMngMapper; import kr.xit.framework.biz.mng.menu.mapper.ProgramMngMapper;
import kr.xit.framework.biz.mng.model.ProgramMngVO; import kr.xit.framework.biz.mng.menu.model.ProgramMngVO;
import kr.xit.framework.biz.mng.service.ProgramMngService;
import kr.xit.framework.core.constants.FrameworkConstants; import kr.xit.framework.core.constants.FrameworkConstants;
import kr.xit.framework.core.utils.XitCmmnUtil; import kr.xit.framework.core.utils.XitCmmnUtil;
import kr.xit.framework.support.exception.BizRuntimeException; import kr.xit.framework.support.exception.BizRuntimeException;

@ -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.io.IOException;
import java.util.HashMap; import java.util.HashMap;
@ -19,9 +19,9 @@ import org.springframework.ui.ModelMap;
import org.springframework.validation.BindingResult; import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngSearchVO; import kr.xit.framework.biz.mng.menu.model.MenuCreateMngSearchVO;
import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO; import kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO;
import kr.xit.framework.biz.mng.menu.create.service.XitMenuCreateMngService; import kr.xit.framework.biz.mng.menu.service.MenuCreateMngService;
import kr.xit.framework.core.constants.FrameworkConstants; import kr.xit.framework.core.constants.FrameworkConstants;
import kr.xit.framework.core.message.XitMessageSource; import kr.xit.framework.core.message.XitMessageSource;
import kr.xit.framework.core.utils.XitCmmnUtil; 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. * @version 1.0 Copyright(c) XIT All rights reserved.
*/ */
@Controller @Controller
@RequestMapping(value = "/_mng_/menu/create/") //@RequestMapping(value = "/_mng_/menu/create/")
public class XitMenuCreateMngController { @RequestMapping(value = "/framework/biz/mng/menu")
public class MenuCreateMngController {
@Resource @Resource
private XitMenuCreateMngService xitMenuCreateMngService; private MenuCreateMngService menuCreateMngService;
@Autowired @Autowired
private XitBeanValidator beanValidator; private XitBeanValidator beanValidator;
@Resource(name = "xitMessageSource") @Resource(name = "xitMessageSource")
@ -54,14 +55,12 @@ public class XitMenuCreateMngController {
/** /**
* <pre> : </pre> * <pre> : </pre>
* @return String * @author:
* @author: * @date: 2022. 10. 18.
* @date: 2020. 3. 25.
*/ */
@RequestMapping(value = "MenuCreateMng_list.do", method={RequestMethod.GET, RequestMethod.POST}) @GetMapping(value = "/mngMenuCreateMgtForm")
public String MenuCreateMng_list(@ModelAttribute("searchVO") XitMenuCreateMngSearchVO searchVO, ModelMap model) { public void mngMenuCreateMgtForm() {
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/menu/create/XitMenuCreateMng_list";
} }
/** /**
@ -73,30 +72,29 @@ public class XitMenuCreateMngController {
* @author: * @author:
* @date: 2022. 10. 13. * @date: 2022. 10. 13.
*/ */
@GetMapping(value = "MenuCreateMng_list.ajax") @GetMapping(value = "/MenuCreateMng_list.ajax")
public ModelAndView finds(@RequestParam Map<String,Object> paramMap) { public ModelAndView findsMenuCreate(@RequestParam Map<String,Object> paramMap) {
return ResultResponse.of(xitMenuCreateMngService.findList(paramMap, MybatisUtils.getPagingInfo(paramMap))); return ResultResponse.of(menuCreateMngService.findList(paramMap, MybatisUtils.getPagingInfo(paramMap)));
} }
/** /**
* <pre> : .</pre> * <pre> : .</pre>
* @param page
* @param tilesDef Type(none: tiles ) * @param tilesDef Type(none: tiles )
* @param model * @param model
* @return String * @return String
* @author: * @author:
* @date: 2020. 3. 26. * @date: 2020. 3. 26.
*/ */
@RequestMapping(value = "MenuCreateMng_{cmd}.do", method={RequestMethod.GET, RequestMethod.POST}) @RequestMapping(value = "/mngMenuCreateMgt_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public String MenuCreateMng_page(@PathVariable String cmd public String mngMenuCreateMgt_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef , @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("menuCreatVO") XitMenuCreateMngVO vo, ModelMap model) { , @ModelAttribute("menuCreatVO") MenuCreateMngVO vo, ModelMap model) {
switch (cmd) { switch (cmd) {
case "input": //등록 페이지 case "input": //등록 페이지
List<XitMenuCreateMngVO> list_menulist = xitMenuCreateMngService.findListOfMenuInfo(vo); List<MenuCreateMngVO> list_menulist = menuCreateMngService.findListOfMenuInfo(vo);
model.addAttribute("list_menulist", list_menulist); model.addAttribute("list_menulist", list_menulist);
model.addAttribute("resultVO", vo); model.addAttribute("resultVO", vo);
break; break;
@ -110,7 +108,7 @@ public class XitMenuCreateMngController {
if(!"".equals(tilesDef)) if(!"".equals(tilesDef))
tilesDef = "."+tilesDef; tilesDef = "."+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/menu/create/XitMenuCreateMng_"+cmd+tilesDef; return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/menu/mngMenuCreateMgt_"+cmd+tilesDef;
} }
@ -124,10 +122,10 @@ public class XitMenuCreateMngController {
* @throws ServletException * @throws ServletException
* @date: 2020. 3. 25. * @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 public void MenuCreateMng_cmd_proc(HttpServletRequest req
,@PathVariable String cmd ,@PathVariable String cmd
,@ModelAttribute("menuCreatVO") XitMenuCreateMngVO vo ,@ModelAttribute("menuCreatVO") MenuCreateMngVO vo
,@RequestParam(value="checkedAuthorForInsert", required=false, defaultValue="")String checkedAuthorForInsert ,@RequestParam(value="checkedAuthorForInsert", required=false, defaultValue="")String checkedAuthorForInsert
,@RequestParam(value="checkedMenuNoForInsert", required=false, defaultValue="")String checkedMenuNoForInsert ,@RequestParam(value="checkedMenuNoForInsert", required=false, defaultValue="")String checkedMenuNoForInsert
,BindingResult bindingResult ,BindingResult bindingResult
@ -139,7 +137,7 @@ public class XitMenuCreateMngController {
/** /**
* *
*/ */
String sLocationUrl = "forward:/_mng_/menu/create/MenuCreateMng_list.do"; String sLocationUrl = "forward:/framework/biz/mng/menu/mngMenuCreateMgtForm.do";
String message = null; String message = null;
switch (cmd) { switch (cmd) {
// case "insert": //등록 // case "insert": //등록
@ -148,14 +146,14 @@ public class XitMenuCreateMngController {
case "inserts": //다건 등록 case "inserts": //다건 등록
//처리 //처리
try { try {
xitMenuCreateMngService.addsProc(checkedAuthorForInsert, checkedMenuNoForInsert); menuCreateMngService.addsProc(checkedAuthorForInsert, checkedMenuNoForInsert);
message = xitMessageSource.getMessage("success.common.insert"); message = xitMessageSource.getMessage("success.common.insert");
} catch (RuntimeException e) { } catch (RuntimeException e) {
message = e.getMessage(); message = e.getMessage();
} catch (Exception e) { } catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.insert"); message = xitMessageSource.getMessage("fail.common.insert");
} }
sLocationUrl = "forward:/_mng_/menu/create/MenuCreateMng_input.do?tilesDef=popup"; sLocationUrl = "forward:/framework/biz/mng/menu/mngMenuCreateMgt_input.do?tilesDef=popup";
break; break;
// case "update": //수정 // 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.File;
import java.io.FileInputStream; import java.io.FileInputStream;
@ -23,9 +23,8 @@ import org.springframework.ui.ModelMap;
import org.springframework.validation.BindingResult; import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngVO; import kr.xit.framework.biz.mng.menu.model.MenuListMngVO;
import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngSearchVO; import kr.xit.framework.biz.mng.menu.service.MenuListMngService;
import kr.xit.framework.biz.mng.menu.list.service.XitMenuListMngService;
import kr.xit.framework.core.constants.FrameworkConstants; import kr.xit.framework.core.constants.FrameworkConstants;
import kr.xit.framework.core.constants.FrameworkConstants.TILES_TYPE; import kr.xit.framework.core.constants.FrameworkConstants.TILES_TYPE;
import kr.xit.framework.core.message.XitMessageSource; 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. * @version 1.0 Copyright(c) XIT All rights reserved.
*/ */
@Controller @Controller
@RequestMapping(value = "/_mng_/menu/list/") //@RequestMapping(value = "/_mng_/menu/list/")
public class XitMenuListMngController { @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 @Resource
private XitMenuListMngService xitMenuListMngService; private MenuListMngService menuListMngService;
@Autowired @Autowired
private XitBeanValidator beanValidator; private XitBeanValidator beanValidator;
@Resource(name = "xitMessageSource") @Resource(name = "xitMessageSource")
@ -63,36 +63,11 @@ public class XitMenuListMngController {
/** /**
* <pre> : </pre> * <pre> : </pre>
* @return String * @author:
* @author: * @date: 2022. 10. 18.
* @date: 2020. 3. 25.
*/ */
@RequestMapping(value = "MenuListMng_list.do", method={RequestMethod.GET, RequestMethod.POST}) @GetMapping(value = "/mngMenuMgtForm")
public String MenuListMng_list(@ModelAttribute("searchVO") XitMenuListMngSearchVO searchVO, ModelMap model) { public void mngMenuMgtForm() {
// 내역 조회
//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";
} }
/** /**
@ -104,10 +79,10 @@ public class XitMenuListMngController {
* @author: * @author:
* @date: 2022. 10. 13. * @date: 2022. 10. 13.
*/ */
@RequestMapping(value = "MenuCreateMng_list.ajax", method={RequestMethod.GET, RequestMethod.POST}) @RequestMapping(value = "findsMenu_list.ajax", method={RequestMethod.GET, RequestMethod.POST})
public ModelAndView finds(@RequestParam Map<String,Object> paramMap) { 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> * <pre> : .</pre>
* @param page * @param cmd
* @param tilesDef Type(none: tiles ) * @param tilesDef Type(none: tiles )
* @param model * @param model
* @return String * @return String
@ -125,7 +100,7 @@ public class XitMenuListMngController {
@RequestMapping(value = "MenuListMng_{cmd}.do", method={RequestMethod.GET, RequestMethod.POST}) @RequestMapping(value = "MenuListMng_{cmd}.do", method={RequestMethod.GET, RequestMethod.POST})
public String MenuListMng_page(@PathVariable String cmd public String MenuListMng_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef , @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("menuManageVO") XitMenuListMngVO vo , @ModelAttribute("menuManageVO") MenuListMngVO vo
, ModelMap model) { , ModelMap model) {
switch (cmd) { switch (cmd) {
case "input": //등록 페이지 case "input": //등록 페이지
@ -133,8 +108,8 @@ public class XitMenuListMngController {
break; break;
case "edit": //수정 페이지 case "edit": //수정 페이지
case "view": //상세 페이지 case "view": //상세 페이지
XitMenuListMngVO xitMenuListMngVO = xitMenuListMngService.findView(vo); MenuListMngVO menuListMngVO = menuListMngService.findView(vo);
model.addAttribute("menuManageVO", xitMenuListMngVO); model.addAttribute("menuManageVO", menuListMngVO);
break; break;
default: default:
throw new RuntimeException("유효하지 않은 요청 입니다."); throw new RuntimeException("유효하지 않은 요청 입니다.");
@ -149,7 +124,7 @@ public class XitMenuListMngController {
/** /**
* <pre> : .</pre> * <pre> : .</pre>
* @param page * @param cmd
* @param model * @param model
* @return String * @return String
* @author: * @author:
@ -158,7 +133,7 @@ public class XitMenuListMngController {
@RequestMapping(value = "MenuListMng_{cmd}_popup.do", method={RequestMethod.GET, RequestMethod.POST}) @RequestMapping(value = "MenuListMng_{cmd}_popup.do", method={RequestMethod.GET, RequestMethod.POST})
public String ProgramMng_page_popup(@PathVariable String cmd public String ProgramMng_page_popup(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef , @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("menuManageVO") XitMenuListMngVO vo , @ModelAttribute("menuManageVO") MenuListMngVO vo
, ModelMap model) { , ModelMap model) {
switch (cmd) { switch (cmd) {
case "": // case "": //
@ -179,7 +154,7 @@ public class XitMenuListMngController {
*/ */
@RequestMapping(value = "MenuListMng_{cmd}_proc.do", method=RequestMethod.POST) @RequestMapping(value = "MenuListMng_{cmd}_proc.do", method=RequestMethod.POST)
public void MenuListMng_cmd_proc(@PathVariable String cmd public void MenuListMng_cmd_proc(@PathVariable String cmd
,@ModelAttribute("menuManageVO") XitMenuListMngVO vo ,@ModelAttribute("menuManageVO") MenuListMngVO vo
,@RequestParam(value="checkedMenuNoForDel", required=false, defaultValue="") String checkedMenuNoForDel ,@RequestParam(value="checkedMenuNoForDel", required=false, defaultValue="") String checkedMenuNoForDel
,BindingResult bindingResult ,BindingResult bindingResult
,Model model ,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; String message = null;
switch (cmd) { switch (cmd) {
case "insert": //등록 case "insert": //등록
@ -201,19 +176,19 @@ public class XitMenuListMngController {
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
// throw new RuntimeException(xitMessageSource.getMessage("fail.common.insert")); // throw new RuntimeException(xitMessageSource.getMessage("fail.common.insert"));
message = 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; break;
} }
//처리 //처리
try { try {
xitMenuListMngService.addProc(vo); menuListMngService.addProc(vo);
message = xitMessageSource.getMessage("success.common.insert"); message = xitMessageSource.getMessage("success.common.insert");
} catch (RuntimeException e) { } catch (RuntimeException e) {
message = e.getMessage(); message = e.getMessage();
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_input.do"; sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_input.do";
} catch (Exception e) { } catch (Exception e) {
message = 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; break;
@ -224,12 +199,12 @@ public class XitMenuListMngController {
listAttchFile = XitAttachFileUtil.fileUpload(request, XitCmmnUtil.setOsPath("/home/tempUpload"), true, 5); listAttchFile = XitAttachFileUtil.fileUpload(request, XitCmmnUtil.setOsPath("/home/tempUpload"), true, 5);
} catch (RuntimeException | IOException e1) { } catch (RuntimeException | IOException e1) {
message = xitMessageSource.getMessage("fail.common.msg"); 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)) { if(XitCmmnUtil.isEmpty(listAttchFile)) {
message = xitMessageSource.getMessage("fail.common.msg"); message = xitMessageSource.getMessage("fail.common.msg");
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_inputs.do"; sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs.do";
}else { }else {
FileInputStream fis = null; FileInputStream fis = null;
try { try {
@ -239,8 +214,8 @@ public class XitMenuListMngController {
if (!"".equals(fileVO.getFileName())) { if (!"".equals(fileVO.getFileName())) {
// 2011.10.07 업로드 파일에 대한 확장자를 체크 // 2011.10.07 업로드 파일에 대한 확장자를 체크
if (fileVO.getFileName().toLowerCase().endsWith(".xls") || fileVO.getFileName().toLowerCase().endsWith(".xlsx")) { if (fileVO.getFileName().toLowerCase().endsWith(".xls") || fileVO.getFileName().toLowerCase().endsWith(".xlsx")) {
if (xitMenuListMngService.menuBndeAllDelete()) { if (menuListMngService.menuBndeAllDelete()) {
message = xitMenuListMngService.addsProc(vo, fis); message = menuListMngService.addsProc(vo, fis);
} else { } else {
message = xitMessageSource.getMessage("fail.common.msg"); message = xitMessageSource.getMessage("fail.common.msg");
vo.setTmp_Cmd("EgovMenuBndeRegist Error!!"); vo.setTmp_Cmd("EgovMenuBndeRegist Error!!");
@ -259,8 +234,8 @@ public class XitMenuListMngController {
============================ */ ============================ */
//2020.09.10 주석처리 //2020.09.10 주석처리
// model.addAttribute("message", message); // model.addAttribute("message", message);
// return "forward:/_mng_/menu/list/MenuListMng_inputs.do"; // return "forward:/framework/biz/mng/menu/MenuListMng_inputs.do";
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_inputs.do"; sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs.do";
model.addAttribute("message", message); model.addAttribute("message", message);
if(AjaxUtils.isAjaxRequest(request)){ //ajax 요청시 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; break;
case "update": //수정 case "update": //수정
@ -297,40 +272,40 @@ public class XitMenuListMngController {
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
// throw new RuntimeException(xitMessageSource.getMessage("fail.common.update")); // throw new RuntimeException(xitMessageSource.getMessage("fail.common.update"));
message = 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; break;
} }
//처리 //처리
try { try {
xitMenuListMngService.modifyProc(vo); menuListMngService.modifyProc(vo);
message = xitMessageSource.getMessage("success.common.update"); message = xitMessageSource.getMessage("success.common.update");
} catch (RuntimeException e) { } catch (RuntimeException e) {
message = e.getMessage(); message = e.getMessage();
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_edit.do"; sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do";
} catch (Exception e) { } catch (Exception e) {
message = 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; break;
case "delete": //삭제 case "delete": //삭제
//처리 //처리
try { try {
xitMenuListMngService.removeProc(vo); menuListMngService.removeProc(vo);
message = xitMessageSource.getMessage("success.common.delete"); message = xitMessageSource.getMessage("success.common.delete");
} catch (RuntimeException e) { } catch (RuntimeException e) {
message = e.getMessage(); message = e.getMessage();
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_edit.do"; sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do";
} catch (Exception e) { } catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.delete"); message = xitMessageSource.getMessage("fail.common.delete");
sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_edit.do"; sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do";
} }
break; break;
case "deletes": //다건 삭제 case "deletes": //다건 삭제
//처리 //처리
try { try {
xitMenuListMngService.removesProc(checkedMenuNoForDel); menuListMngService.removesProc(checkedMenuNoForDel);
message = xitMessageSource.getMessage("success.common.delete"); message = xitMessageSource.getMessage("success.common.delete");
} catch (RuntimeException e) { } catch (RuntimeException e) {
message = e.getMessage(); 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.io.IOException;
import java.util.HashMap; import java.util.HashMap;
@ -24,9 +24,9 @@ import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.ModelAndView;
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
import kr.xit.framework.biz.mng.model.ProgramMngSearchVO; import kr.xit.framework.biz.mng.menu.model.ProgramMngSearchVO;
import kr.xit.framework.biz.mng.model.ProgramMngVO; import kr.xit.framework.biz.mng.menu.model.ProgramMngVO;
import kr.xit.framework.biz.mng.service.ProgramMngService; import kr.xit.framework.biz.mng.menu.service.ProgramMngService;
import kr.xit.framework.core.constants.FrameworkConstants; import kr.xit.framework.core.constants.FrameworkConstants;
import kr.xit.framework.core.constants.FrameworkConstants.TILES_TYPE; import kr.xit.framework.core.constants.FrameworkConstants.TILES_TYPE;
import kr.xit.framework.core.message.XitMessageSource; import kr.xit.framework.core.message.XitMessageSource;

@ -10,11 +10,24 @@
<property name="HIBERNATE_TYPE_LEVEL" value="WARN" /> <property name="HIBERNATE_TYPE_LEVEL" value="WARN" />
<property name="REQUEST_PARAM_LEVEL" value="INFO" /> <property name="REQUEST_PARAM_LEVEL" value="INFO" />
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> <springProfile name="local">
<encoder> <property name="LOG_PATH" value="d:/data/xit/logs"/>
<pattern>${LOG_PATTERN}</pattern> <!-- <property name="LOG_PATH" value="/Users/minuk/data/xit/logs"/>-->
</encoder> </springProfile>
</appender> <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 --> <!-- file logging Appender defined -->

@ -36,7 +36,7 @@
INNER JOIN TB_OWNER B ON (A.OWNER_ID=B.OWNER_ID) INNER JOIN TB_OWNER B ON (A.OWNER_ID=B.OWNER_ID)
LEFT OUTER JOIN TB_ERPP C ON (A.REGLT_ID=C.REGLT_ID) LEFT OUTER JOIN TB_ERPP C ON (A.REGLT_ID=C.REGLT_ID)
WHERE 1=1 WHERE 1=1
AND A.REGLT_ID = #{reglt_id} AND A.REGLT_ID = #{regltId}
</select> </select>

@ -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"?> <?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"> <!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"> <sql id="findList_SELECT">
SELECT A.AUTHOR_CODE AS "authorCode" 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 */ /** 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 WHERE 1=1
<include refid="findList_WHERE"/> AND A.AUTHOR_CODE LIKE CONCAT('%',#{searchKeyword},'%')
<if test="searchGubun == 'list'">
<include refid="pageAfter" />
</if>
</select> </select>
@ -54,24 +48,30 @@
/** XitMenuCreateMngMapper.findListTotCnt */ /** XitMenuCreateMngMapper.findListTotCnt */
/** 메뉴생성관리 목록 총건수 조회 */ /** 메뉴생성관리 목록 총건수 조회 */
SELECT COUNT(1) AS "CNT" SELECT COUNT(1) AS "CNT"
<include refid="findList_FROM"/> FROM XIT_AUTHOR_INFO A
WHERE 1=1 WHERE 1=1
<include refid="findList_WHERE"/> AND A.AUTHOR_CODE LIKE CONCAT('%',#{searchKeyword},'%')
</select> </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 */ /** XitMenuCreateMngMapper.findView */
/** 메뉴생성관리 상세정보 조회 */ /** 메뉴생성관리 상세정보 조회 */
<include refid="findList_SELECT"/> SELECT A.AUTHOR_CODE AS "authorCode"
<include refid="findList_FROM"/> ,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} WHERE A.AUTHOR_CODE = #{authorCode}
</select> </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 */ /** XitMenuCreateMngMapper.findListOfMenuInfo */
/** 메뉴목록 조회 */ /** 메뉴목록 조회 */
SELECT SELECT
@ -88,7 +88,7 @@
ORDER BY A.MENU_ORDR ORDER BY A.MENU_ORDR
</select> </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 */ /** XitMenuCreateMngMapper.findUserScrtySetupByUsr */
/** 사용자별 사용자보안설정 데이터 조회 */ /** 사용자별 사용자보안설정 데이터 조회 */
SELECT AUTHOR_CODE AS "authorCode" SELECT AUTHOR_CODE AS "authorCode"

@ -1,19 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?> <?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"> <!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"> <mapper namespace="kr.xit.framework.biz.mng.mapper.MenuCreateMngMapper">
<!-- SQL 페이징 코드 --> <sql id="findList_SELECT">
<sql id="pageBefore">
SELECT * FROM </sql>
(SELECT LIST.*, ROWNUM AS "RN" FROM( <sql id="findList_FROM">
</sql> </sql>
<sql id="findList_WHERE">
<sql id="pageAfter">
) LIST
) WHERE RN BETWEEN #{firstIndex} + 1 AND #{firstIndex} + #{recordCountPerPage}
</sql> </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" SELECT A.AUTHOR_CODE AS "authorCode"
,A.AUTHOR_NM AS "authorNm" ,A.AUTHOR_NM AS "authorNm"
,A.AUTHOR_DC AS "authorDc" ,A.AUTHOR_DC AS "authorDc"
@ -21,33 +23,12 @@
,(SELECT COUNT(B.AUTHOR_CODE) ,(SELECT COUNT(B.AUTHOR_CODE)
FROM XIT_MENU_CREAT_DTLS B FROM XIT_MENU_CREAT_DTLS B
WHERE B.AUTHOR_CODE = A.AUTHOR_CODE ) AS "chkYeoBu" WHERE B.AUTHOR_CODE = A.AUTHOR_CODE ) AS "chkYeoBu"
</sql>
<sql id="findList_FROM">
FROM XIT_AUTHOR_INFO A FROM XIT_AUTHOR_INFO A
</sql> WHERE 1=1
<sql id="findList_WHERE">
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(searchKeyword)"> <if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(searchKeyword)">
AND A.AUTHOR_CODE LIKE '%' || #{searchKeyword} || '%' AND A.AUTHOR_CODE LIKE '%' || #{searchKeyword} || '%'
</if> </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> </select>
@ -56,24 +37,32 @@
/** XitMenuCreateMngMapper.findListTotCnt */ /** XitMenuCreateMngMapper.findListTotCnt */
/** 메뉴생성관리 목록 총건수 조회 */ /** 메뉴생성관리 목록 총건수 조회 */
SELECT COUNT(1) AS "CNT" SELECT COUNT(1) AS "CNT"
<include refid="findList_FROM"/> FROM XIT_AUTHOR_INFO A
WHERE 1=1 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>
<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 */ /** XitMenuCreateMngMapper.findView */
/** 메뉴생성관리 상세정보 조회 */ /** 메뉴생성관리 상세정보 조회 */
<include refid="findList_SELECT"/> SELECT A.AUTHOR_CODE AS "authorCode"
<include refid="findList_FROM"/> ,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} WHERE A.AUTHOR_CODE = #{authorCode}
</select> </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 */ /** XitMenuCreateMngMapper.findListOfMenuInfo */
/** 메뉴목록 조회 */ /** 메뉴목록 조회 */
SELECT SELECT
@ -90,7 +79,7 @@
ORDER BY A.MENU_ORDR ORDER BY A.MENU_ORDR
</select> </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 */ /** XitMenuCreateMngMapper.findUserScrtySetupByUsr */
/** 사용자별 사용자보안설정 데이터 조회 */ /** 사용자별 사용자보안설정 데이터 조회 */
SELECT AUTHOR_CODE AS "authorCode" 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"?> <?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"> <!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 */ /* program-mysql-mapper|selectPrograms-프로그램 목록 조회|julim */
SELECT progrm_file_nm SELECT progrm_file_nm
, progrm_stre_cours , progrm_stre_cours
@ -20,7 +20,7 @@
</where> </where>
</select> </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 */ /* program-mysql-mapper|selectProgram-프로그램 정보 조회|julim */
SELECT progrm_file_nm SELECT progrm_file_nm
, progrm_stre_cours , 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 */ /* program-mysql-mapper|insertProgram-프로그램 등록|julim */
INSERT INSERT
INTO xit_progrm_list( INTO xit_progrm_list(
@ -53,7 +53,7 @@
) )
</insert> </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 */ /* program-mysql-mapper|updateProgram-프로그램 정보 변경|julim */
UPDATE xit_progrm_list UPDATE xit_progrm_list
SET progrm_korean_nm = #{progrmKoreanNm} SET progrm_korean_nm = #{progrmKoreanNm}

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?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"> <!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 페이징 코드 -->
<sql id="pageBefore"> <sql id="pageBefore">
SELECT * FROM SELECT * FROM

@ -10,7 +10,7 @@
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap" rel="stylesheet">
<form id="frmSearch" name="frmSearch" method="get"> <form id="frmSearch" name="frmSearch" method="get">
<input type="hidden" id="elctrn_ntic_sndng_id" name="elctrn_ntic_sndng_id" value="${contents.reglt_id}"> <input type="hidden" id="reglt_id" name="reglt_id" value="${contents.regltId}">
<div class="conttitle"> <div class="conttitle">
@ -44,7 +44,7 @@
</tr> </tr>
<tr> <tr>
<td>등록구분</td> <td>등록구분</td>
<td><input type="text" id="" name="" value="<c:out value="${contents.reglt_id }"/>"> <td><input type="text" id="" name="" value="<c:out value="${contents.regltId }"/>">
</td> </td>
<td>자료출처</td> <td>자료출처</td>
<td><input type="text" id="" name="" value=""></td> <td><input type="text" id="" name="" value=""></td>
@ -52,9 +52,9 @@
</tr> </tr>
<tr> <tr>
<td>위반일시</td> <td>위반일시</td>
<td><input type="text" id="violt_de" name="violt_de" value="${contents.violt_de }"></td> <td><input type="text" id="violt_de" name="violt_de" value="${contents.violtDe }"></td>
<td>차량번호</td> <td>차량번호</td>
<td colspan="2"><input type="text" id="" name="" value="${contents.vhcle_no }"></td> <td colspan="2"><input type="text" id="" name="" value="${contents.vhcleNo }"></td>
</tr> </tr>
<tr> <tr>
<td>단속자</td> <td>단속자</td>
@ -62,7 +62,7 @@
</tr> </tr>
<tr> <tr>
<td>위반장소</td> <td>위반장소</td>
<td colspan="4"><input type="text" id="" name="" value="${contents.violt_place}"></td> <td colspan="4"><input type="text" id="" name="" value=""></td>
</tr> </tr>
<tr> <tr>
<td>발행번호</td> <td>발행번호</td>
@ -83,33 +83,33 @@
</tr> </tr>
<tr> <tr>
<td>위반횟수</td> <td>위반횟수</td>
<td><input type="text" id="" name="" value="${contents.violt_co}"></td> <td><input type="text" id="" name="" value="<%--${contents.violt_co}--%>"></td>
<td>시군구</td> <td>시군구</td>
<td><input type="text" id="" name="" value="${contents.signgu_code}"></td> <td><input type="text" id="" name="" value="<%--${contents.signgu_code}--%>"></td>
<td>법정동</td> <td>법정동</td>
<td><input type="text" id="" name="" value=""></td> <td><input type="text" id="" name="" value=""></td>
</tr> </tr>
<tr> <tr>
<td>사전통지금액</td> <td>사전통지금액</td>
<td><input type="text" id="" name="" value="${contents.redution_aft_amount}"></td> <td><input type="text" id="" name="" value="<%--${contents.redution_aft_amount}--%>"></td>
<td>부과금액</td> <td>부과금액</td>
<td colspan="3"><input type="text" id="" name="" value=""></td> <td colspan="3"><input type="text" id="" name="" value=""></td>
</tr> </tr>
<tr> <tr>
<td>감액금액</td> <td>감액금액</td>
<td><input type="text" id="" name="" value="${contents.redution_amount}"></td> <td><input type="text" id="" name="" value="$<%--{contents.redution_amount}--%>"></td>
<td>총수납액</td> <td>총수납액</td>
<td><input type="text" id="" name="" value="${contents.rciv_amount}"></td> <td><input type="text" id="" name="" value="$<%--{contents.rciv_amount}--%>"></td>
<td>잔액</td> <td>잔액</td>
<td><input type="text" id="" name="" value=""></td> <td><input type="text" id="" name="" value=""></td>
</tr> </tr>
<tr> <tr>
<td>특이사항</td> <td>특이사항</td>
<td colspan="4"><input type="text" id="" name="" value="${contents.spcmnt_matter}"></td> <td colspan="4"><input type="text" id="" name="" value="<%--${contents.spcmnt_matter}--%>"></td>
</tr> </tr>
<tr> <tr>
<td>처리상태</td> <td>처리상태</td>
<td colspan="4">${contents.reglt_process_sttus_code}</td> <td colspan="4"><%--${contents.reglt_process_sttus_code}--%></td>
</tr> </tr>
</table> </table>
<p class="title deco_01 mT_02">소유주 정보</p> <p class="title deco_01 mT_02">소유주 정보</p>
@ -124,7 +124,7 @@
</colgroup> </colgroup>
<tr> <tr>
<td>소유주</td> <td>소유주</td>
<td><input type="text" id="owner_nm" name="owner_nm" value="${contents.owner_nm}"></td> <td><input type="text" id="owner_nm" name="owner_nm" value="<%--${contents.owner_nm}--%>"></td>
<td>aaa</td> <td>aaa</td>
<td><input type="text" id="" name="" value=""></td> <td><input type="text" id="" name="" value=""></td>
<td>등록구분</td> <td>등록구분</td>
@ -132,19 +132,19 @@
</tr> </tr>
<tr> <tr>
<td>주민번호</td> <td>주민번호</td>
<td><input type="text" id=ihidnum_premanli"" name="ihidnum_premanli" value="${contents.ihidnum_premanli}"></td> <td><input type="text" id=ihidnum_premanli"" name="ihidnum_premanli" value="${contents.ihidnum_premanli}td"></td>
<td>aaaa</td> <td>aaaa</td>
<td><input type="text" id="" name="" value=""></td> <td><input type="text" id="" name="" value=""></td>
<td>우편번호</td> <td>우편번호</td>
<td><input type="text" id="zip" name="zip" value="${contents.zip}"></td> <td><input type="text" id="zip" name="zip" value="${contents.zip}td"></td>
</tr> </tr>
<tr> <tr>
<td>주소</td> <td>주소</td>
<td colspan="4"><input type="text" id="adres" name="adres" value="${contents.adres}"></td> <td colspan="4"><input type="text" id="adres" name="adres" value="${contents.adres}td"></td>
</tr> </tr>
<tr> <tr>
<td>상세주소</td> <td>상세주소</td>
<td colspan="4"><input type="text" id="detail_adres" name="detail_adres" value="${contents.detail_adres}"></td> <td colspan="4"><input type="text" id="detail_adres" name="detail_adres" value="${contents.detail_adres}td"></td>
</tr> </tr>
<tr> <tr>
<td>차대번호</td> <td>차대번호</td>
@ -257,13 +257,12 @@
</table> </table>
</div> </div>
</div> </div>
</div>
<div id="tabs_2"> <div id="tabs_2">
<div class="w_fix05"> <div class="w_fix05">
<div class="w_fix03 gridGroup"> <div class="w_fix03 gridGroup">
<div style="width: 100%; border:0px solid black"> <div style="width: 100%; border:0px solid black">
<p class="title deco_01">처리상태 변동이력</p> <p class="title deco_01">처리상태 변동이력</p>
<div id="grid"></div> <div id="grid_t0"></div>
<%--삭제조심--%> <%--삭제조심--%>
</div> </div>
</div> </div>
@ -277,13 +276,13 @@
</colgroup> </colgroup>
<tr> <tr>
<td>처리일</td> <td>처리일</td>
<td colspan="4"><input type="text" id="" name="" value="${contents.violt_place}"> <td colspan="4"><input type="text" id="" name="" value="">
</td> </td>
</td> </td>
</tr> </tr>
<tr> <tr>
<td>감경사유</td> <td>감경사유</td>
<td colspan="4"><input type="text" id="" name="" value="${contents.violt_place}"> <td colspan="4"><input type="text" id="" name="" value="">
</td> </td>
</tr> </tr>
<tr> <tr>
@ -292,7 +291,7 @@
</tr> </tr>
<tr> <tr>
<td>처리자</td> <td>처리자</td>
<td colspan="4"><input type="text" id="" name="" value="${contents.violt_place}"> <td colspan="4"><input type="text" id="" name="" value="">
</td> </td>
</tr> </tr>
<tr> <tr>
@ -311,13 +310,13 @@
</colgroup> </colgroup>
<tr> <tr>
<td>처리일</td> <td>처리일</td>
<td colspan="4"><input type="text" id="" name="" value="${contents.violt_place}"> <td colspan="4"><input type="text" id="" name="" value="">
</td> </td>
</td> </td>
</tr> </tr>
<tr> <tr>
<td>감경사유</td> <td>감경사유</td>
<td colspan="4"><input type="text" id="" name="" value="${contents.violt_place}"> <td colspan="4"><input type="text" id="" name="" value="">
</td> </td>
</tr> </tr>
<tr> <tr>
@ -326,7 +325,7 @@
</tr> </tr>
<tr> <tr>
<td>처리자</td> <td>처리자</td>
<td colspan="4"><input type="text" id="" name="" value="${contents.violt_place}"> <td colspan="4"><input type="text" id="" name="" value="">
</td> </td>
</tr> </tr>
<tr> <tr>
@ -362,8 +361,6 @@
</div> </div>
</div> </div>
</div>
<div id="tabs_3"> <div id="tabs_3">
<div class="w_fix05 gridGroup"> <div class="w_fix05 gridGroup">
<div style="width: 100%; border:0px solid black"> <div style="width: 100%; border:0px solid black">
@ -396,62 +393,169 @@
</form> </form>
<script type="text/javaScript" language="javascript" defer="defer"> <script type="text/javaScript" language="javascript" defer="defer">
//전역변수선언
const ARR_INSTANCE = [null,null,null];
let CUR_TAB_SEQ = 0;
$(document).ready(function(){ $(document).ready(function(){
fimsTotal_popup.init(); fimsTotal_popup.init();
$("#popupTabs").tabs({active : 0});
}); });
/* ******************************* /* *******************************
* 사용자 등록관리 Functions * 사용자 등록관리 Functions
******************************* */ ******************************* */
var fimsTotal_popup = { const fimsTotal_popup = {
/* ======================== /* ========================
* 초기화 * 초기화
======================== */ ======================== */
init : function(){ init : function(){
/**
* Grid Config Settings
*/
//Grid Style Set
Grid.applyTheme('striped'); // Call API of static method
$("#popupTabs").tabs({active : 0}); /* ******************************
* Grid
//tab 클릭 이벤트 ****************************** */
$("#popupTabs").on("click", "li", function(){ const tab0Columns = [ //Grid 컬럼 정보(명칭,매핑 field, 기타옵션 등)
var tab = parseInt($("#popupTabs .ui-tabs-active a").attr("id")); {
var tabbb = $('#popupTabs').children('div').not($('#tabs_'+tab)); header: '발송결과',
$('#tabs_'+tab).show(500); name: 'sndng_result_code',
$('#sch_tab_id').val(tab); width: 150,
//ARR_INSTANCE[tab].refreshLayout(); //editor: 'text',
sortable: true,
align: 'center',
filter: {
type: 'text',
showClearBtn: true
}
},
{
header: '오류내용',
name: 'error_cn',
width: 150,
//editor: 'text',
sortable: true,
align: 'center'
},
{
header: '미납자',
name: 'om_name',
minWidth: 120,
//editor: 'text',
sortable: true,
align: 'center'
},
{
header: '주민등록번호',
name: 'ihidnum',
width: 120,
//editor: 'text',
sortable: true,
align: 'center'
},
{
header: '차량번호',
name: 'mm_carno',
minWidth: 120,
//editor: 'text',
sortable: true,
align: 'center'
},
{
header: '요청일시',
name: 'requst_dt',
width: 150,
//editor: 'text',
sortable: true,
align: 'center'
},
{
header: '조회일시',
name: 'inqire_dt',
width: 150,
//editor: 'text',
sortable: true,
align: 'center'
},
{
header: '열람일시',
name: 'readng_dt',
width: 150,
//editor: 'text',
sortable: true,
align: 'center'
},
{
header: '등록일시',
name: 'regist_dt',
width: 150,
//editor: 'text',
sortable: true,
align: 'center'
}
];
//DataSource
let tab0Datasource = {
//initialRequest: false, // 화면 load시 조회 안함 - default
api: {
readData: {
url: '<c:url value="/adm/send/rqst/mng/find.do"/>'
, serializer: (params) => fnAddPageInfo(document.frmSearch, params)
}
}
};
const tab0Options = {
el: 'grid_t0',
minBodyHeight: 250,
bodyHeight: 250, //[선택]Grid 높이 (number(단위: px)|'auto'|'fitToParent')
rowHeaders: ['rowNum'],
pageOptions: {
perPage: 100,
type: 'scroll'
},
columns: tab0Columns,
columnOptions: {
frozenCount: 0 //고정컬럼 갯수
, minWidth: 80 //최소 사이즈
},
};
const tab1Options = $.extend(true, {}, tab0Options, {
el: 'grid_d1',
minBodyHeight: 100,
bodyHeight: 100,
}); });
const tab2Options = $.extend(true, {}, tab0Options, {
//조회 목록 클릭 Event 설정 el: 'grid_d2',
instance.on('click', function(ev) { minBodyHeight: 100,
var props = {}; bodyHeight: 100,
props['rowKey'] = ev.rowKey; });
props['grid'] = ev.instance; const tab3Options = $.extend(true, {}, tab0Options, {
el: 'grid_m1',
console.log(props); minBodyHeight: 250,
bodyHeight: 250,
}); });
//Grid 체크박스 checked EventListner ARR_INSTANCE[0] = TuiGrid.of(tab0Options, tab0Datasource, (res) => {
instance.on('check', function(ev) { ARR_TOTCNT[0] = res.data.pagination.totalCount;
// console.log('check!', ev);
}); });
//Grid 체크박스 unchecked EventListner ARR_INSTANCE[1] = TuiGrid.of(tab1Options, tab0Datasource, (res) => {
instance.on('uncheck', function(ev) { ARR_TOTCNT[1] = res.data.pagination.totalCount;
// console.log('uncheck!', ev);
}); });
//Grid 체크박스 focus이동 EventListner ARR_INSTANCE[2] = TuiGrid.of(tab2Options, tab0Datasource, (res) => {
instance.on('focusChange', function(ev) { ARR_TOTCNT[2] = res.data.pagination.totalCount;
// console.log('change focused cell!', ev);
}); });
//Grid 처리상태에 따른 콜백 ARR_INSTANCE[3] = TuiGrid.of(tab3Options, tab0Datasource, (res) => {
instance.on('successResponse', function(ev) { ARR_TOTCNT[3] = res.data.pagination.totalCount;
//조회한 데이터 카운트
$('#totCnt span').text(JSON.parse(ev.xhr.response).data.pagination.totalCount);
}); });
//tab 클릭 이벤트
/*$("#popupTabs").on("click", "li", function(){
var tab = parseInt($("#popupTabs .ui-tabs-active a").attr("id"));
var tabbb = $('#popupTabs').children('div').not($('#tabs_'+tab));
$('#tabs_'+tab).show(500);
$('#sch_tab_id').val(tab);
//ARR_INSTANCE[tab].refreshLayout();
});*/
/** /**
* Elements EventListener Settings * Elements EventListener Settings
*/ */
@ -644,315 +748,6 @@
/* ******************************
* Grid 환경 설정
****************************** */
var GridConfig = new XitTuiGridConfig();
GridConfig = $.extend({}, GridConfig);
GridConfig.setOptGridId('grid'); //Grid를 출력할 Element ID(해당 Element에 Grid가 출력 됨)
GridConfig.setOptGridHeight(250); //Grid 높이(단위: px)
GridConfig.setOptRowHeight(30); //Grid row 높이(단위: px) /*2021.09.23 박소영 as-is:GridConfig.setOptRowHeight(20) to-be:GridConfig.setOptRowHeight(30);*/
GridConfig.setOptRowHeaderType('rowNum'); //Row 첫번째 Cell 타입(rowNum: 순번, checkbox: 체크박스, '': 아무것도 출력 안함)
GridConfig.setOptPageOptions({ //페이징(Pagination) 옵션
/** 2022.04.22 최정민
* 상세보기 페이지에 페이징 기능 제거
*/
//useClient: true //Client Paging 여부(true 설정 시 클라이언트 자체 페이징 처리. 서버호출 X)
perPage: 100 //페이지당 표시 건수
, type: 'scroll'
});
GridConfig.setOptColumnOptions({ //컬럼고정 옵션
frozenCount: 0
});
GridConfig.setOptDataSource({ //DataSource
/* -----------------------
* DataSource Config Setting
* -설정항목은 Global 적용 되며
* -API별 적용을 원할 경우 각 API 안에 작성 가능(우선순위: 개별->글로벌)
----------------------- */
//contentType: 'application/json',
//headers: { 'x-custom-header': 'custom-header' },
initialRequest: false, //디폴트 값은 true(false: 인스턴스 생성 시 요청은 보내지 않음. 이런 경우 "instance.reloadData()"를 사용하여 요청 가능)
//serializer: function(params) {
//return $(document.frmSearch).serialize();
// },
/* -----------------------
* DataSource API Setting
----------------------- */
api: {
readData : {
url: '<c:url value="/adm/send/rqst/mng/find.do"/>', method: 'GET'
,initParams: {}
,serializer: function(params) {
var form = document.frmSearch;
var serializeParam = $(form).serialize();
for(var key in params){
if(key=='perPage'){
if(params[key]==undefined)
serializeParam +='&'+key+'=-1';
else
serializeParam +='&'+key+'='+params[key];
}else
serializeParam +='&'+key+'='+params[key];
}
return serializeParam;
}
}
,createData: { url: '', method: 'POST'}
,updateData: { url: '<c:url value="/adm/send/rqst/mng/proc.do"/>' , method: 'PUT'}
,modifyData: { url: '', method: 'PUT'}
,deleteData: { url: '', method: 'DELETE'}
}
});
/** 2022.04.22 최정민
* 그리드 정렬기능(sortable: true) 추가, 셀수정기능 제거(editor: 'text' 주석)
*/
GridConfig.setOptColumns([ //Grid 컬럼 정보(명칭,매핑 field, 기타옵션 등)
{
header: '발송결과',
name: 'sndng_result_code',
width: 150,
//editor: 'text',
sortable: true,
align: 'center',
filter: {
type: 'text',
showClearBtn: true
}
},
{
header: '오류내용',
name: 'error_cn',
width: 150,
//editor: 'text',
sortable: true,
align: 'center'
},
{
header: '미납자',
name: 'om_name',
minWidth: 120,
//editor: 'text',
sortable: true,
align: 'center'
},
{
header: '주민등록번호',
name: 'ihidnum',
width: 120,
//editor: 'text',
sortable: true,
align: 'center'
},
{
header: '차량번호',
name: 'mm_carno',
minWidth: 120,
//editor: 'text',
sortable: true,
align: 'center'
},
{
header: '요청일시',
name: 'requst_dt',
width: 150,
//editor: 'text',
sortable: true,
align: 'center'
},
{
header: '조회일시',
name: 'inqire_dt',
width: 150,
//editor: 'text',
sortable: true,
align: 'center'
},
{
header: '열람일시',
name: 'readng_dt',
width: 150,
//editor: 'text',
sortable: true,
align: 'center'
},
{
header: '등록일시',
name: 'regist_dt',
width: 150,
//editor: 'text',
sortable: true,
align: 'center'
}
]);
var GridConfig_d1 = $.extend({}, GridConfig); //Grid 인스턴스
/*var GridConfig_d1 = new XitTuiGridConfig();*/
GridConfig_d1.setOptGridId('grid_d1');
GridConfig_d1.setOptColumnOptions({ //컬럼고정 옵션
frozenCount: 0 //고정컬럼 갯수
, minWidth: 80 //최소 사이즈
});
GridConfig_d1.setOptGridHeight(100); //Grid 높이(단위: px)
GridConfig_d1.setOptRowHeight(30); //Grid row 높이(단위: px) /*2021.09.23 박소영 as-is:GridConfig.setOptRowHeight(20) to-be:GridConfig.setOptRowHeight(30);*/
GridConfig_d1.setOptRowHeaderType('rowNum'); //Row 첫번째 Cell 타입(rowNum: 순번, checkbox: 체크박스, '': 아무것도 출력 안함)
GridConfig_d1.setOptPageOptions({ //페이징(Pagination) 옵션
/** 2022.04.22 최정민
* 상세보기 페이지에 페이징 기능 제거
*/
//useClient: true //Client Paging 여부(true 설정 시 클라이언트 자체 페이징 처리. 서버호출 X)
perPage: 100 //페이지당 표시 건수
, type: 'scroll'
});
GridConfig_d1.setOptColumns([ //Grid 컬럼 정보(명칭,매핑 field, 기타옵션 등)
{
header: '변경일시',
name: 'pvtcpt_road_sctn_nm',
width: 300,
sortable: true,
align: 'center',
sortingType: 'desc',
// filter: 'select',
/* renderer: {
type: XitButtonRenderer,
options: {
value: '{0}',
listColumns: ['cmpny_nm', 'cmpny', 'cmpny_id'], //[0]: 항목값, [1]: 공통팝업종류, [2]: 공통팝업 파라미터
callbackFnc: 'bustms1010302_list.fn_cmmnViewPopupBtn'
}
} */
},
{
header: '내용',
name: 'regist_dt',
width: 500,
//editor: 'text',
sortable: true,
align: 'left'
}
]);
var GridConfig_d2 = $.extend({}, GridConfig); //Grid 인스턴스
GridConfig_d2.setOptGridId('grid_d2');
GridConfig_d2.setOptColumnOptions({ //컬럼고정 옵션
frozenCount: 0 //고정컬럼 갯수
, minWidth: 80 //최소 사이즈
});
GridConfig_d2.setOptGridHeight('auto'); //Grid 높이(단위: px)
GridConfig_d2.setOptRowHeight(30); //Grid row 높이(단위: px) /*2021.09.23 박소영 as-is:GridConfig.setOptRowHeight(20) to-be:GridConfig.setOptRowHeight(30);*/
GridConfig_d2.setOptRowHeaderType('rowNum'); //Row 첫번째 Cell 타입(rowNum: 순번, checkbox: 체크박스, '': 아무것도 출력 안함)
GridConfig_d2.setOptPageOptions({ //페이징(Pagination) 옵션
/** 2022.04.22 최정민
* 상세보기 페이지에 페이징 기능 제거
*/
//useClient: true //Client Paging 여부(true 설정 시 클라이언트 자체 페이징 처리. 서버호출 X)
perPage: 100 //페이지당 표시 건수
, type: 'scroll'
});
GridConfig_d2.setOptColumns([ //Grid 컬럼 정보(명칭,매핑 field, 기타옵션 등)
{
header: '구간',
name: 'pvtcpt_road_sctn_nm',
width: 120,
sortable: true,
align: 'center',
sortingType: 'desc',
// filter: 'select',
/* renderer: {
type: XitButtonRenderer,
options: {
value: '{0}',
listColumns: ['cmpny_nm', 'cmpny', 'cmpny_id'], //[0]: 항목값, [1]: 공통팝업종류, [2]: 공통팝업 파라미터
callbackFnc: 'bustms1010302_list.fn_cmmnViewPopupBtn'
}
} */
},
{
header: '내용',
name: 'regist_dt',
width: 200,
//editor: 'text',
sortable: true,
align: 'left'
},
{
header: '내용',
name: 'regist_dt',
width: 200,
//editor: 'text',
sortable: true,
align: 'left'
},
{
header: '내용',
name: 'regist_dt',
width: 200,
//editor: 'text',
sortable: true,
align: 'left'
},
{
header: '내용',
name: 'regist_dt',
width: 200,
//editor: 'text',
sortable: true,
align: 'left'
}
]);
var GridConfig_m1 = $.extend({}, GridConfig); //Grid 인스턴스
GridConfig_m1.setOptGridId('grid_m1');
GridConfig_m1.setOptColumnOptions({ //컬럼고정 옵션
frozenCount: 0 //고정컬럼 갯수
, minWidth: 80 //최소 사이즈
});
GridConfig_m1.setOptGridHeight('auto'); //Grid 높이(단위: px)
GridConfig_m1.setOptRowHeight(30); //Grid row 높이(단위: px) /*2021.09.23 박소영 as-is:GridConfig.setOptRowHeight(20) to-be:GridConfig.setOptRowHeight(30);*/
GridConfig_m1.setOptRowHeaderType('rowNum'); //Row 첫번째 Cell 타입(rowNum: 순번, checkbox: 체크박스, '': 아무것도 출력 안함)
GridConfig_m1.setOptPageOptions({ //페이징(Pagination) 옵션
/** 2022.04.22 최정민
* 상세보기 페이지에 페이징 기능 제거
*/
//useClient: true //Client Paging 여부(true 설정 시 클라이언트 자체 페이징 처리. 서버호출 X)
perPage: 100 //페이지당 표시 건수
, type: 'scroll'
});
GridConfig_m1.setOptColumns([ //Grid 컬럼 정보(명칭,매핑 field, 기타옵션 등)
{
header: '구간',
name: 'pvtcpt_road_sctn_nm',
width: 120,
sortable: true,
align: 'center',
sortingType: 'desc',
// filter: 'select',
/* renderer: {
type: XitButtonRenderer,
options: {
value: '{0}',
listColumns: ['cmpny_nm', 'cmpny', 'cmpny_id'], //[0]: 항목값, [1]: 공통팝업종류, [2]: 공통팝업 파라미터
callbackFnc: 'bustms1010302_list.fn_cmmnViewPopupBtn'
}
} */
}
]);
var Grid = tui.Grid;
var instance_detail_0 = GridConfig.instance();
var instance_detail_1 = GridConfig_d1.instance();
var instance_detail_2 = GridConfig_d2.instance();
var instance_min_1 = GridConfig_m1.instance();
var originData = null; var originData = null;
console.log(originData); console.log(originData);

@ -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.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.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/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-ui.css"/>
<link rel="stylesheet" type="text/css" href="${ctx}/resources/3rd-party/jquery/css/jquery.treeview.css"/> <link rel="stylesheet" type="text/css" href="${ctx}/resources/3rd-party/jquery/css/jquery.treeview.css"/>

@ -18,7 +18,7 @@
* 최초조회 함수 * 최초조회 함수
******************************************************** */ ******************************************************** */
function fMenuCreatManageSelect(){ 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(); document.menuCreatManageForm.submit();
} }
@ -27,7 +27,7 @@ function fMenuCreatManageSelect(){
******************************************************** */ ******************************************************** */
function linkPage(pageNo){ function linkPage(pageNo){
document.menuCreatManageForm.pageIndex.value = 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(); document.menuCreatManageForm.submit();
} }
@ -36,7 +36,7 @@ function linkPage(pageNo){
******************************************************** */ ******************************************************** */
function selectMenuCreatManageList() { function selectMenuCreatManageList() {
document.menuCreatManageForm.pageIndex.value = 1; 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(); document.menuCreatManageForm.submit();
} }
@ -46,7 +46,7 @@ function selectMenuCreatManageList() {
function selectMenuCreat(vAuthorCode) { function selectMenuCreat(vAuthorCode) {
document.menuCreatManageForm.authorCode.value = vAuthorCode; document.menuCreatManageForm.authorCode.value = vAuthorCode;
document.menuCreatManageForm.tilesDef.value = 'popup'; //tiles 설정 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"); window.open("#", "_menuCreat", "scrollbars = yes, top=100px, left=100px, height=700px, width=850px");
document.menuCreatManageForm.target = "_menuCreat"; document.menuCreatManageForm.target = "_menuCreat";
document.menuCreatManageForm.submit(); document.menuCreatManageForm.submit();
@ -134,7 +134,7 @@ function selectMenuCreat(vAuthorCode) {
<c:if test="${result.chkYeoBu == 0}">N</c:if> <c:if test="${result.chkYeoBu == 0}">N</c:if>
</td> </td>
<td nowrap="nowrap" > <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> </td>
</tr> </tr>
</c:forEach> </c:forEach>

@ -11,7 +11,7 @@
<script type="text/javascript" src="<c:url value="/_cmmn_/util/validator.do"/>"></script> <script type="text/javascript" src="<c:url value="/_cmmn_/util/validator.do"/>"></script>
<validator:javascript formName="menuManageVO" staticJavascript="false" xhtml="true" cdata="false"/> <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_SearchElementName" value=""/>
<input type="hidden" name="tmp_SearchElementVal" value=""/> <input type="hidden" name="tmp_SearchElementVal" value=""/>
@ -146,7 +146,7 @@ $(document).ready(function(){
if(confirm("저장 하시겠습니까?")){ if(confirm("저장 하시겠습니까?")){
var param = $(varFrom).serialize(); var param = $(varFrom).serialize();
$.ajax({ $.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, data : param,
type : "post", type : "post",
dataType : "json", dataType : "json",
@ -172,7 +172,7 @@ $(document).ready(function(){
if(confirm("수정 하시겠습니까?")){ if(confirm("수정 하시겠습니까?")){
var param = $(varFrom).serialize(); var param = $(varFrom).serialize();
$.ajax({ $.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, data : param,
type : "post", type : "post",
dataType : "json", dataType : "json",
@ -195,7 +195,7 @@ $(document).ready(function(){
if(confirm("삭제 하시겠습니까?")){ if(confirm("삭제 하시겠습니까?")){
var param = $(varFrom).serialize(); var param = $(varFrom).serialize();
$.ajax({ $.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, data : param,
type : "post", type : "post",
dataType : "json", dataType : "json",

@ -11,7 +11,7 @@
<script type="text/javascript" src="<c:url value="/_cmmn_/util/validator.do"/>"></script> <script type="text/javascript" src="<c:url value="/_cmmn_/util/validator.do"/>"></script>
<validator:javascript formName="menuManageVO" staticJavascript="false" xhtml="true" cdata="false"/> <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_SearchElementName" value=""/>
<input type="hidden" name="tmp_SearchElementVal" value=""/> <input type="hidden" name="tmp_SearchElementVal" value=""/>
@ -160,7 +160,7 @@ $(document).ready(function(){
if(confirm("저장 하시겠습니까?")){ if(confirm("저장 하시겠습니까?")){
var param = $(varFrom).serialize(); var param = $(varFrom).serialize();
$.ajax({ $.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, data : param,
type : "post", type : "post",
dataType : "json", dataType : "json",
@ -186,7 +186,7 @@ $(document).ready(function(){
if(confirm("수정 하시겠습니까?")){ if(confirm("수정 하시겠습니까?")){
var param = $(varFrom).serialize(); var param = $(varFrom).serialize();
$.ajax({ $.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, data : param,
type : "post", type : "post",
dataType : "json", dataType : "json",
@ -209,7 +209,7 @@ $(document).ready(function(){
if(confirm("삭제 하시겠습니까?")){ if(confirm("삭제 하시겠습니까?")){
var param = $(varFrom).serialize(); var param = $(varFrom).serialize();
$.ajax({ $.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, data : param,
type : "post", type : "post",
dataType : "json", dataType : "json",

@ -68,7 +68,7 @@ $(document).ready(function(){
click: function(){ click: function(){
if(confirm("메뉴일괄등록을 하시겠습니까?. \n 메뉴정보와 프로그램목록, 프로그램 변경내역 존재시 삭제 하실 수 없습니다.")){ if(confirm("메뉴일괄등록을 하시겠습니까?. \n 메뉴정보와 프로그램목록, 프로그램 변경내역 존재시 삭제 하실 수 없습니다.")){
if(XitMenuListMng_inputs.fnCheckFule()){ 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(); document.menuManageRegistForm.submit();
} }
} }

@ -23,7 +23,7 @@ function updateMenuManage(form) {
return; return;
}else{ }else{
if(confirm("<spring:message code='common.save.msg' />")){ 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(); form.submit();
} }
} }
@ -34,7 +34,7 @@ function updateMenuManage(form) {
******************************************************** */ ******************************************************** */
function deleteMenuManage(form) { function deleteMenuManage(form) {
if(confirm("<spring:message code='common.delete.msg' />")){ 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(); form.submit();
} }
} }
@ -49,7 +49,7 @@ function searchFileNm() {
* 목록조회 함수 * 목록조회 함수
******************************************************** */ ******************************************************** */
function selectList(){ 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">
<div id="search_field_loc"><h2><strong>메뉴상세조회및 수정</strong></h2></div> <div id="search_field_loc"><h2><strong>메뉴상세조회및 수정</strong></h2></div>
</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" > <div class="modify_user" >
<table summary="메뉴상세정보"> <table summary="메뉴상세정보">
@ -149,7 +149,7 @@ function press() {
<table border="0" cellspacing="0" cellpadding="0" align="center"> <table border="0" cellspacing="0" cellpadding="0" align="center">
<tr> <tr>
<td> <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>
<td width="10"></td> <td width="10"></td>
<td> <td>

@ -22,7 +22,7 @@ function insertMenuManage(form) {
return; return;
}else{ }else{
if(confirm("<spring:message code="common.save.msg" />")){ 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(); form.submit();
} }
} }
@ -40,7 +40,7 @@ function searchFileNm() {
* 목록조회 함수 * 목록조회 함수
******************************************************** */ ******************************************************** */
function selectList(){ 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 목록조회 함수 * 파일명 엔터key 목록조회 함수
@ -67,7 +67,7 @@ function press() {
<div id="search_field"> <div id="search_field">
<div id="search_field_loc"><h2><strong>메뉴 등록</strong></h2></div> <div id="search_field_loc"><h2><strong>메뉴 등록</strong></h2></div>
</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" > <div class="modify_user" >
<table summary="메뉴 등록화면"> <table summary="메뉴 등록화면">

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

@ -65,7 +65,7 @@ function fDeleteMenuList() {
} }
document.menuManageForm.checkedMenuNoForDel.value=checkMenuNos; 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(); document.menuManageForm.submit();
} }
@ -75,7 +75,7 @@ function fDeleteMenuList() {
function linkPage(pageNo){ function linkPage(pageNo){
// document.menuManageForm.searchKeyword.value = // document.menuManageForm.searchKeyword.value =
document.menuManageForm.pageIndex.value = pageNo; 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(); document.menuManageForm.submit();
} }
@ -84,7 +84,7 @@ function linkPage(pageNo){
******************************************************** */ ******************************************************** */
function selectMenuManageList() { function selectMenuManageList() {
document.menuManageForm.pageIndex.value = 1; 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(); document.menuManageForm.submit();
} }
@ -92,7 +92,7 @@ function selectMenuManageList() {
* 입력 화면 호출 함수 * 입력 화면 호출 함수
******************************************************** */ ******************************************************** */
function insertMenuManage() { 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(); document.menuManageForm.submit();
} }
@ -100,7 +100,7 @@ function insertMenuManage() {
* 일괄처리 화면호출 함수 * 일괄처리 화면호출 함수
******************************************************** */ ******************************************************** */
function bndeInsertMenuManage() { 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(); document.menuManageForm.submit();
} }
/* ******************************************************** /* ********************************************************
@ -108,7 +108,7 @@ function bndeInsertMenuManage() {
******************************************************** */ ******************************************************** */
function selectUpdtMenuManageDetail(menuNo) { function selectUpdtMenuManageDetail(menuNo) {
document.menuManageForm.menuNo.value = 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(); 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"/> <input type="submit" id="invisible" class="invisible"/>

@ -55,12 +55,12 @@
<script type="text/javaScript"> <script type="text/javaScript">
$(document).ready(function(){ $(document).ready(function(){
XitMenuCreateMng_list.init(); mngMenuCreateMgtForm.init();
}); });
/* ******************************* /* *******************************
* 메뉴생성 관리 Functions * 메뉴생성 관리 Functions
******************************* */ ******************************* */
var XitMenuCreateMng_list = { var mngMenuCreateMgtForm = {
init : function(){ init : function(){
/* ****************************** /* ******************************
@ -114,7 +114,7 @@ var XitMenuCreateMng_list = {
} }
return obj; return obj;
} }
,eventFunction: XitMenuCreateMng_list.fnClickMenuCreateBtn //function(){alert("1234")} ,eventFunction: mngMenuCreateMgtForm.fnClickMenuCreateBtn //function(){alert("1234")}
,eventType : "click" ,eventType : "click"
} }
} }
@ -127,14 +127,13 @@ var XitMenuCreateMng_list = {
//initialRequest: true, // 화면 load시 조회 않함 - default //initialRequest: true, // 화면 load시 조회 않함 - default
api: { api: {
readData: { readData: {
url: '<c:url value="/_mng_/menu/create/MenuCreateMng_list.ajax"/>' url: '<c:url value="/framework/biz/mng/menu/MenuCreateMng_list.ajax"/>'
, method: 'get' , method: 'get'
, serializer: (params) => { , serializer: (params) => fnAddPageInfo(document.frmSearch, params)
debugger /*debugger
const p = fnAddPageInfo(document.frmSearch, params); const p = fnAddPageInfo(document.frmSearch, params);
console.log(p); console.log(p);
return p; return p;*/
}
} }
} }
} }
@ -197,7 +196,7 @@ var XitMenuCreateMng_list = {
document.frmSearch.submit(); document.frmSearch.submit();
break; break;
case "popup": //팝업 OPEN case "popup": //팝업 OPEN
XitMenuCreateMng_list.pagePopup(flag, url, params); mngMenuCreateMgtForm.pagePopup(flag, url, params);
break; break;
default: default:
break; break;
@ -234,7 +233,7 @@ var XitMenuCreateMng_list = {
var rowData = props.grid.getRow(props.rowKey); var rowData = props.grid.getRow(props.rowKey);
var params = ""; var params = "";
params += "authorCode=" + rowData.authorCode; params += "authorCode=" + rowData.authorCode;
XitMenuCreateMng_list.pagePopup('input', "<c:url value='/_mng_/menu/create/MenuCreateMng_input.do'/>", params); mngMenuCreateMgtForm.pagePopup('input', "<c:url value='/framework/biz/mng/menu/mngMenuCreateMgt_input.do'/>", params);
} }
} }

@ -9,11 +9,11 @@
String imagePath_button = "/images/egovframework/sym/mpm/button/"; 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"> <script type="text/javaScript">
var imgpath = "<c:url value='/'/>resourcesimages/tree/"; var imgpath = "<c:url value='/'/>resources/images/tree/";
</script> <%--</script>--%>
<script language="javascript1.2" type="text/javaScript"> <%--<script language="javascript1.2" type="text/javaScript">--%>
$(document).ready(function(){ $(document).ready(function(){
/* ******************************************************** /* ********************************************************
* 체크박스 Event Listener 설정 * 체크박스 Event Listener 설정
@ -75,7 +75,7 @@ function fInsertMenuCreat() {
} }
document.menuCreatManageForm.checkedMenuNoForInsert.value=checkMenuNos; document.menuCreatManageForm.checkedMenuNoForInsert.value=checkMenuNos;
document.menuCreatManageForm.checkedAuthorForInsert.value=document.menuCreatManageForm.authorCode.value; 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(); document.menuCreatManageForm.submit();
} }
@ -157,6 +157,7 @@ function fInsertMenuCreat() {
if( chk_Object ){ if( chk_Object ){
for (var j = 0; j < document.menuCreatManageForm.tmp_menuNmVal.length; j++) { for (var j = 0; j < document.menuCreatManageForm.tmp_menuNmVal.length; j++) {
Tree[j] = document.menuCreatManageForm.tmp_menuNmVal[j].value; Tree[j] = document.menuCreatManageForm.tmp_menuNmVal[j].value;
} }
createTree(Tree); createTree(Tree);
}else{ }else{

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

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

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

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

Loading…
Cancel
Save