설정 파일 제거

main
이범준 1 year ago
parent a4233ea1da
commit 84bc0cb8af

@ -76,25 +76,6 @@
</dependency> </dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>javax.servlet.jsp-api</artifactId>
<version>2.3.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<!-- id제네레이터 --> <!-- id제네레이터 -->
<dependency> <dependency>
@ -107,10 +88,6 @@
<artifactId>org.egovframe.rte.fdl.idgnr</artifactId> <artifactId>org.egovframe.rte.fdl.idgnr</artifactId>
<version>4.1.0</version> <version>4.1.0</version>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
@ -143,40 +120,6 @@
</distributionManagement> </distributionManagement>
<!-- Nexus deploy --> <!-- Nexus deploy -->
<profiles>
<!-- default : local configuration -->
<profile>
<id>local</id>
<properties>
<env>local</env>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<!-- dev configuration -->
<profile>
<id>dev</id>
<properties>
<env>dev</env>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
</profile>
<!-- prod configuration -->
<profile>
<id>prod</id>
<properties>
<env>prod</env>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
</profile>
</profiles>
</project> </project>

@ -1,71 +0,0 @@
package cokr.xit.fims.biz.ens.adm;
import cokr.xit.fims.framework.core.XitBaseSearchVO;
public class SendRqstMngSearchVO extends XitBaseSearchVO {
/**
* serialVersionUID
*/
private static final long serialVersionUID = 1L;
private String schDateOpt; //날짜검색옵션
private String schDateFrom; //날짜검색 시작
private String schDateTo; //날짜검색 끝
private String schSndngProcessSttus; //발송처리상태
private String schWord; //검색
private String schWordOpt; //검색어 옵션
private String elctrnNticSndngId;
public String getSchDateFrom() {
return schDateFrom;
}
public void setSchDateFrom(String schDateFrom) {
this.schDateFrom = schDateFrom;
}
public String getSchDateTo() {
return schDateTo;
}
public void setSchDateTo(String schDateTo) {
this.schDateTo = schDateTo;
}
public String getSchWord() {
return schWord;
}
public void setSchWord(String schWord) {
this.schWord = schWord;
}
public String getSchDateOpt() {
return schDateOpt;
}
public void setSchDateOpt(String schDateOpt) {
this.schDateOpt = schDateOpt;
}
public String getSchSndngProcessSttus() {
return schSndngProcessSttus;
}
public void setSchSndngProcessSttus(String schSndngProcessSttus) {
this.schSndngProcessSttus = schSndngProcessSttus;
}
public String getSchWordOpt() {
return schWordOpt;
}
public void setSchWordOpt(String schWordOpt) {
this.schWordOpt = schWordOpt;
}
public String getElctrnNticSndngId() {
return elctrnNticSndngId;
}
public void setElctrnNticSndngId(String elctrnNticSndngId) {
this.elctrnNticSndngId = elctrnNticSndngId;
}
}

@ -1,219 +0,0 @@
package cokr.xit.fims.biz.ens.adm;
import cokr.xit.fims.framework.core.BaseVO;
public class SendRqstMngVO extends BaseVO {
/**
* serialVersionUID
*/
private static final long serialVersionUID = 1L;
private String elctrnNticSndngId; //전자 고지 발송 ID
private String nhtTmplatId; //고지서 템플릿 ID
private String sndngProcessSttus; //발송 처리 상태
private String regDt; //접수 일시
private String sendngTyCode; //접수 일시
private String sndngCo; //발송 건수
private String sndngDt; //발송 일시
private String closDt; //마감 일시
private String nhtNm; //통지서 이름
private String mainCode; //코드
private String elctrnNticSndngDetailId; //전자 고지 발송 디테일 ID
private String signguCode; //시군구 코드
private String signguCodeNm; //시군구 코드명
private String ihidnum; //주민등록번호
private String cnDetail; //내용 상세
private String mobilePageCn; //모바일 내용 상세
private String rgtr; //작성자
private String mdfcnDt; //수정 일자
private String mdfr; //수정자
private String requstDt; //요청 일시
private String inqireDt; //조회 일시
private String readngDt; //열람 일시
private String sndngResultCode; //발송 결과 코드
private String errorCn; //오류내용
private String mmCarno; //차량번호
private String omName; //미납자명
private String searchCode; //검색조건 code
private String searchCodeNm; //검색조건 code 명
public String getElctrnNticSndngId() {
return elctrnNticSndngId;
}
public void setElctrnNticSndngId(String elctrnNticSndngId) {
this.elctrnNticSndngId = elctrnNticSndngId;
}
public String getNhtTmplatId() {
return nhtTmplatId;
}
public void setNhtTmplatId(String nhtTmplatId) {
this.nhtTmplatId = nhtTmplatId;
}
public String getRegDt() {
return regDt;
}
public void setRegDt(String regDt) {
this.regDt = regDt;
}
public String getSndngDt() {
return sndngDt;
}
public void setSndngDt(String sndngDt) {
this.sndngDt = sndngDt;
}
public String getClosDt() {
return closDt;
}
public void setClosDt(String closDt) {
this.closDt = closDt;
}
public String getNhtNm() {
return nhtNm;
}
public void setNhtNm(String nhtNm) {
this.nhtNm = nhtNm;
}
public String getMainCode() {
return mainCode;
}
public void setMainCode(String mainCode) {
this.mainCode = mainCode;
}
public String getElctrnNticSndngDetailId() {
return elctrnNticSndngDetailId;
}
public void setElctrnNticSndngDetailId(String elctrnNticSndngDetailId) {
this.elctrnNticSndngDetailId = elctrnNticSndngDetailId;
}
public String getSignguCode() {
return signguCode;
}
public void setSignguCode(String signguCode) {
this.signguCode = signguCode;
}
public String getIhidnum() {
return ihidnum;
}
public void setIhidnum(String ihidnum) {
this.ihidnum = ihidnum;
}
public String getCnDetail() {
return cnDetail;
}
public void setCnDetail(String cnDetail) {
this.cnDetail = cnDetail;
}
public String getMobilePageCn() {
return mobilePageCn;
}
public void setMobilePageCn(String mobilePageCn) {
this.mobilePageCn = mobilePageCn;
}
public String getRgtr() {
return rgtr;
}
public void setRgtr(String rgtr) {
this.rgtr = rgtr;
}
public String getMdfcnDt() {
return mdfcnDt;
}
public void setMdfcnDt(String mdfcnDt) {
this.mdfcnDt = mdfcnDt;
}
public String getMdfr() {
return mdfr;
}
public void setMdfr(String mdfr) {
this.mdfr = mdfr;
}
public String getSndngProcessSttus() {
return sndngProcessSttus;
}
public void setSndngProcessSttus(String sndngProcessSttus) {
this.sndngProcessSttus = sndngProcessSttus;
}
public String getRequstDt() {
return requstDt;
}
public void setRequstDt(String requstDt) {
this.requstDt = requstDt;
}
public String getInqireDt() {
return inqireDt;
}
public void setInqireDt(String inqireDt) {
this.inqireDt = inqireDt;
}
public String getReadngDt() {
return readngDt;
}
public void setReadngDt(String readngDt) {
this.readngDt = readngDt;
}
public String getSndngResultCode() {
return sndngResultCode;
}
public void setSndngResultCode(String sndngResultCode) {
this.sndngResultCode = sndngResultCode;
}
public String getSndngCo() {
return sndngCo;
}
public void setSndngCo(String sndngCo) {
this.sndngCo = sndngCo;
}
public String getSendngTyCode() {
return sendngTyCode;
}
public void setSendngTyCode(String sendngTyCode) {
this.sendngTyCode = sendngTyCode;
}
public String getSignguCodeNm() {
return signguCodeNm;
}
public void setSignguCodeNm(String signguCodeNm) {
this.signguCodeNm = signguCodeNm;
}
public String getErrorCn() {
return errorCn;
}
public void setErrorCn(String errorCn) {
this.errorCn = errorCn;
}
public String getMmCarno() {
return mmCarno;
}
public void setMmCarno(String mmCarno) {
this.mmCarno = mmCarno;
}
public String getOmName() {
return omName;
}
public void setOmName(String omName) {
this.omName = omName;
}
public String getSearchCode() {
return searchCode;
}
public void setSearchCode(String searchCode) {
this.searchCode = searchCode;
}
public String getSearchCodeNm() {
return searchCodeNm;
}
public void setSearchCodeNm(String searchCodeNm) {
this.searchCodeNm = searchCodeNm;
}
}

@ -1,38 +0,0 @@
package cokr.xit.fims.biz.ens.adm;
import cokr.xit.fims.framework.core.XitBaseSearchVO;
public class StatsBySignTalkByYearSearchVO extends XitBaseSearchVO {
/**
* serialVersionUID
*/
private static final long serialVersionUID = 1L;
private String schSignguCode; //시군구 코드
private String schDateFrom; //조회기간 from
private String schDateTo; //조회기간 to
public String getSchDateFrom() {
return schDateFrom;
}
public void setSchDateFrom(String schDateFrom) {
this.schDateFrom = schDateFrom;
}
public String getSchDateTo() {
return schDateTo;
}
public void setSchDateTo(String schDateTo) {
this.schDateTo = schDateTo;
}
public String getSchSignguCode() {
return schSignguCode;
}
public void setSchSignguCode(String schSignguCode) {
this.schSignguCode = schSignguCode;
}
}

@ -1,105 +0,0 @@
package cokr.xit.fims.biz.ens.adm;
import cokr.xit.fims.framework.core.BaseVO;
public class StatsBySignTalkByYearVO extends BaseVO {
/**
* serialVersionUID
*/
private static final long serialVersionUID = 1L;
private String signguCode; //시군구 코드
private String signguCodeNm; //시군구 명
private String sndngCo; //발송 건수
private String sndngCoSuccess; //발송 건수 성공
private String sndngCoFail; //발송 건수 실패
private String inqireDt; //조회 일시
private String inqireDtCount; //조회 일시 conut
private String readngDt; //열람 일시
private String readngDtCount; //열람 일시 count
private String sndngDt; //발송 일시
private String nhtTmplatId; //통지서ID
private String nhtNm; //통지서명
private String sndngYear; //연도
public String getSndngCo() {
return sndngCo;
}
public void setSndngCo(String sndngCo) {
this.sndngCo = sndngCo;
}
public String getInqireDt() {
return inqireDt;
}
public void setInqireDt(String inqireDt) {
this.inqireDt = inqireDt;
}
public String getReadngDt() {
return readngDt;
}
public void setReadngDt(String readngDt) {
this.readngDt = readngDt;
}
public String getInqireDtCount() {
return inqireDtCount;
}
public void setInqireDtCount(String inqireDtCount) {
this.inqireDtCount = inqireDtCount;
}
public String getReadngDtCount() {
return readngDtCount;
}
public void setReadngDtCount(String readngDtCount) {
this.readngDtCount = readngDtCount;
}
public String getSndngDt() {
return sndngDt;
}
public void setSndngDt(String sndngDt) {
this.sndngDt = sndngDt;
}
public String getSignguCode() {
return signguCode;
}
public void setSignguCode(String signguCode) {
this.signguCode = signguCode;
}
public String getSndngCoFail() {
return sndngCoFail;
}
public void setSndngCoFail(String sndngCoFail) {
this.sndngCoFail = sndngCoFail;
}
public String getSndngCoSuccess() {
return sndngCoSuccess;
}
public void setSndngCoSuccess(String sndngCoSuccess) {
this.sndngCoSuccess = sndngCoSuccess;
}
public String getSignguCodeNm() {
return signguCodeNm;
}
public void setSignguCodeNm(String signguCodeNm) {
this.signguCodeNm = signguCodeNm;
}
public String getNhtTmplatId() {
return nhtTmplatId;
}
public void setNhtTmplatId(String nhtTmplatId) {
this.nhtTmplatId = nhtTmplatId;
}
public String getNhtNm() {
return nhtNm;
}
public void setNhtNm(String nhtNm) {
this.nhtNm = nhtNm;
}
public String getSndngYear() {
return sndngYear;
}
public void setSndngYear(String sndngYear) {
this.sndngYear = sndngYear;
}
}

@ -1,18 +0,0 @@
package cokr.xit.fims.biz.ens.adm.dao;
import java.sql.SQLException;
import java.util.List;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import cokr.xit.fims.biz.ens.adm.SendRqstMngVO;
import cokr.xit.fims.biz.ens.adm.SendRqstMngSearchVO;
import cokr.xit.fims.biz.ens.cmm.struct.EnsMapperStrategy;
@Mapper
public interface SendRqstMngMapper extends EnsMapperStrategy<SendRqstMngVO, SendRqstMngSearchVO>{
public List<SendRqstMngVO> findViewList(SendRqstMngSearchVO searchVO) throws SQLException;
public List<SendRqstMngVO> findSndngProcessSttus();
}

@ -1,15 +0,0 @@
package cokr.xit.fims.biz.ens.adm.dao;
import java.util.List;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import cokr.xit.fims.biz.ens.adm.StatsBySignTalkByYearSearchVO;
import cokr.xit.fims.biz.ens.adm.StatsBySignTalkByYearVO;
import cokr.xit.fims.biz.ens.cmm.struct.EnsMapperStrategy;
@Mapper
public interface StatsBySignTalkByYearMapper extends EnsMapperStrategy<StatsBySignTalkByYearVO, StatsBySignTalkByYearSearchVO>{
public List<StatsBySignTalkByYearVO> findSignguCode();
}

@ -1,16 +0,0 @@
package cokr.xit.fims.biz.ens.adm.service;
import java.util.List;
import cokr.xit.fims.biz.ens.adm.SendRqstMngVO;
import cokr.xit.fims.biz.ens.adm.SendRqstMngSearchVO;
import cokr.xit.fims.biz.ens.cmm.struct.EnsServiceStrategy;
public interface SendRqstMngService extends EnsServiceStrategy<SendRqstMngVO, SendRqstMngSearchVO>{
public List<SendRqstMngVO> findViewList(SendRqstMngSearchVO searchVO);
public List<SendRqstMngVO> findSndngProcessSttus();
}

@ -1,14 +0,0 @@
package cokr.xit.fims.biz.ens.adm.service;
import java.util.List;
import cokr.xit.fims.biz.ens.adm.StatsBySignTalkByYearSearchVO;
import cokr.xit.fims.biz.ens.adm.StatsBySignTalkByYearVO;
import cokr.xit.fims.biz.ens.cmm.struct.EnsServiceStrategy;
public interface StatsBySignTalkByYearService extends EnsServiceStrategy<StatsBySignTalkByYearVO, StatsBySignTalkByYearSearchVO>{
public List<StatsBySignTalkByYearVO> findSignguCode();
}

@ -1,72 +0,0 @@
package cokr.xit.fims.biz.ens.adm.service.bean;
import java.sql.SQLException;
import java.util.List;
import cokr.xit.foundation.component.AbstractServiceBean;
import org.springframework.stereotype.Service;
import cokr.xit.fims.biz.ens.adm.SendRqstMngSearchVO;
import cokr.xit.fims.biz.ens.adm.SendRqstMngVO;
import cokr.xit.fims.biz.ens.adm.dao.SendRqstMngMapper;
import cokr.xit.fims.biz.ens.adm.service.SendRqstMngService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
@Slf4j
@AllArgsConstructor
@Service
public class SendRqstMngServiceBean extends AbstractServiceBean implements SendRqstMngService {
private final SendRqstMngMapper sendRqstMngMapper;
@Override
public List<SendRqstMngVO> findList(SendRqstMngSearchVO searchVO) {
try {
return sendRqstMngMapper.findList(searchVO);
} catch (SQLException e) {
throw new RuntimeException("발송예약관리 다건 조회 FAIL::", e);
}
}
@Override
public SendRqstMngVO findView(SendRqstMngVO vo) {
try {
return sendRqstMngMapper.findView(vo);
} catch (SQLException e) {
throw new RuntimeException("발송예약관리 단건 조회 FAIL::", e);
}
}
@Override
public List<SendRqstMngVO> findViewList(SendRqstMngSearchVO searchVO) {
try {
return sendRqstMngMapper.findViewList(searchVO);
} catch (SQLException e) {
throw new RuntimeException("발송예약관리 팝업 다건 조회 FAIL::", e);
}
}
@Override
public void addProc(SendRqstMngVO vo) {
sendRqstMngMapper.addProc(vo);
}
@Override
public void modifyProc(SendRqstMngVO vo) {
sendRqstMngMapper.modifyProc(vo);
}
@Override
public void removeProc(SendRqstMngVO vo) {
sendRqstMngMapper.removeProc(vo);
}
@Override
public List<SendRqstMngVO> findSndngProcessSttus() {
return sendRqstMngMapper.findSndngProcessSttus();
}
}

@ -1,61 +0,0 @@
package cokr.xit.fims.biz.ens.adm.service.bean;
import java.sql.SQLException;
import java.util.List;
import javax.annotation.Resource;
import cokr.xit.foundation.component.AbstractServiceBean;
import org.springframework.stereotype.Service;
import cokr.xit.fims.biz.ens.adm.StatsBySignTalkByYearSearchVO;
import cokr.xit.fims.biz.ens.adm.StatsBySignTalkByYearVO;
import cokr.xit.fims.biz.ens.adm.dao.StatsBySignTalkByYearMapper;
import cokr.xit.fims.biz.ens.adm.service.StatsBySignTalkByYearService;
@Service
public class StatsBySignTalkByYearServiceBean extends AbstractServiceBean implements StatsBySignTalkByYearService {
@Resource
private StatsBySignTalkByYearMapper statsBySignTalkByYearMapper;
@Override
public List<StatsBySignTalkByYearVO> findList(StatsBySignTalkByYearSearchVO searchVO) {
try {
return statsBySignTalkByYearMapper.findList(searchVO);
} catch (SQLException e) {
throw new RuntimeException("인증톡 연도별 통계 다건 조회 FAIL::", e);
}
}
@Override
public StatsBySignTalkByYearVO findView(StatsBySignTalkByYearVO vo) {
try {
return statsBySignTalkByYearMapper.findView(vo);
} catch (SQLException e) {
throw new RuntimeException("인증톡 연도별 통계 단건 조회 FAIL::", e);
}
}
@Override
public void addProc(StatsBySignTalkByYearVO vo) {
statsBySignTalkByYearMapper.addProc(vo);
}
@Override
public void modifyProc(StatsBySignTalkByYearVO vo) {
statsBySignTalkByYearMapper.modifyProc(vo);
}
@Override
public void removeProc(StatsBySignTalkByYearVO vo) {
statsBySignTalkByYearMapper.removeProc(vo);
}
@Override
public List<StatsBySignTalkByYearVO> findSignguCode() {
return statsBySignTalkByYearMapper.findSignguCode();
}
}

@ -1,304 +0,0 @@
package cokr.xit.fims.biz.ens.adm.web;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import cokr.xit.foundation.web.AbstractController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.AccessDeniedException;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.egovframe.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
import cokr.xit.fims.biz.ens.adm.SendRqstMngSearchVO;
import cokr.xit.fims.biz.ens.adm.SendRqstMngVO;
import cokr.xit.fims.biz.ens.adm.service.SendRqstMngService;
import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.validation.XitBeanValidator;
import lombok.extern.slf4j.Slf4j;
import cokr.xit.fims.biz.ens.cmm.EnsConst;
/**
*
* <ul>
* <li> : </li>
* <li> : .</li>
* <li>: 2021. 9. 16. 6:51:43
* </ul>
*
* @author
*
*/
@Slf4j
@Controller
@RequestMapping(name = "", value = "/adm/send/rqst/mng/")
public class SendRqstMngController extends AbstractController {
@Resource(name = "messageSource")
private ReloadableResourceBundleMessageSource messageSource;
@Autowired
private SendRqstMngService sendRqstMngService;
@Autowired
private XitBeanValidator xitBeanValidator;
/**
* <pre> : </pre>
* @param req
* @return String
* @author:
* @date: 2021. 9. 16.
*/
@GetMapping(name = "", value = "main")
public String main(HttpServletRequest req, Model model) {
List<SendRqstMngVO> searchCodeList = sendRqstMngService.findSndngProcessSttus();
model.addAttribute("searchCodeList", searchCodeList);
return EnsConst.JSP_BASE_PATH
+"adm/SendRqstMng"
+"_"+new Object() {}.getClass().getEnclosingMethod().getName() //메소드명
;
}
/**
* <pre> : </pre>
* @param req
* @return String
* @author:
* @date: 2021. 9. 16.
*/
@GetMapping(name = "", value = "finds")
public String finds(HttpServletRequest req, Model model, SendRqstMngSearchVO searchVO) {
/** paging */
PaginationInfo paginationInfo = new PaginationInfo();
paginationInfo.setCurrentPageNo(searchVO.getPageNum()>-1?searchVO.getPageNum():searchVO.getPageIndex());
paginationInfo.setRecordCountPerPage(searchVO.getFetchSize()>-1?searchVO.getFetchSize():searchVO.getPageUnit());
paginationInfo.setPageSize(searchVO.getPageSize());
searchVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
searchVO.setLastIndex(paginationInfo.getLastRecordIndex());
searchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
try {
/**
*
*/
List<SendRqstMngVO> list = sendRqstMngService.findList(searchVO);
final int totCnt = list.size()>0 ? list.get(0).getTotCnt() : list.size();
paginationInfo.setTotalRecordCount(totCnt);
/**
*
*/
/* ***************************
* tui Grid Response Set
*************************** */
model.addAttribute("result", true); //[tui Grid] result
model.addAttribute("message", "정상적으로 조회 되었습니다."); //[tui Grid] result message
Map<String, Object> data = new HashMap<String, Object>();
data.put("contents", list); //[tui Grid] data-contents
Map<String, Integer> pagination = new HashMap<String, Integer>();
pagination.put("pageNum", searchVO.getPageNum());
pagination.put("totalSize", totCnt);
data.put("pagination", pagination); //[tui Grid] data-paging
model.addAttribute("data", data); //[tui Grid] data
/* ***************************
* //tui Grid Response Set
*************************** */
} catch (AccessDeniedException e) {
/**
*
*/
//tui Grid Response Set
model.addAttribute("result", false); //[tui Grid] result
model.addAttribute("message", "요청에 대한 권한이 없습니다."); //[tui Grid] result message
} catch (Exception e) {
/**
*
*/
//tui Grid Response Set
model.addAttribute("result", false); //[tui Grid] result
model.addAttribute("message", "조회에 실패하였습니다."); //[tui Grid] result message
}
return FrameworkConstants.JSON_VIEW;
}
/**
* <pre> : </pre>
* @param req
* @return String
* @author:
* @date: 2021. 9. 16.
*/
@GetMapping(name = "", value = "detail")
public String detail(HttpServletRequest req, Model model, SendRqstMngVO sendRqstMngVO) {
String elctrn_ntic_sndng_id = req.getParameter("selectedId");
sendRqstMngVO.setElctrnNticSndngId(elctrn_ntic_sndng_id);
//단건조회 서비스호출
sendRqstMngVO = sendRqstMngService.findView(sendRqstMngVO);
model.addAttribute("contents", sendRqstMngVO);
log.info("========"+sendRqstMngVO.getNhtNm());
return EnsConst.JSP_BASE_PATH
+"adm/SendRqstMng"
+"_"+new Object() {}.getClass().getEnclosingMethod().getName() //메소드명
;
}
/**
* <pre> : </pre>
* @param req
* @return String
* @author:
* @date: 2021. 9. 16.
*/
@GetMapping(name = "", value = "find")
public String find(HttpServletRequest req, Model model, SendRqstMngSearchVO searchVO, SendRqstMngVO sendRqstMngVO) {
// String elctrn_ntic_sndng_id = req.getParameter("elctrn_ntic_sndng_id");
// sendRqstMngVO.setElctrn_ntic_sndng_id(elctrn_ntic_sndng_id);
/** paging */
PaginationInfo paginationInfo = new PaginationInfo();
paginationInfo.setCurrentPageNo(searchVO.getPageNum()>-1?searchVO.getPageNum():searchVO.getPageIndex());
paginationInfo.setRecordCountPerPage(searchVO.getFetchSize()>-1?searchVO.getFetchSize():searchVO.getPageUnit());
paginationInfo.setPageSize(searchVO.getPageSize());
searchVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
searchVO.setLastIndex(paginationInfo.getLastRecordIndex());
searchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
try {
//sendRqstMngVO.setElctrn_ntic_sndng_id(req.getParameter("elctrn_ntic_sndng_id"));
/**
*
*/
// List<SendRqstMngVO> list = sendRqstMngService.findViewList(sendRqstMngVO);
List<SendRqstMngVO> list = sendRqstMngService.findViewList(searchVO);
final int totCnt = list.size()>0 ? list.get(0).getTotCnt() : list.size();
paginationInfo.setTotalRecordCount(totCnt);
/**
*
*/
/* ***************************
* tui Grid Response Set
*************************** */
model.addAttribute("result", true); //[tui Grid] result
model.addAttribute("message", "정상적으로 조회 되었습니다."); //[tui Grid] result message
Map<String, Object> data = new HashMap<String, Object>();
data.put("contents", list); //[tui Grid] data-contents
Map<String, Integer> pagination = new HashMap<String, Integer>();
pagination.put("pageNum", searchVO.getPageNum());
pagination.put("totalSize", totCnt);
data.put("pagination", pagination); //[tui Grid] data-paging
model.addAttribute("data", data); //[tui Grid] data
/* ***************************
* //tui Grid Response Set
*************************** */
} catch (AccessDeniedException e) {
/**
*
*/
//tui Grid Response Set
model.addAttribute("result", false); //[tui Grid] result
model.addAttribute("message", "요청에 대한 권한이 없습니다."); //[tui Grid] result message
} catch (Exception e) {
/**
*
*/
//tui Grid Response Set
model.addAttribute("result", false); //[tui Grid] result
model.addAttribute("message", "조회에 실패하였습니다."); //[tui Grid] result message
}
return FrameworkConstants.JSON_VIEW;
}
/**
* <pre> : </pre>
* @param req
* @return String
* @author:
* @date: 2021. 9. 16.
*/
@PostMapping(name = "", value = "proc")
public String insert(HttpServletRequest req, Model model) {
return FrameworkConstants.JSON_VIEW;
}
/**
* <pre> : </pre>
* @param req
* @return String
* @author:
* @date: 2021. 9. 16.
*/
@PutMapping(name = "", value = "proc")
public String update(@RequestBody SendRqstMngVO vo, HttpServletRequest req, Model model, SendRqstMngVO sendRqstMngVO, BindingResult bindingResult) {
String elctrn_ntic_sndng_id = req.getParameter("selectedId");
sendRqstMngVO.setElctrnNticSndngId(elctrn_ntic_sndng_id);
/**
*
*/
xitBeanValidator.validate(vo, bindingResult);
if (bindingResult.hasErrors()) { //유효성검증에 실패 했을 경우..
model.addAttribute("result", "fail");
model.addAttribute("message", "생성에 실패하였습니다.");
model.addAttribute("errors", bindingResult.getFieldErrors());
return FrameworkConstants.JSON_VIEW;
}
/**
*
*/
try {
sendRqstMngService.modifyProc(vo);
model.addAttribute("result", "success");
model.addAttribute("message", "정상적으로 등록 되었습니다.");
} catch (Exception e) {
model.addAttribute("result", "fail");
model.addAttribute("message", "생성에 실패하였습니다.");
model.addAttribute("errors", e.getMessage());
}
return FrameworkConstants.JSON_VIEW;
}
}

@ -1,219 +0,0 @@
package cokr.xit.fims.biz.ens.adm.web;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import cokr.xit.foundation.web.AbstractController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.egovframe.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
import cokr.xit.fims.biz.ens.adm.StatsBySignTalkByYearSearchVO;
import cokr.xit.fims.biz.ens.adm.StatsBySignTalkByYearVO;
import cokr.xit.fims.biz.ens.adm.service.StatsBySignTalkByYearService;
import cokr.xit.fims.biz.ens.cmm.EnsConst;
import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
/**
*
* <ul>
* <li> : </li>
* <li> : .</li>
* <li>: 2021. 9. 17. 6:51:43
* </ul>
*
* @author
*
*/
@Slf4j
@AllArgsConstructor
@Controller
@RequestMapping(name = "", value = "/adm/stats/by/sign/talk/by/year/")
public class StatsBySignTalkByYearController extends AbstractController {
private final ReloadableResourceBundleMessageSource messageSource;
private final StatsBySignTalkByYearService statsBySignTalkByYearService;
/**
* <pre> : </pre>
* @param req
* @return String
* @author:
* @date: 2021. 9. 27.
*/
@GetMapping(name = "", value = "main")
public String main(HttpServletRequest req, Model model) {
List<StatsBySignTalkByYearVO> searchSignguCodeList = statsBySignTalkByYearService.findSignguCode();
model.addAttribute("searchSignguCodeList", searchSignguCodeList);
return EnsConst.JSP_BASE_PATH
+"adm/StatsBySignTalkByYear"
+"_"+new Object() {}.getClass().getEnclosingMethod().getName() //메소드명
;
}
/**
* <pre> : </pre>
* @param req
* @return String
* @author:
* @date: 2021. 9. 27.
*/
@GetMapping(name = "", value = "finds")
public String finds(HttpServletRequest req, Model model, StatsBySignTalkByYearSearchVO searchVO) {
/** paging */
PaginationInfo paginationInfo = new PaginationInfo();
paginationInfo.setCurrentPageNo(searchVO.getPageNum()>-1?searchVO.getPageNum():searchVO.getPageIndex());
paginationInfo.setRecordCountPerPage(searchVO.getFetchSize()>-1?searchVO.getFetchSize():searchVO.getPageUnit());
paginationInfo.setPageSize(searchVO.getPageSize());
searchVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
searchVO.setLastIndex(paginationInfo.getLastRecordIndex());
searchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
try {
/**
*
*/
List<StatsBySignTalkByYearVO> list = statsBySignTalkByYearService.findList(searchVO);
final int totCnt = list.size()>0 ? list.get(0).getTotCnt() : list.size();
paginationInfo.setTotalRecordCount(totCnt);
/**
*
*/
/* ***************************
* tui Grid Response Set
*************************** */
model.addAttribute("result", true); //[tui Grid] result
model.addAttribute("message", "정상적으로 조회 되었습니다."); //[tui Grid] result message
Map<String, Object> data = new HashMap<String, Object>();
data.put("contents", list); //[tui Grid] data-contents
Map<String, Integer> pagination = new HashMap<String, Integer>();
pagination.put("pageNum", searchVO.getPageNum());
pagination.put("totalSize", totCnt);
data.put("pagination", pagination); //[tui Grid] data-paging
model.addAttribute("data", data); //[tui Grid] data
/* ***************************
* //tui Grid Response Set
*************************** */
} catch (Exception e) {
/**
*
*/
//tui Grid Response Set
model.addAttribute("result", false); //[tui Grid] result
model.addAttribute("message", "조회에 실패하였습니다."); //[tui Grid] result message
}
return FrameworkConstants.JSON_VIEW;
}
/**
* <pre> : </pre>
* @param req
* @return String
* @author:
* @date: 2021. 9. 27.
*/
@GetMapping(name = "", value = "find")
public String find(HttpServletRequest req, Model model, StatsBySignTalkByYearSearchVO searchVO) {
return FrameworkConstants.JSON_VIEW;
}
/**
* <pre> : </pre>
* @param req
* @return String
* @author:
* @date: 2021. 9. 27.
*/
@PostMapping(name = "", value = "proc")
public String insert(HttpServletRequest req, Model model) {
return FrameworkConstants.JSON_VIEW;
}
/**
* <pre> : </pre>
* @param req
* @return String
* @author:
* @date: 2021. 9. 27.
*/
@PutMapping(name = "", value = "proc")
public String update(HttpServletRequest req, Model model) {
return FrameworkConstants.JSON_VIEW;
}
/**
* <pre> : </pre>
* @param req
* @return String
* @author:
* @date: 2021. 9. 27.
*/
@DeleteMapping(name = "", value = "proc")
public String delete(HttpServletRequest req, Model model) {
return FrameworkConstants.JSON_VIEW;
}
/**
* <pre> : </pre>
* @param request HttpServletRequest
* @param response HttpServletResponse
* @author:
* @throws Exception
* @date: 2021. 10. 14.
*/
@GetMapping(name = "", value="excel")
public String excel(HttpServletRequest request, HttpServletResponse response, ModelMap model, StatsBySignTalkByYearSearchVO searchVO) throws Exception {
response.setHeader("Content-disposition", "attachment; filename=" + XitCmmnUtil.getFileNameForDownload(request, "엑셀파일 저장.xlsx"));
StringBuffer columns = new StringBuffer(); //jsonArray 포맷 String으로 작성
columns.append("[")
.append("{\"title\" : \"기관명\", \"name\" : \"signgu_code_nm\"}")
.append(",{\"title\" : \"통지서명\", \"name\" : \"nht_nm\"}")
.append(",{\"title\" : \"연도\", \"name\" : \"sndng_year\"}")
.append(",{\"title\" : \"발송건수\", \"name\" : \"sndng_co\"}")
.append(",{\"title\" : \"발송성공\", \"name\" : \"sndng_co_success\"}")
.append(",{\"title\" : \"열람\", \"name\" : \"readng_dt_count\"}")
.append(",{\"title\" : \"발송실패\", \"name\" : \"sndng_co_fail\"}")
.append("]");
List<StatsBySignTalkByYearVO> list = statsBySignTalkByYearService.findList(searchVO); //contents
log.debug("EXCEL LIST : " + list);
model.put("header", columns.toString());
model.put("contents", list);
return "excelView";
}
}

@ -1,7 +0,0 @@
package cokr.xit.fims.biz.ens.cmm;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
public class EnsCmmnUtil extends XitCmmnUtil{
}

@ -1,10 +0,0 @@
package cokr.xit.fims.biz.ens.cmm;
public class EnsConst {
/**
* JSP BASE PATH
*/
public static final String JSP_BASE_PATH = "/fims/biz/";
}

@ -1,51 +0,0 @@
package cokr.xit.fims.biz.ens.cmm.struct;
import java.sql.SQLException;
import java.util.List;
public interface EnsMapperStrategy<T, P> {
/**
* <pre> : </pre>
* @param searchVO
* @return
* @throws SQLException List<T>
* @author:
* @date: 2021. 9. 17.
*/
public List<T> findList(P searchVO) throws SQLException;
/**
* <pre> : </pre>
* @param searchVO
* @return
* @throws SQLException T
* @author:
* @date: 2021. 9. 17.
*/
public T findView(T vo) throws SQLException;
/**
* <pre> : </pre>
* @param vo void
* @author:
* @date: 2021. 9. 17.
*/
public void addProc(T vo);
/**
* <pre> : </pre>
* @param vo void
* @author:
* @date: 2021. 9. 17.
*/
public void modifyProc(T vo);
/**
* <pre> : </pre>
* @param vo void
* @author:
* @date: 2021. 9. 17.
*/
public void removeProc(T vo);
}

@ -1,16 +0,0 @@
package cokr.xit.fims.biz.ens.cmm.struct;
import java.util.List;
public interface EnsServiceStrategy<T, P> {
public List<T> findList(P searchVO);
public T findView(T vo);
public void addProc(T vo);
public void modifyProc(T vo);
public void removeProc(T vo);
}

@ -32,8 +32,7 @@ public class FrameworkCmmController extends AbstractController {
private XitFramePopupService xitFramePopupService; private XitFramePopupService xitFramePopupService;
@Resource @Resource
private cokr.xit.fims.framework.biz.cmm.service.XitFrameUnitService XitFrameUnitService; private cokr.xit.fims.framework.biz.cmm.service.XitFrameUnitService XitFrameUnitService;
@Resource(name = "messageSource")
ReloadableResourceBundleMessageSource messageSource;
private int PAGE_UNIT = 10; private int PAGE_UNIT = 10;

@ -11,7 +11,7 @@ import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.USER_SE; import cokr.xit.fims.framework.core.constants.FrameworkConstants.USER_SE;
import org.springframework.context.support.ReloadableResourceBundleMessageSource; import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil; import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import cokr.xit.fims.framework.core.validation.XitBeanValidator;
import cokr.xit.fims.framework.support.util.AjaxUtils; import cokr.xit.fims.framework.support.util.AjaxUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
@ -50,10 +50,8 @@ public class XitFrameAnonymousController extends AbstractController {
private UserMgtService xitUserRegMngService; private UserMgtService xitUserRegMngService;
@Resource @Resource
private XitFrameUnitService xitFrameUnitService; private XitFrameUnitService xitFrameUnitService;
@Autowired
private XitBeanValidator beanValidator;
@Resource(name = "messageSource")
ReloadableResourceBundleMessageSource messageSource;
private String MEMBER_STATUS ="A"; private String MEMBER_STATUS ="A";
@ -232,12 +230,7 @@ public class XitFrameAnonymousController extends AbstractController {
case USR: //업무사용자 case USR: //업무사용자
sLocationUrl = "forward:/_anonymous_/login/UserReg_Forms_USR.do"; sLocationUrl = "forward:/_anonymous_/login/UserReg_Forms_USR.do";
/**
*
*/
//2020.11.24. 주석처리
beanValidator.validate(userManageVO, bindingResult);
// beanValidator.validate("userManageVO", userManageVO, bindingResult);
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
message = "생성에 실패하였습니다."; message = "생성에 실패하였습니다.";
} }

@ -43,9 +43,6 @@ public class XitFrameFileController extends AbstractController {
private XitFrameFileService xitFrameFileService; private XitFrameFileService xitFrameFileService;
@Resource @Resource
private cokr.xit.fims.framework.biz.cmm.service.XitFrameUnitService XitFrameUnitService; private cokr.xit.fims.framework.biz.cmm.service.XitFrameUnitService XitFrameUnitService;
@Resource(name = "messageSource")
ReloadableResourceBundleMessageSource messageSource;
/** /**

@ -32,8 +32,6 @@ public class XitFramePopupController extends AbstractController {
private XitFramePopupService xitFramePopupService; private XitFramePopupService xitFramePopupService;
@Resource @Resource
private cokr.xit.fims.framework.biz.cmm.service.XitFrameUnitService XitFrameUnitService; private cokr.xit.fims.framework.biz.cmm.service.XitFrameUnitService XitFrameUnitService;
@Resource(name = "messageSource")
ReloadableResourceBundleMessageSource messageSource;
private int PAGE_UNIT = 10; private int PAGE_UNIT = 10;

@ -29,8 +29,7 @@ public class XitFrameSchedulerController extends AbstractController {
private XitFrameSchedulerService xitFrameSchedulerService; private XitFrameSchedulerService xitFrameSchedulerService;
@Resource @Resource
private XitFrameUnitService xitFrameUnitService; private XitFrameUnitService xitFrameUnitService;
@Resource(name = "messageSource")
ReloadableResourceBundleMessageSource messageSource;
/** /**

@ -47,8 +47,7 @@ public class XitLoginController extends AbstractController {
private XitLoginService xitLoginService; private XitLoginService xitLoginService;
@Autowired @Autowired
private XitFrameCrudService xitFrameCrudService; private XitFrameCrudService xitFrameCrudService;
@Autowired
private ReloadableResourceBundleMessageSource messageSource;
private String LOGIN_PAGE ="framework/biz/login/XitLoginUsr"; private String LOGIN_PAGE ="framework/biz/login/XitLoginUsr";

@ -20,7 +20,7 @@ public class XitConectionLogMngServiceBean extends AbstractServiceBean implement
private final XitConectionLogMngMapper xitConectionLogMngMapper; private final XitConectionLogMngMapper xitConectionLogMngMapper;
private final XitFrameCrudService xitFrameCrudService; private final XitFrameCrudService xitFrameCrudService;
private final ReloadableResourceBundleMessageSource messageSource;
@Override @Override
public List<XitConectionLogMngVO> findList(XitConectionLogMngSearchVO searchVO) { public List<XitConectionLogMngVO> findList(XitConectionLogMngSearchVO searchVO) {

@ -17,7 +17,7 @@ import java.util.List;
public class XitConectionStatsMngServiceBean extends AbstractServiceBean implements XitConectionStatsMngService{ public class XitConectionStatsMngServiceBean extends AbstractServiceBean implements XitConectionStatsMngService{
private final XitConectionStatsMngMapper xitConectionStatsMngMapper; private final XitConectionStatsMngMapper xitConectionStatsMngMapper;
private final ReloadableResourceBundleMessageSource messageSource;
@Override @Override
public List<XitConectionStatsMngVO> findList(XitConectionStatsMngSearchVO searchVO) { public List<XitConectionStatsMngVO> findList(XitConectionStatsMngSearchVO searchVO) {

@ -43,8 +43,7 @@ public class XitAdminDbMngController extends AbstractController {
@Resource @Resource
private XitAdminDbMngService xitAdminDbMngService; private XitAdminDbMngService xitAdminDbMngService;
@Resource(name = "messageSource")
ReloadableResourceBundleMessageSource messageSource;
private final String SALTKEY = "U2FsdGVkX19FBBXlVS6d0Ga56ELuRsy"; private final String SALTKEY = "U2FsdGVkX19FBBXlVS6d0Ga56ELuRsy";

@ -32,13 +32,6 @@ import java.io.Writer;
@RequestMapping(name = "", value = "/framework/biz/mng/admin/") @RequestMapping(name = "", value = "/framework/biz/mng/admin/")
public class XitAdminServerCmdMngController extends AbstractController { public class XitAdminServerCmdMngController extends AbstractController {
// @Resource
// private XitAdminServerCmdMngService xitAdminServerCmdMngService;
// @Autowired
// private XitBeanValidator beanValidator;
@Resource(name = "messageSource")
ReloadableResourceBundleMessageSource messageSource;
/** /**

@ -41,13 +41,6 @@ import java.util.Map;
@RequestMapping(name = "", value = "/framework/biz/mng/admin/") @RequestMapping(name = "", value = "/framework/biz/mng/admin/")
public class XitAdminServerFileMngController extends AbstractController { public class XitAdminServerFileMngController extends AbstractController {
// @Resource
// private XitAdminServerFileMngService xitAdminServerFileMngService;
// @Autowired
// private XitBeanValidator beanValidator;
@Resource(name = "messageSource")
ReloadableResourceBundleMessageSource messageSource;

@ -42,14 +42,6 @@ import java.util.Map;
@RequestMapping(name = "", value = "/framework/biz/mng/admin/") @RequestMapping(name = "", value = "/framework/biz/mng/admin/")
public class XitAdminServerLogMngController extends AbstractController { public class XitAdminServerLogMngController extends AbstractController {
// @Resource
// private XitAdminServerLogMngService xitAdminServerLogMngService;
// @Autowired
// private XitBeanValidator beanValidator;
@Resource(name = "messageSource")
ReloadableResourceBundleMessageSource messageSource;

@ -9,7 +9,7 @@ import cokr.xit.fims.framework.biz.mng.admin.service.XitConectionLogMngService;
import cokr.xit.fims.framework.core.constants.FrameworkConstants; import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import org.springframework.context.support.ReloadableResourceBundleMessageSource; import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil; import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import cokr.xit.fims.framework.core.validation.XitBeanValidator;
import cokr.xit.fims.framework.support.util.AjaxUtils; import cokr.xit.fims.framework.support.util.AjaxUtils;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import org.egovframe.rte.fdl.security.userdetails.util.EgovUserDetailsHelper; import org.egovframe.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
@ -45,8 +45,8 @@ public class XitConectionLogMngController extends AbstractController {
private final XitConectionLogMngService xitConectionLogMngService; private final XitConectionLogMngService xitConectionLogMngService;
private final XitFrameCodeService xitFrameCodeService; private final XitFrameCodeService xitFrameCodeService;
private final XitBeanValidator beanValidator;
private final ReloadableResourceBundleMessageSource messageSource;
/** /**
@ -202,8 +202,7 @@ public class XitConectionLogMngController extends AbstractController {
String message = null; String message = null;
switch (cmd) { switch (cmd) {
case "insert": //등록 case "insert": //등록
//유효성 확인
beanValidator.validate(vo, bindingResult);
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
message = "생성에 실패하였습니다."; message = "생성에 실패하였습니다.";
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_input.do"; sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_input.do";
@ -227,8 +226,7 @@ public class XitConectionLogMngController extends AbstractController {
// break; // break;
case "update": //수정 case "update": //수정
//유효성 확인
beanValidator.validate(vo, bindingResult);
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
message = "변경에 실패하였습니다."; message = "변경에 실패하였습니다.";
sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_edit.do"; sLocationUrl = "forward:/framework/biz/mng/admin/ConectionLogMng_edit.do";

@ -34,7 +34,7 @@ public class XitConectionStatsMngController extends AbstractController {
private final XitConectionStatsMngService xitConectionStatsMngService; private final XitConectionStatsMngService xitConectionStatsMngService;
private final XitFrameCodeService xitFrameCodeService; private final XitFrameCodeService xitFrameCodeService;
private final ReloadableResourceBundleMessageSource messageSource;
/** /**

@ -20,7 +20,7 @@ public class XitLoginPolicyMngServiceBean extends AbstractServiceBean implements
private final XitLoginPolicyMngMapper xitLoginPolicyMngMapper; private final XitLoginPolicyMngMapper xitLoginPolicyMngMapper;
private final XitFrameCrudService xitFrameCrudService; private final XitFrameCrudService xitFrameCrudService;
private final ReloadableResourceBundleMessageSource messageSource;
@Override @Override
public List<XitLoginPolicyMngVO> findList(XitLoginPolicyMngSearchVO searchVO) { public List<XitLoginPolicyMngVO> findList(XitLoginPolicyMngSearchVO searchVO) {

@ -8,7 +8,7 @@ import cokr.xit.fims.framework.biz.mng.auth.service.XitLoginPolicyMngService;
import cokr.xit.fims.framework.core.constants.FrameworkConstants; import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import org.springframework.context.support.ReloadableResourceBundleMessageSource; import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil; import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import cokr.xit.fims.framework.core.validation.XitBeanValidator;
import cokr.xit.fims.framework.support.util.AjaxUtils; import cokr.xit.fims.framework.support.util.AjaxUtils;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import org.egovframe.rte.fdl.security.userdetails.util.EgovUserDetailsHelper; import org.egovframe.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
@ -43,8 +43,8 @@ import java.util.Map;
public class XitLoginPolicyMngController extends AbstractController { public class XitLoginPolicyMngController extends AbstractController {
private final XitLoginPolicyMngService xitLoginPolicyMngService; private final XitLoginPolicyMngService xitLoginPolicyMngService;
private final XitBeanValidator beanValidator;
private final ReloadableResourceBundleMessageSource messageSource;
/** /**
@ -210,10 +210,7 @@ public class XitLoginPolicyMngController extends AbstractController {
String message = null; String message = null;
switch (cmd) { switch (cmd) {
case "insert": //등록 case "insert": //등록
//유효성 확인
//2020.11.24. 주석처리
beanValidator.validate(vo, bindingResult);
// beanValidator.validate("loginPolicy", vo, bindingResult);
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
message = "생성에 실패하였습니다."; message = "생성에 실패하였습니다.";
sLocationUrl = "forward:/framework/biz/mng/auth/loginPolicyMng_input.do"; sLocationUrl = "forward:/framework/biz/mng/auth/loginPolicyMng_input.do";
@ -240,10 +237,7 @@ public class XitLoginPolicyMngController extends AbstractController {
// break; // break;
case "update": //수정 case "update": //수정
//유효성 확인
//2020.11.24. 주석처리
beanValidator.validate(vo, bindingResult);
// beanValidator.validate("loginPolicy", vo, bindingResult);
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
message = "변경에 실패하였습니다."; message = "변경에 실패하였습니다.";
sLocationUrl = "forward:/framework/biz/mng/auth/loginPolicyMng_edit"; sLocationUrl = "forward:/framework/biz/mng/auth/loginPolicyMng_edit";

@ -27,8 +27,7 @@ public class XitBasicBbsMngServiceBean extends AbstractServiceBean implements Xi
private XitFrameCrudService xitFrameCrudService; private XitFrameCrudService xitFrameCrudService;
@Resource @Resource
private XitFrameUnitService xitFrameUnitService; private XitFrameUnitService xitFrameUnitService;
@Resource
private ReloadableResourceBundleMessageSource messageSource;
@Override @Override
public List<XitBasicBbsMngVO> findList(XitBasicBbsMngSearchVO searchVO) { public List<XitBasicBbsMngVO> findList(XitBasicBbsMngSearchVO searchVO) {

@ -26,8 +26,7 @@ public class XitBbsCreateMngServiceBean extends AbstractServiceBean implements X
private XitBbsCreateMngMapper XitBbsCreateMngMapper; private XitBbsCreateMngMapper XitBbsCreateMngMapper;
@Resource @Resource
private XitFrameCrudService xitFrameCrudService; private XitFrameCrudService xitFrameCrudService;
@Resource
private ReloadableResourceBundleMessageSource messageSource;
@Autowired @Autowired
@Qualifier("bbsIdGnrService") @Qualifier("bbsIdGnrService")
private EgovIdGnrService bbsIdGnrService; private EgovIdGnrService bbsIdGnrService;

@ -25,9 +25,8 @@ public class XitBbsTmplateMngServiceBean extends AbstractServiceBean implements
private XitBbsTmplateMngMapper xitBbsTmplateMngMapper; private XitBbsTmplateMngMapper xitBbsTmplateMngMapper;
@Resource @Resource
private XitFrameCrudService xitFrameCrudService; private XitFrameCrudService xitFrameCrudService;
@Resource
private ReloadableResourceBundleMessageSource messageSource;
@Autowired
@Qualifier("xitTmplatIdGnrService") @Qualifier("xitTmplatIdGnrService")
private EgovIdGnrService xitTmplatIdGnrService; private EgovIdGnrService xitTmplatIdGnrService;

@ -22,8 +22,7 @@ public class XitBbsUseMngServiceBean extends AbstractServiceBean implements XitB
private XitBbsUseMngMapper xitBbsUseMngMapper; private XitBbsUseMngMapper xitBbsUseMngMapper;
@Resource @Resource
private XitFrameCrudService xitFrameCrudService; private XitFrameCrudService xitFrameCrudService;
@Resource
private ReloadableResourceBundleMessageSource messageSource;
@Override @Override
public List<XitBbsUseMngVO> findList(XitBbsUseMngSearchVO searchVO) { public List<XitBbsUseMngVO> findList(XitBbsUseMngSearchVO searchVO) {

@ -19,7 +19,6 @@ import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import cokr.xit.fims.framework.core.utils.attachfile.XitAttachFileOptionVO; import cokr.xit.fims.framework.core.utils.attachfile.XitAttachFileOptionVO;
import cokr.xit.fims.framework.core.utils.attachfile.XitAttachFileUtil; import cokr.xit.fims.framework.core.utils.attachfile.XitAttachFileUtil;
import cokr.xit.fims.framework.core.utils.attachfile.XitAttachFileVO; import cokr.xit.fims.framework.core.utils.attachfile.XitAttachFileVO;
import cokr.xit.fims.framework.core.validation.XitBeanValidator;
import cokr.xit.fims.framework.support.util.AjaxUtils; import cokr.xit.fims.framework.support.util.AjaxUtils;
import org.egovframe.rte.fdl.security.userdetails.util.EgovUserDetailsHelper; import org.egovframe.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
import org.egovframe.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; import org.egovframe.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
@ -60,10 +59,8 @@ public class XitBasicBbsMngController extends AbstractController {
private XitBasicBbsMngService xitBasicBbsMngService; private XitBasicBbsMngService xitBasicBbsMngService;
@Resource @Resource
private XitFrameCodeService xitFrameCodeService; private XitFrameCodeService xitFrameCodeService;
@Autowired
private XitBeanValidator beanValidator;
@Resource(name = "messageSource")
ReloadableResourceBundleMessageSource messageSource;
@Resource @Resource
private XitBbsCreateMngService xitBbsCreateMngService; private XitBbsCreateMngService xitBbsCreateMngService;
@Resource @Resource
@ -451,10 +448,7 @@ public class XitBasicBbsMngController extends AbstractController {
XitAttachFileRespVO attachFileVO = null; //첨부파일 DB 처리 결과목록 XitAttachFileRespVO attachFileVO = null; //첨부파일 DB 처리 결과목록
switch (cmd) { switch (cmd) {
case "insert": //등록 case "insert": //등록
//유효성 확인
//2020.11.24. 주석처리
beanValidator.validate(vo, bindingResult);
// beanValidator.validate("board", vo, bindingResult);
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
message = "생성에 실패하였습니다."; message = "생성에 실패하였습니다.";
sLocationUrl = "forward:/framework/biz/mng/bbs/BasicBbsMng_"+vo.getBbsId()+"_input"; sLocationUrl = "forward:/framework/biz/mng/bbs/BasicBbsMng_"+vo.getBbsId()+"_input";
@ -498,10 +492,7 @@ public class XitBasicBbsMngController extends AbstractController {
// break; // break;
case "insertReply": //답글 등록 case "insertReply": //답글 등록
//유효성 확인
//2020.11.24. 주석처리
beanValidator.validate(vo, bindingResult);
// beanValidator.validate("board", vo, bindingResult);
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
message = "생성에 실패하였습니다."; message = "생성에 실패하였습니다.";
sLocationUrl = "forward:/framework/biz/mng/bbs/BasicBbsMng_"+vo.getBbsId()+"_input"; sLocationUrl = "forward:/framework/biz/mng/bbs/BasicBbsMng_"+vo.getBbsId()+"_input";
@ -545,10 +536,7 @@ public class XitBasicBbsMngController extends AbstractController {
break; break;
case "update": //수정 case "update": //수정
//유효성 확인
//2020.11.24. 주석처리
beanValidator.validate(vo, bindingResult);
// beanValidator.validate("board", vo, bindingResult);
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
message = "변경에 실패하였습니다."; message = "변경에 실패하였습니다.";
sLocationUrl = "forward:/framework/biz/mng/bbs/BasicBbsMng_"+vo.getBbsId()+"_edit"; sLocationUrl = "forward:/framework/biz/mng/bbs/BasicBbsMng_"+vo.getBbsId()+"_edit";

@ -10,7 +10,7 @@ import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import org.springframework.context.support.ReloadableResourceBundleMessageSource; import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil; import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import cokr.xit.fims.framework.core.validation.XitBeanValidator;
import cokr.xit.fims.framework.support.util.AjaxUtils; import cokr.xit.fims.framework.support.util.AjaxUtils;
import org.egovframe.rte.fdl.security.userdetails.util.EgovUserDetailsHelper; import org.egovframe.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
import org.egovframe.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; import org.egovframe.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
@ -50,10 +50,7 @@ public class XitBbsCreateMngController extends AbstractController {
private XitBbsCreateMngService xitBbsCreateMngService; private XitBbsCreateMngService xitBbsCreateMngService;
@Resource @Resource
private XitFrameCodeService xitFrameCodeService; private XitFrameCodeService xitFrameCodeService;
@Autowired
private XitBeanValidator beanValidator;
@Resource(name = "messageSource")
ReloadableResourceBundleMessageSource messageSource;
private int PAGE_UNIT = 10; private int PAGE_UNIT = 10;
@ -267,10 +264,7 @@ public class XitBbsCreateMngController extends AbstractController {
String message = null; String message = null;
switch (cmd) { switch (cmd) {
case "insert": //등록 case "insert": //등록
//유효성 확인
//2020.11.24. 주석처리
beanValidator.validate(vo, bindingResult);
// beanValidator.validate("boardMaster", vo, bindingResult);
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
message = "생성에 실패하였습니다."; message = "생성에 실패하였습니다.";
sLocationUrl = "forward:/framework/biz/mng/bbs/BbsCreateMng_input"; sLocationUrl = "forward:/framework/biz/mng/bbs/BbsCreateMng_input";
@ -297,10 +291,7 @@ public class XitBbsCreateMngController extends AbstractController {
// break; // break;
case "update": //수정 case "update": //수정
//유효성 확인
//2020.11.24. 주석처리
beanValidator.validate(vo, bindingResult);
// beanValidator.validate("boardMaster", vo, bindingResult);
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
message = "변경에 실패하였습니다."; message = "변경에 실패하였습니다.";
sLocationUrl = "forward:/framework/biz/mng/bbs/BbsCreateMng_edit"; sLocationUrl = "forward:/framework/biz/mng/bbs/BbsCreateMng_edit";

@ -10,7 +10,7 @@ import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import org.springframework.context.support.ReloadableResourceBundleMessageSource; import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil; import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import cokr.xit.fims.framework.core.validation.XitBeanValidator;
import cokr.xit.fims.framework.support.util.AjaxUtils; import cokr.xit.fims.framework.support.util.AjaxUtils;
import org.egovframe.rte.fdl.security.userdetails.util.EgovUserDetailsHelper; import org.egovframe.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
import org.egovframe.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; import org.egovframe.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
@ -48,10 +48,7 @@ public class XitBbsTmplateMngController extends AbstractController {
private XitBbsTmplateMngService xitBbsTmplateMngService; private XitBbsTmplateMngService xitBbsTmplateMngService;
@Resource @Resource
private XitFrameCodeService xitFrameCodeService; private XitFrameCodeService xitFrameCodeService;
@Autowired
private XitBeanValidator beanValidator;
@Resource(name = "messageSource")
ReloadableResourceBundleMessageSource messageSource;
/** /**
@ -210,10 +207,7 @@ public class XitBbsTmplateMngController extends AbstractController {
String message = null; String message = null;
switch (cmd) { switch (cmd) {
case "insert": //등록 case "insert": //등록
//유효성 확인
//2020.11.24. 주석처리
beanValidator.validate(vo, bindingResult);
// beanValidator.validate("templateInf", vo, bindingResult);
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
message = "생성에 실패하였습니다."; message = "생성에 실패하였습니다.";
sLocationUrl = "forward:/framework/biz/mng/bbs/BbsTmplateMng_input"; sLocationUrl = "forward:/framework/biz/mng/bbs/BbsTmplateMng_input";
@ -238,10 +232,7 @@ public class XitBbsTmplateMngController extends AbstractController {
// break; // break;
case "update": //수정 case "update": //수정
//유효성 확인
//2020.11.24. 주석처리
beanValidator.validate(vo, bindingResult);
// beanValidator.validate("templateInf", vo, bindingResult);
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
message = "변경에 실패하였습니다."; message = "변경에 실패하였습니다.";
sLocationUrl = "forward:/framework/biz/mng/bbs/BbsTmplateMng_edit"; sLocationUrl = "forward:/framework/biz/mng/bbs/BbsTmplateMng_edit";

@ -10,7 +10,7 @@ import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import org.springframework.context.support.ReloadableResourceBundleMessageSource; import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil; import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import cokr.xit.fims.framework.core.validation.XitBeanValidator;
import cokr.xit.fims.framework.support.util.AjaxUtils; import cokr.xit.fims.framework.support.util.AjaxUtils;
import org.egovframe.rte.fdl.security.userdetails.util.EgovUserDetailsHelper; import org.egovframe.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
import org.egovframe.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; import org.egovframe.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
@ -48,10 +48,8 @@ public class XitBbsUseMngController extends AbstractController {
private XitBbsUseMngService xitBbsUseMngService; private XitBbsUseMngService xitBbsUseMngService;
@Resource @Resource
private XitFrameCodeService xitFrameCodeService; private XitFrameCodeService xitFrameCodeService;
@Autowired
private XitBeanValidator beanValidator;
@Resource(name = "messageSource")
ReloadableResourceBundleMessageSource messageSource;
/** /**
@ -219,10 +217,7 @@ public class XitBbsUseMngController extends AbstractController {
String message = null; String message = null;
switch (cmd) { switch (cmd) {
case "insert": //등록 case "insert": //등록
//유효성 확인
//2020.11.24. 주석처리
beanValidator.validate(vo, bindingResult);
// beanValidator.validate("boardUseInf", vo, bindingResult);
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
message = "생성에 실패하였습니다."; message = "생성에 실패하였습니다.";
sLocationUrl = "forward:/framework/biz/mng/bbs/BbsUseMng_input"; sLocationUrl = "forward:/framework/biz/mng/bbs/BbsUseMng_input";
@ -260,10 +255,7 @@ public class XitBbsUseMngController extends AbstractController {
// break; // break;
case "update": //수정 case "update": //수정
//유효성 확인
//2020.11.24. 주석처리
beanValidator.validate(vo, bindingResult);
// beanValidator.validate("boardUseInf", vo, bindingResult);
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
message = "변경에 실패하였습니다."; message = "변경에 실패하였습니다.";
sLocationUrl = "forward:/framework/biz/mng/bbs/BbsUseMng_edit"; sLocationUrl = "forward:/framework/biz/mng/bbs/BbsUseMng_edit";

@ -36,8 +36,7 @@ public class UserMgtServiceBean extends AbstractServiceBean implements UserMgtSe
private final UserMgtMapper mapper; private final UserMgtMapper mapper;
private final AuthGrpMgtMapper authGrpMgtMapper; private final AuthGrpMgtMapper authGrpMgtMapper;
private final XitFrameCrudService xitFrameCrudService; private final XitFrameCrudService xitFrameCrudService;
private final ReloadableResourceBundleMessageSource messageSource;
@Autowired
@Qualifier("usrEsntlIdGnrService") @Qualifier("usrEsntlIdGnrService")
private final EgovIdGnrService usrEsntlIdGnrService; private final EgovIdGnrService usrEsntlIdGnrService;

@ -24,8 +24,7 @@ public class XitUserAbsntMngServiceBean extends AbstractServiceBean implements X
private XitUserAbsntMngMapper xitUserAbsntMngMapper; private XitUserAbsntMngMapper xitUserAbsntMngMapper;
@Resource @Resource
private XitFrameCrudService xitFrameCrudService; private XitFrameCrudService xitFrameCrudService;
@Resource
private ReloadableResourceBundleMessageSource messageSource;
@Override @Override
public List<XitUserAbsntMngVO> findList(XitUserAbsntMngSearchVO searchVO) { public List<XitUserAbsntMngVO> findList(XitUserAbsntMngSearchVO searchVO) {

@ -25,8 +25,6 @@ public class XitUserEtcOptMngServiceBean extends AbstractServiceBean implements
private XitFrameCrudService xitFrameCrudService; private XitFrameCrudService xitFrameCrudService;
@Resource @Resource
private XitFrameUnitService xitFrameUnitService; private XitFrameUnitService xitFrameUnitService;
@Resource
private ReloadableResourceBundleMessageSource messageSource;
@Override @Override

@ -10,7 +10,7 @@ import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import org.springframework.context.support.ReloadableResourceBundleMessageSource; import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil; import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import cokr.xit.fims.framework.core.validation.XitBeanValidator;
import cokr.xit.fims.framework.support.util.AjaxUtils; import cokr.xit.fims.framework.support.util.AjaxUtils;
import org.egovframe.rte.fdl.security.userdetails.util.EgovUserDetailsHelper; import org.egovframe.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
import org.egovframe.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; import org.egovframe.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
@ -49,10 +49,8 @@ public class XitUserAbsntMngController extends AbstractController {
@Resource @Resource
private XitUserAbsntMngService xitUserAbsntMngService; private XitUserAbsntMngService xitUserAbsntMngService;
@Autowired
private XitBeanValidator beanValidator;
@Resource(name = "messageSource")
ReloadableResourceBundleMessageSource messageSource;
@Resource @Resource
private XitFrameCodeService xitFrameCodeService; private XitFrameCodeService xitFrameCodeService;
@ -223,8 +221,8 @@ public class XitUserAbsntMngController extends AbstractController {
XitLoginVO loginVO = (XitLoginVO) EgovUserDetailsHelper.getAuthenticatedUser(); XitLoginVO loginVO = (XitLoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
switch (cmd) { switch (cmd) {
case "insert": //등록 case "insert": //등록
//유효성 확인
beanValidator.validate(vo, bindingResult);
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
message = "생성에 실패하였습니다."; message = "생성에 실패하였습니다.";
sLocationUrl = "forward:/framework/biz/mng/usr/userAbsntMng_input"; sLocationUrl = "forward:/framework/biz/mng/usr/userAbsntMng_input";
@ -249,8 +247,7 @@ public class XitUserAbsntMngController extends AbstractController {
// break; // break;
case "update": //수정 case "update": //수정
//유효성 확인
beanValidator.validate(vo, bindingResult);
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
message = "변경에 실패하였습니다."; message = "변경에 실패하였습니다.";
sLocationUrl = "forward:/framework/biz/mng/usr/userAbsntMng_edit"; sLocationUrl = "forward:/framework/biz/mng/usr/userAbsntMng_edit";

@ -43,8 +43,7 @@ public class XitUserEtcOptMngController extends AbstractController {
@Resource @Resource
private XitUserEtcOptMngService xitUserEtcOptMngService; private XitUserEtcOptMngService xitUserEtcOptMngService;
@Resource(name = "messageSource")
ReloadableResourceBundleMessageSource messageSource;
@Resource @Resource
private XitFrameCodeService xitFrameCodeService; private XitFrameCodeService xitFrameCodeService;

@ -28,11 +28,10 @@ import javax.servlet.http.HttpServletRequest;
public class XitLoginLogAspect { public class XitLoginLogAspect {
@Resource @Resource
private XitFrameCrudService xitFrameCrudService; private XitFrameCrudService xitFrameCrudService;
@Autowired
@Qualifier("xitConectLogIdGnrService") @Qualifier("xitConectLogIdGnrService")
private EgovIdGnrService xitConectLogIdGnrService; private EgovIdGnrService xitConectLogIdGnrService;
@Resource
private ReloadableResourceBundleMessageSource messageSource;
/** /**
* <pre> : . </pre> * <pre> : . </pre>

@ -27,8 +27,6 @@ import java.io.PrintWriter;
@Service @Service
public class XitAccessIntercepter extends HandlerInterceptorAdapter { public class XitAccessIntercepter extends HandlerInterceptorAdapter {
@Resource(name = "messageSource")
ReloadableResourceBundleMessageSource messageSource;
/** /**
* . * .

@ -1,62 +0,0 @@
package cokr.xit.fims.framework.core.validation;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.commons.validator.Validator;
import org.apache.commons.validator.ValidatorException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.Errors;
import org.springmodules.validation.commons.DefaultBeanValidator;
import org.springmodules.validation.commons.DefaultValidatorFactory;
/**
*
* @: Bean Validator
* @: Spring Framework DefaultBeanValidator .
* @: 2020. 11. 24. 4:45:10
* @:
* @author ()
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
public class XitBeanValidator extends DefaultBeanValidator {
private static final Log log = LogFactory.getLog(XitBeanValidator.class);
@Autowired
DefaultValidatorFactory defaultValidatorFactory;
/**
* <pre> : DefaultBeanValidator validate(Object obj, Errors errors) .
* -DefaultBeanValidator.validate Bean form name "formName==BeanClassName"() validate .
* - DefaultBeanValidator validate(Object obj, Errors errors) form name validate
* -"formName!=BeanClassName"() .
* </pre>
* @param formName form-validation form name
* @param obj bean(==VO)
* @param errors void
* @author:
* @date: 2020. 11. 24.
*/
public void validate(String formName, Object obj, Errors errors) {
Validator commonsValidator = this.getValidator(formName, obj, errors);
initValidator(commonsValidator);
try {
commonsValidator.validate();
}
catch (ValidatorException e) {
log.error("Exception while validating object " + obj, e);
} finally {
cleanupValidator(commonsValidator);
}
}
private Validator getValidator(String beanName, Object bean, Errors errors) {
Validator validator = new Validator(defaultValidatorFactory.getValidatorResources(), beanName);
validator.setParameter(DefaultValidatorFactory.ERRORS_KEY, errors);
validator.setParameter(Validator.BEAN_PARAM, bean);
return validator;
}
}

@ -2,7 +2,7 @@ package cokr.xit.fims.framework.support.util;
import cokr.xit.fims.framework.biz.cache.service.CacheService; import cokr.xit.fims.framework.biz.cache.service.CacheService;
import org.springframework.context.support.ReloadableResourceBundleMessageSource; import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.validation.XitBeanValidator;
import org.springframework.context.MessageSource; import org.springframework.context.MessageSource;
import org.springframework.context.support.MessageSourceAccessor; import org.springframework.context.support.MessageSourceAccessor;
@ -12,9 +12,6 @@ import org.springframework.context.support.MessageSourceAccessor;
*/ */
public class JBeanRegistry { public class JBeanRegistry {
public static XitBeanValidator getValidator() {
return (XitBeanValidator)SpringUtils.getBean(XitBeanValidator.class);
}
/** /**
* . * .

@ -1,6 +1,6 @@
package cokr.xit.fims.framework.support.util; package cokr.xit.fims.framework.support.util;
import cokr.xit.fims.framework.core.validation.XitBeanValidator;
import cokr.xit.fims.framework.support.exception.BizRuntimeException; import cokr.xit.fims.framework.support.exception.BizRuntimeException;
import cokr.xit.fims.framework.support.util.dto.FieldErrorDtl; import cokr.xit.fims.framework.support.util.dto.FieldErrorDtl;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
@ -33,12 +33,8 @@ public class ValidationError {
} }
public static void of(String voName, Object o, BindingResult bindingResult){ public static void of(String voName, Object o, BindingResult bindingResult){
XitBeanValidator validator = JBeanRegistry.getValidator();
validator.validate(voName, o, bindingResult);
if (bindingResult.hasErrors()) {
FieldErrorDtl fieldErrorDtl = ValidationError.errorList(bindingResult.getFieldErrors()).get(0);
throw BizRuntimeException.create(fieldErrorDtl.getCode(), fieldErrorDtl.getArguments());
}
} }
} }

@ -194,42 +194,4 @@
<!-- 배치작업 ID -->
<bean name="xitBatchOpertIdGnrService"
class="org.egovframe.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl"
destroy-method="destroy">
<property name="dataSource" ref="dataSource" />
<property name="strategy" ref="batchOpertIdStrategy" />
<property name="blockSize" value="10"/>
<property name="table" value="XIT_IDS"/>
<property name="tableName" value="BATCH_OPERT_ID"/>
<property name="tableNameFieldName" value="TABLE_NM"/>
</bean>
<bean name="batchOpertIdStrategy"
class="org.egovframe.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="BAT" />
<property name="cipers" value="17" />
<property name="fillChar" value="0" />
</bean>
<!-- 배치작업 ID -->
<!-- 배치스케줄 ID -->
<bean name="xitBatchSchdulIdGnrService"
class="org.egovframe.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl"
destroy-method="destroy">
<property name="dataSource" ref="dataSource" />
<property name="strategy" ref="batchSchdulIdStrategy" />
<property name="blockSize" value="10"/>
<property name="table" value="XIT_IDS"/>
<property name="tableName" value="BATCH_SCHDUL_ID"/>
<property name="tableNameFieldName" value="TABLE_NM"/>
</bean>
<bean name="batchSchdulIdStrategy"
class="org.egovframe.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="BSC" />
<property name="cipers" value="17" />
<property name="fillChar" value="0" />
</bean>
<!-- 배치스케줄 ID -->
</beans> </beans>

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd">
<!-- Integration Apache Commons Validator by Spring Modules -->
<!-- <bean id="beanValidator" class="org.springmodules.validation.commons.DefaultBeanValidator"> -->
<!-- <property name="validatorFactory" ref="validatorFactory"/> -->
<!-- </bean> -->
<bean id="beanValidator" class="cokr.xit.fims.framework.core.validation.XitBeanValidator">
<property name="validatorFactory" ref="validatorFactory"/>
</bean>
<bean id="validatorFactory" class="org.springmodules.validation.commons.DefaultValidatorFactory">
<property name="validationConfigLocations">
<list>
<!-- 경량환경 템플릿 밸리데이터 설정 -->
<!-- <value>classpath:/framework/validator/egov/validator-rules-let.xml</value> -->
<!-- <value>classpath:/framework/validator/egov/let/**/*.xml</value> -->
<!-- XIT프레임워크 밸리데이터 설정 -->
<value>classpath:/validator/validator-rules-xit.xml</value>
<value>classpath:/validator/framework/***/**/*.xml</value>
<!-- <value>classpath:/validator/framework/cmm/**/*.xml</value>-->
<!-- project별 밸리데이터 설정 -->
<value>classpath:/validator/biz/**/*.xml</value>
</list>
</property>
</bean>
</beans>

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="sendRqstMngVO">
<field property="elctrn_ntic_sndng_id" depends="required">
<arg0 key="템플릿아이디" resource="false"/>
</field>
<field property="nht_tmplat_id" depends="required, maxlength">
<arg0 key="통지서명" resource="false"/>
<arg1 key="5" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>5</var-value>
</var>
</field>
</form>
</formset>
</form-validation>

@ -1,39 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="linkInfoMngVO">
<field property="signgu_code" depends="required, maxlength">
<arg0 key="기관코드" resource="false"/>
<arg1 key="5" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>5</var-value>
</var>
</field>
<field property="kakao_access_token" depends="required">
<arg0 key="카카오엑세스토큰" resource="false"/>
</field>
<field property="nice_instt_id" depends="required, maxlength">
<arg0 key="나이스 기관 ID" resource="false"/>
<arg1 key="10" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>10</var-value>
</var>
</field>
</form>
</formset>
</form-validation>

@ -1,63 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="notiMngVO">
<field property="nht_tmplat_id" depends="required, maxlength">
<arg0 key="통지서ID" resource="false"/>
<arg1 key="5" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>5</var-value>
</var>
</field>
<field property="signgu_code" depends="required, maxlength">
<arg0 key="시군구코드" resource="false"/>
<arg1 key="5" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>5</var-value>
</var>
</field>
<field property="nht_nm" depends="required">
<arg0 key="통지서명" resource="false"/>
</field>
<field property="nht_sj" depends="required, maxlength">
<arg0 key="통지서 내용" resource="false"/>
<arg1 key="50" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>50</var-value>
</var>
</field>
<!-- <field property="nht_nm" depends="maxlength, mask"> -->
<!-- <arg0 key="통지서명" resource="false"/> -->
<!-- <arg1 key="4" resource="false"/> -->
<!-- <var> -->
<!-- <var-name>maxlength</var-name> -->
<!-- <var-value>4</var-value> -->
<!-- </var> -->
<!-- <var> -->
<!-- 정규식으로 검사 -->
<!-- <var-name>mask</var-name> -->
<!-- <var-value>[0-9][0-9][0-9][0-9]</var-value> -->
<!-- </var> -->
<!-- </field> -->
</form>
</formset>
</form-validation>

@ -1,43 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="cmmAnsTmpl">
<field property="tmplatId" depends="required">
<arg0 key="템플릿 유형" />
</field>
<field property="answerSeCode" depends="required">
<arg0 key="답변 구분명" />
</field>
<field property="prface" depends="required, maxlength">
<arg0 key="cop.prface" />
<arg1 key="400" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>400</var-value>
</var>
</field>
<field property="answerCn" depends="required, maxlength">
<arg0 key="cop.answerCn" />
<arg1 key="600" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>600</var-value>
</var>
</field>
<field property="tlface" depends="required, maxlength">
<arg0 key="cop.tlface" />
<arg1 key="400" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>400</var-value>
</var>
</field>
</form>
</formset>
</form-validation>

@ -1,49 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="authorManage">
<field property="authorCode" depends="required">
<arg0 key="권한 코드" resource="false"/>
</field>
<field property="authorNm" depends="required">
<arg0 key="권한 명" resource="false"/>
</field>
</form>
</formset>
<formset>
<form name="groupManage">
<field property="groupNm" depends="required">
<arg0 key="그룹 명" resource="false"/>
</field>
</form>
</formset>
<formset>
<form name="roleManage">
<field property="roleCode" depends="required">
<arg0 key="롤코드" resource="false"/>
</field>
<field property="roleNm" depends="required">
<arg0 key="롤명" resource="false"/>
</field>
<field property="rolePttrn" depends="required">
<arg0 key="롤패턴" resource="false"/>
</field>
<!--
<field property="roleTy" depends="required">
<arg0 key="롤타입" resource="false"/>
</field>
-->
<field property="roleSort" depends="required, integer">
<arg0 key="롤Sort" resource="false"/>
</field>
</form>
</formset>
</form-validation>

@ -1,40 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="batchOpert">
<field property="batchOpertNm" depends="required, maxlength">
<arg0 key="배치작업명" resource="true"/>
<arg1 key="60" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>60</var-value>
</var>
</field>
<field property="batchProgrm" depends="required, maxlength">
<arg0 key="배치프로그램" resource="true"/>
<arg1 key="255" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>255</var-value>
</var>
</field>
<field property="paramtr" depends="maxlength">
<arg0 key="파라미터" resource="true"/>
<arg1 key="250" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>250</var-value>
</var>
</field>
</form>
</formset>
</form-validation>

@ -1,35 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="batchSchdul">
<field property="batchOpertId" depends="required">
<arg0 key="배치작업ID" resource="true"/>
</field>
<field property="executCycle" depends="required">
<arg0 key="실행주기" resource="true"/>
</field>
<!--
<field property="executSchdulDe" depends="required">
<arg0 key="실행스케줄일자" resource="true"/>
</field>
-->
<field property="executSchdulHour" depends="required">
<arg0 key="실행스케줄시간" resource="true"/>
</field>
<field property="executSchdulMnt" depends="required">
<arg0 key="실행스케줄분" resource="true"/>
</field>
<field property="executSchdulSecnd" depends="required">
<arg0 key="실행스케줄초" resource="true"/>
</field>
</form>
</formset>
</form-validation>

@ -1,36 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="board">
<field property="nttSj" depends="required, maxlength">
<arg0 key="cop.nttSj" />
<arg1 key="1200" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>1200</var-value>
</var>
</field>
<field property="nttCn" depends="required">
<arg0 key="cop.nttCn" />
</field>
<field property="ntceBgnde" depends="required">
<arg0 key="cop.ntceBgnde" />
</field>
<field property="ntceEndde" depends="required">
<arg0 key="cop.ntceEndde" />
</field>
<field property="ntcrNm" depends="required">
<arg0 key="cop.ntcrNm" />
</field>
<field property="passwd" depends="required">
<arg0 key="cop.password" />
</field>
</form>
</formset>
</form-validation>

@ -1,30 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="boardBasic">
<field property="nttSj" depends="required, maxlength">
<arg0 key="nttSj" />
<arg1 key="1200" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>1200</var-value>
</var>
</field>
<field property="nttCn" depends="required">
<arg0 key="nttCn" />
</field>
<field property="ntceBeginDe" depends="required">
<arg0 key="ntceBeginDe" />
</field>
<field property="ntceEndDe" depends="required">
<arg0 key="ntceEndDe" />
</field>
</form>
</formset>
</form-validation>

@ -1,49 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="boardMaster">
<field property="bbsNm" depends="required, maxlength">
<arg0 key="bbsNm" />
<arg1 key="120" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>120</var-value>
</var>
</field>
<field property="bbsIntrcn" depends="required, maxlength">
<arg0 key="bbsIntrcn" />
<arg1 key="2000" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>2000</var-value>
</var>
</field>
<field property="bbsTyCode" depends="required">
<arg0 key="bbsTyCode" />
</field>
<field property="bbsAttrbCode" depends="required">
<arg0 key="bbsAttrbCode" />
</field>
<field property="replyPosblYn" depends="required">
<arg0 key="replyPosblYn" />
</field>
<field property="fileAtchPosblYn" depends="required">
<arg0 key="fileAtchPosblYn" />
</field>
<field property="atchPosblFileNumber" depends="required">
<arg0 key="atchPosblFileNumber" />
</field>
<field property="tmplatNm" depends="required">
<arg0 key="tmplatId" />
</field>
</form>
</formset>
</form-validation>

@ -1,39 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="templateInf" >
<field property="tmplatNm" depends="required, maxlength">
<arg0 key="tmplatNm" />
<arg1 key="120" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>120</var-value>
</var>
</field>
<field property="tmplatCours" depends="required, maxlength">
<arg0 key="tmplatCours" />
<arg1 key="2000" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>2000</var-value>
</var>
</field>
<field property="tmplatSeCode" depends="required">
<arg0 key="tmplatSeCode" />
</field>
</form>
<form name="boardUseInf" >
<field property="bbsNm" depends="required">
<arg0 key="cop.bbsNm" />
</field>
<field property="trgetNm" depends="required">
<arg0 key="cop.trgetNm" />
</field>
</form>
</formset>
</form-validation>

@ -1,42 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="cmmnClCode">
<field property="ctgrId" depends="required, maxlength">
<arg0 key="분류코드" resource="false"/>
<arg1 key="3" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>3</var-value>
</var>
</field>
<field property="ctgrNm" depends="required, maxlength">
<arg0 key="분류코드명" resource="false"/>
<arg1 key="60" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>60</var-value>
</var>
</field>
<field property="dscrp" depends="required, maxlength">
<arg0 key="분류코드설명" resource="false"/>
<arg1 key="200" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>200</var-value>
</var>
</field>
<field property="useYn" depends="required">
<arg0 key="사용여부" resource="false"/>
</field>
</form>
</formset>
</form-validation>

@ -1,50 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="cmmnCode">
<field property="grpId" depends="required, maxlength">
<arg0 key="코드ID" resource="false"/>
<arg1 key="6" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>6</var-value>
</var>
</field>
<field property="grpNm" depends="required, maxlength">
<arg0 key="코드ID명" resource="false"/>
<arg1 key="60" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>60</var-value>
</var>
</field>
<field property="dscrp" depends="required, maxlength">
<arg0 key="코드ID설명" resource="false"/>
<arg1 key="200" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>200</var-value>
</var>
</field>
<field property="ctgrId" depends="required, maxlength">
<arg0 key="분류코드" resource="false"/>
<arg1 key="3" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>3</var-value>
</var>
</field>
<field property="useYn" depends="required">
<arg0 key="사용여부" resource="false"/>
</field>
</form>
</formset>
</form-validation>

@ -1,51 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="cmmnDetailCode">
<field property="grpId" depends="required, maxlength">
<arg0 key="코드ID" resource="false"/>
<arg1 key="6" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>6</var-value>
</var>
</field>
<field property="code" depends="required, maxlength">
<arg0 key="코드" resource="false"/>
<arg1 key="15" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>15</var-value>
</var>
</field>
<field property="codeVal" depends="required, maxlength">
<arg0 key="코드명" resource="false"/>
<arg1 key="60" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>60</var-value>
</var>
</field>
<field property="dscrp" depends="required, maxlength">
<arg0 key="코드설명" resource="false"/>
<arg1 key="200" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>200</var-value>
</var>
</field>
<field property="useYn" depends="required">
<arg0 key="사용여부" resource="false"/>
</field>
</form>
</formset>
</form-validation>

@ -1,64 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="zipVO">
<field property="zip" depends="required, maxlength">
<arg0 key="우편번호" resource="false"/>
<arg1 key="6" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>6</var-value>
</var>
</field>
<field property="ctprvnNm" depends="required, maxlength">
<arg0 key="시도명" resource="false"/>
<arg1 key="20" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>20</var-value>
</var>
</field>
<field property="sggNm" depends="required, maxlength">
<arg0 key="시군구명" resource="false"/>
<arg1 key="20" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>20</var-value>
</var>
</field>
<field property="emdNm" depends="required, maxlength">
<arg0 key="읍면동명" resource="false"/>
<arg1 key="30" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>30</var-value>
</var>
</field>
<field property="liBuldNm" depends="maxlength">
<arg0 key="리건물명" resource="false"/>
<arg1 key="60" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>60</var-value>
</var>
</field>
<field property="lnbrDongHo" depends="maxlength">
<arg0 key="번지동호" resource="false"/>
<arg1 key="20" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>20</var-value>
</var>
</field>
</form>
</formset>
</form-validation>

@ -1,68 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="menuManageVO">
<field property="menuNo" depends="required, integer">
<arg0 key="메뉴번호" resource="false"/>
</field>
<field property="srtOrd" depends="required, integer">
<arg0 key="메뉴순서" resource="false"/>
</field>
<field property="menuNm" depends="required, maxlength">
<arg0 key="메뉴명" resource="false"/>
<arg1 key="50" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>50</var-value>
</var>
</field>
<field property="action" depends="required, maxlength">
<arg0 key="메뉴화면파일명" resource="false"/>
<arg1 key="60" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>60</var-value>
</var>
</field>
<field property="prntNo" depends="required, integer">
<arg0 key="메뉴상위번호" resource="false"/>
</field>
<field property="pgrmFileNm" depends="maxlength">
<arg0 key="프로그램파일명" resource="false"/>
<arg1 key="50" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>50</var-value>
</var>
</field>
<field property="dscrp" depends="maxlength">
<arg0 key="메뉴설명" resource="false"/>
<arg1 key="100" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>100</var-value>
</var>
</field>
<field property="relateImagePath" depends="maxlength">
<arg0 key="관련이미지경로" resource="false"/>
<arg1 key="100" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>100</var-value>
</var>
</field>
<field property="imgNm" depends="maxlength">
<arg0 key="관련이미지명" resource="false"/>
<arg1 key="50" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>50</var-value>
</var>
</field>
</form>
</formset>
</form-validation>

@ -1,52 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="progrmMngVO">
<field property="pgrmFileNm" depends="required, maxlength">
<arg0 key="프로그램파일명" resource="false"/>
<arg1 key="50" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>50</var-value>
</var>
</field>
<field property="progrmStrePath" depends="required, maxlength">
<arg0 key="프로그램저장경로" resource="false"/>
<arg1 key="100" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>100</var-value>
</var>
</field>
<field property="progrmKoreanNm" depends="required, maxlength">
<arg0 key="프로그램한글명" resource="false"/>
<arg1 key="50" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>50</var-value>
</var>
</field>
<field property="URL" depends="required, maxlength">
<arg0 key="URL" resource="false"/>
<arg1 key="100" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>100</var-value>
</var>
</field>
<field property="dscrp" depends="maxlength">
<arg0 key="프로그램설명" resource="false"/>
<arg1 key="100" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>100</var-value>
</var>
</field>
</form>
</formset>
</form-validation>

@ -1,75 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="progrmManageDtlVO">
<field property="pgrmFileNm" depends="required, maxlength">
<arg0 key="프로그램파일명" resource="false"/>
<arg1 key="50" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>50</var-value>
</var>
</field>
<field property="rqesterNo" depends="required, integer">
<arg0 key="요청번호" resource="false"/>
</field>
<field property="rqesterPersonId" depends="required, maxlength">
<arg0 key="요청자ID" resource="false"/>
<arg1 key="20" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>20</var-value>
</var>
</field>
<field property="changerqesterCn" depends="maxlength">
<arg0 key="변경요청내용" resource="false"/>
<arg1 key="1000" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>1000</var-value>
</var>
</field>
<field property="rqesterProcessCn" depends="maxlength">
<arg0 key="요청처리내용" resource="false"/>
<arg1 key="1000" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>1000</var-value>
</var>
</field>
<field property="opetrId" depends="maxlength">
<arg0 key="처리자ID" resource="false"/>
<arg1 key="20" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>20</var-value>
</var>
</field>
<field property="processDe" depends="required, date">
<arg0 key="처리일자" resource="false"/>
<var>
<var-name>datePatternStrict</var-name>
<var-value>yyyy-MM-dd</var-value>
</var>
</field>
<field property="rqesterDe" depends="required, date">
<arg0 key="요청일자" resource="false"/>
<var>
<var-name>datePatternStrict</var-name>
<var-value>yyyy-MM-dd</var-value>
</var>
</field>
<field property="rqesterSj" depends="required, maxlength">
<arg0 key="요청제목" resource="false"/>
<arg1 key="50" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>50</var-value>
</var>
</field>
</form>
</formset>
</form-validation>

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="loginPolicy">
<field property="ipAddr" depends="required, maxlength">
<arg0 key="IP정보" resource="false"/>
<arg1 key="23" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>23</var-value>
</var>
</field>
<field property="limitYn" depends="required">
<arg0 key="IP제한여부" resource="false"/>
</field>
</form>
</formset>
</form-validation>

@ -1,117 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="userInfoVO">
<field property="emplyrId" depends="required, maxlength">
<arg0 key="사용자아이디" resource="false"/>
<arg1 key="20" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>20</var-value>
</var>
</field>
<field property="emplyrNm" depends="required, maxlength">
<arg0 key="사용자이름" resource="false"/>
<arg1 key="50" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>50</var-value>
</var>
</field>
<!--
<field property="passwd" depends="required, password1, password2, password3, password4">
<arg0 key="비밀번호" resource="false"/>
</field>
-->
<!--
<field property="passwdHint" depends="required">
<arg0 key="비밀번호힌트" resource="false"/>
</field>
<field property="passwdNsr" depends="required, maxlength">
<arg0 key="비밀번호정답" resource="false"/>
<arg1 key="100" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>100</var-value>
</var>
</field>
-->
<field
property="areaNo" depends="maxlength, mask">
<arg0 key="지역번호" resource="false"/>
<arg1 key="10" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>10</var-value>
</var>
<var>
<var-name>mask</var-name>
<var-value>[0-9]([0-9])*</var-value>
</var>
</field>
<field property="telno" depends="maxlength">
<arg0 key="사무실전화번호" resource="false"/>
<arg1 key="15" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>15</var-value>
</var>
</field>
<field property="fxno" depends="maxlength">
<arg0 key="팩스번호" resource="false"/>
<arg1 key="15" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>15</var-value>
</var>
</field>
<field property="mblTelno" depends="maxlength">
<arg0 key="핸드폰번호" resource="false"/>
<arg1 key="15" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>15</var-value>
</var>
</field>
<field property="emlAdrs" depends="email">
<arg0 key="이메일주소" resource="false"/>
</field>
<field property="addr" depends="maxlength">
<arg0 key="주소" resource="false"/>
<arg1 key="100" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>100</var-value>
</var>
</field>
<field property="orgId" depends="required">
<arg0 key="조직코드" resource="false"/>
</field>
<!-- <field property="stts" depends="required"> -->
<!-- <arg0 key="사용자상태코드" resource="false"/> -->
<!-- </field> -->
<field property="grpId" depends="required">
<arg0 key="그룹아이디" resource="false"/>
</field>
</form>
</formset>
</form-validation>

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="passwordChgVO">
<field property="newPassword" depends="required, password1, password2, password3, password4">
<arg0 key="비밀번호" resource="false"/>
</field>
<field property="oldPassword" depends="required">
<arg0 key="이전비밀번호" resource="false"/>
</field>
</form>
</formset>
</form-validation>

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save