이준호 전자조정시스템 커밋
This commit is contained in:
parent
04f240ee0a
commit
da3341d564
@ -0,0 +1,12 @@
|
||||
package kcc.com.cmm.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public interface AdrCourtFileMngService {
|
||||
|
||||
// public AdrCourtFileVO selectCourtFileInfs(AdrCourtFileVO adrCourtFileVO) throws Exception;
|
||||
|
||||
public void insertCourtFileInf(AdrCourtFileVO adrCourtFileVO) throws Exception;
|
||||
|
||||
}
|
||||
72
src/main/java/kcc/com/cmm/service/AdrCourtFileVO.java
Normal file
72
src/main/java/kcc/com/cmm/service/AdrCourtFileVO.java
Normal file
@ -0,0 +1,72 @@
|
||||
package kcc.com.cmm.service;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class AdrCourtFileVO implements Serializable {
|
||||
|
||||
private String crtAtchFileId;
|
||||
private String crtSeq;
|
||||
private String crtSn;
|
||||
private String crtAtchFileTy;
|
||||
private String frstRegistPnttm;
|
||||
private String frstRegisterId;
|
||||
private String lastUpdtPnttm;
|
||||
private String lastUpdusrId;
|
||||
|
||||
|
||||
public String getCrtAtchFileId() {
|
||||
return crtAtchFileId;
|
||||
}
|
||||
public void setCrtAtchFileId(String crtAtchFileId) {
|
||||
this.crtAtchFileId = crtAtchFileId;
|
||||
}
|
||||
public String getCrtSeq() {
|
||||
return crtSeq;
|
||||
}
|
||||
public void setCrtSeq(String crtSeq) {
|
||||
this.crtSeq = crtSeq;
|
||||
}
|
||||
public String getCrtSn() {
|
||||
return crtSn;
|
||||
}
|
||||
public void setCrtSn(String crtSn) {
|
||||
this.crtSn = crtSn;
|
||||
}
|
||||
public String getCrtAtchFileTy() {
|
||||
return crtAtchFileTy;
|
||||
}
|
||||
public void setCrtAtchFileTy(String crtAtchFileTy) {
|
||||
this.crtAtchFileTy = crtAtchFileTy;
|
||||
}
|
||||
public String getFrstRegistPnttm() {
|
||||
return frstRegistPnttm;
|
||||
}
|
||||
public void setFrstRegistPnttm(String frstRegistPnttm) {
|
||||
this.frstRegistPnttm = frstRegistPnttm;
|
||||
}
|
||||
public String getFrstRegisterId() {
|
||||
return frstRegisterId;
|
||||
}
|
||||
public void setFrstRegisterId(String frstRegisterId) {
|
||||
this.frstRegisterId = frstRegisterId;
|
||||
}
|
||||
public String getLastUpdtPnttm() {
|
||||
return lastUpdtPnttm;
|
||||
}
|
||||
public void setLastUpdtPnttm(String lastUpdtPnttm) {
|
||||
this.lastUpdtPnttm = lastUpdtPnttm;
|
||||
}
|
||||
public String getLastUpdusrId() {
|
||||
return lastUpdusrId;
|
||||
}
|
||||
public void setLastUpdusrId(String lastUpdusrId) {
|
||||
this.lastUpdusrId = lastUpdusrId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,48 @@
|
||||
package kcc.com.cmm.service.impl;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||
import kcc.com.cmm.service.AdrCourtFileMngService;
|
||||
import kcc.com.cmm.service.AdrCourtFileVO;
|
||||
import kcc.com.cmm.service.FileVO;
|
||||
import kcc.kccadr.adjCourtCnctn.service.impl.AdjCourtCnctnDAO;
|
||||
|
||||
/**
|
||||
* @Class Name : EgovFileMngServiceImpl.java
|
||||
* @Description : 파일정보의 관리를 위한 구현 클래스
|
||||
* @Modification Information
|
||||
*
|
||||
* 수정일 수정자 수정내용
|
||||
* ------- ------- -------------------
|
||||
* 2009. 3. 25. 이삼섭 최초생성
|
||||
*
|
||||
* @author 공통 서비스 개발팀 이삼섭
|
||||
* @since 2009. 3. 25.
|
||||
* @version
|
||||
* @see
|
||||
*
|
||||
*/
|
||||
@Service("AdrCourtFileMngService")
|
||||
public class AdrCourtFileMngServiceImpl extends EgovAbstractServiceImpl implements AdrCourtFileMngService {
|
||||
|
||||
@Resource(name = "AdjCourtCnctnDAO")
|
||||
private AdjCourtCnctnDAO adjCourtCnctnDAO;
|
||||
|
||||
// @Override
|
||||
// public AdrCourtFileVO selectCourtFileInfs(AdrCourtFileVO adrCourtFileVO) throws Exception {
|
||||
// return adjCourtCnctnDAO.selectCourtFileInfs(adrCourtFileVO);
|
||||
// }
|
||||
|
||||
@Override
|
||||
public void insertCourtFileInf(AdrCourtFileVO adrCourtFileVO) throws Exception {
|
||||
adjCourtCnctnDAO.insertCourtFileInf(adrCourtFileVO);
|
||||
}
|
||||
}
|
||||
@ -2,12 +2,13 @@ package kcc.kccadr.adjCourtCnctn.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import kcc.kccadr.adjReqMgrOff.service.AdjReqMgrOffLineVO;
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
|
||||
import kcc.kccadr.cmm.RestResponse;
|
||||
|
||||
public interface AdjCourtCnctnService {
|
||||
|
||||
RestResponse insertCourtCnctn(AdjCourtCnctnVO adjCourtCnctnVO);
|
||||
RestResponse insertCourtCnctn(AdjCourtCnctnVO adjCourtCnctnVO, final MultipartHttpServletRequest multiRequest);
|
||||
|
||||
int adjCourtCnctnListCount(AdjCourtCnctnVO adjCourtCnctnVO);
|
||||
|
||||
@ -18,4 +19,5 @@ public interface AdjCourtCnctnService {
|
||||
RestResponse updateCourtCnctn(AdjCourtCnctnVO adjCourtCnctnVO);
|
||||
|
||||
void updateUseYn(AdjCourtCnctnVO adjCourtCnctnVO);
|
||||
|
||||
}
|
||||
|
||||
@ -15,206 +15,222 @@ public class AdjCourtCnctnVO extends ComDefaultVO implements Serializable {
|
||||
private static final long serialVersionUID = -1111076331699607617L;
|
||||
|
||||
|
||||
private String courtSeq = "";
|
||||
private String courtNum = "";
|
||||
private String courtOrgNo = "";
|
||||
private String courtNo = "";
|
||||
private String dcsnDe = "";
|
||||
private String rcvDe = "";
|
||||
private String alctnDe = "";
|
||||
private String alctnMonth = "";
|
||||
private String officeWorkDe = "";
|
||||
private String rprtDe = "";
|
||||
private String rprtMonth = "";
|
||||
private String processDay = "";
|
||||
private String courtFld = "";
|
||||
private String accdntCn = "";
|
||||
private String reqInfo = "";
|
||||
private String aplcnInfo = "";
|
||||
private String rspndInfo = "";
|
||||
private String aplcnDpty = "";
|
||||
private String rspndDpty = "";
|
||||
private String courtRslt = "";
|
||||
private String courtDetailRslt = "";
|
||||
private String adjCmsnr = "";
|
||||
private String pay = "";
|
||||
private String appDe = "";
|
||||
private String pymntDay = "";
|
||||
private String extns = "";
|
||||
private String useYn = "";
|
||||
private String rmrks = "";
|
||||
private String frstRegistPnttm = "";
|
||||
private String frstRegisterId = "";
|
||||
private String lastUpdtPnttm = "";
|
||||
private String lastUpdusrId = "";
|
||||
// private String courtSeq = "";
|
||||
// private String courtNum = "";
|
||||
// private String courtOrgNo = "";
|
||||
// private String courtNo = "";
|
||||
// private String dcsnDe = "";
|
||||
// private String rcvDe = "";
|
||||
// private String alctnDe = "";
|
||||
// private String alctnMonth = "";
|
||||
// private String officeWorkDe = "";
|
||||
// private String rprtDe = "";
|
||||
// private String rprtMonth = "";
|
||||
// private String processDay = "";
|
||||
// private String courtFld = "";
|
||||
// private String accdntCn = "";
|
||||
// private String reqInfo = "";
|
||||
// private String aplcnInfo = "";
|
||||
// private String rspndInfo = "";
|
||||
// private String aplcnDpty = "";
|
||||
// private String rspndDpty = "";
|
||||
// private String courtRslt = "";
|
||||
// private String courtDetailRslt = "";
|
||||
// private String adjCmsnr = "";
|
||||
// private String pay = "";
|
||||
// private String appDe = "";
|
||||
// private String pymntDay = "";
|
||||
// private String extns = "";
|
||||
// private String useYn = "";
|
||||
// private String rmrks = "";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private String crtSeq; //법원연계 seq
|
||||
private String crtSn; //법원연계 기일수
|
||||
private String crtOriNo; //본사건번호
|
||||
private String crtNo; //조정사건번호
|
||||
private String crtDcsnDe; //결정일
|
||||
private String crtRcptDe; //수령일
|
||||
private String crtAllctDe; //배당일
|
||||
private String crtRprtDe; //보고일
|
||||
private String crtClimntNm; //원고이름
|
||||
private String crtClimntPhone; //원고연락처
|
||||
private String crtClimntAgntNm; //원고-대리인 이름
|
||||
private String crtClimntAgtPhone; //원고-대리인 연락처
|
||||
private String crtClimntInfo; //원고정보
|
||||
private String crtDfndntNm; //피고이름
|
||||
private String crtDfndntPhone; //피고연락처
|
||||
private String crtDfndntAgntNm; //피고-대리인 이름
|
||||
private String crtDfndntAgntPhone; //피고-대리인 연락처
|
||||
private String crtDfndntInfo; //피고정보
|
||||
private String crtCn; //사건내용
|
||||
private String crtAtchFileId; //회신 첨부파일 아이디
|
||||
private String crtAllctDdlDe; //사무처리기한-배당일+45 자동으로 계산 이후 연장시 +30
|
||||
private String crtCcTy; //사건분류 - 저작물종류
|
||||
private String crtLinkHouse; //연계법원
|
||||
private String crtStatCd; //처리상태
|
||||
private String crtAgrment; //합의금
|
||||
|
||||
private String frstRegistPnttm;
|
||||
private String frstRegisterId;
|
||||
private String lastUpdtPnttm;
|
||||
private String lastUpdusrId;
|
||||
|
||||
|
||||
private String searchCondition2 = "";
|
||||
private String diffMonth = "";
|
||||
|
||||
|
||||
|
||||
public String getCourtSeq() {
|
||||
return courtSeq;
|
||||
public String getCrtSeq() {
|
||||
return crtSeq;
|
||||
}
|
||||
public void setCourtSeq(String courtSeq) {
|
||||
this.courtSeq = courtSeq;
|
||||
public void setCrtSeq(String crtSeq) {
|
||||
this.crtSeq = crtSeq;
|
||||
}
|
||||
public String getCourtNum() {
|
||||
return courtNum;
|
||||
public String getCrtSn() {
|
||||
return crtSn;
|
||||
}
|
||||
public void setCourtNum(String courtNum) {
|
||||
this.courtNum = courtNum;
|
||||
public void setCrtSn(String crtSn) {
|
||||
this.crtSn = crtSn;
|
||||
}
|
||||
public String getCourtOrgNo() {
|
||||
return courtOrgNo;
|
||||
public String getCrtOriNo() {
|
||||
return crtOriNo;
|
||||
}
|
||||
public void setCourtOrgNo(String courtOrgNo) {
|
||||
this.courtOrgNo = courtOrgNo;
|
||||
public void setCrtOriNo(String crtOriNo) {
|
||||
this.crtOriNo = crtOriNo;
|
||||
}
|
||||
public String getCourtNo() {
|
||||
return courtNo;
|
||||
public String getCrtNo() {
|
||||
return crtNo;
|
||||
}
|
||||
public void setCourtNo(String courtNo) {
|
||||
this.courtNo = courtNo;
|
||||
public void setCrtNo(String crtNo) {
|
||||
this.crtNo = crtNo;
|
||||
}
|
||||
public String getDcsnDe() {
|
||||
return dcsnDe;
|
||||
public String getCrtDcsnDe() {
|
||||
return crtDcsnDe;
|
||||
}
|
||||
public void setDcsnDe(String dcsnDe) {
|
||||
this.dcsnDe = dcsnDe;
|
||||
public void setCrtDcsnDe(String crtDcsnDe) {
|
||||
this.crtDcsnDe = crtDcsnDe;
|
||||
}
|
||||
public String getRcvDe() {
|
||||
return rcvDe;
|
||||
public String getCrtRcptDe() {
|
||||
return crtRcptDe;
|
||||
}
|
||||
public void setRcvDe(String rcvDe) {
|
||||
this.rcvDe = rcvDe;
|
||||
public void setCrtRcptDe(String crtRcptDe) {
|
||||
this.crtRcptDe = crtRcptDe;
|
||||
}
|
||||
public String getAlctnDe() {
|
||||
return alctnDe;
|
||||
public String getCrtAllctDe() {
|
||||
return crtAllctDe;
|
||||
}
|
||||
public void setAlctnDe(String alctnDe) {
|
||||
this.alctnDe = alctnDe;
|
||||
public void setCrtAllctDe(String crtAllctDe) {
|
||||
this.crtAllctDe = crtAllctDe;
|
||||
}
|
||||
public String getAlctnMonth() {
|
||||
return alctnMonth;
|
||||
public String getCrtRprtDe() {
|
||||
return crtRprtDe;
|
||||
}
|
||||
public void setAlctnMonth(String alctnMonth) {
|
||||
this.alctnMonth = alctnMonth;
|
||||
public void setCrtRprtDe(String crtRprtDe) {
|
||||
this.crtRprtDe = crtRprtDe;
|
||||
}
|
||||
public String getOfficeWorkDe() {
|
||||
return officeWorkDe;
|
||||
public String getCrtClimntNm() {
|
||||
return crtClimntNm;
|
||||
}
|
||||
public void setOfficeWorkDe(String officeWorkDe) {
|
||||
this.officeWorkDe = officeWorkDe;
|
||||
public void setCrtClimntNm(String crtClimntNm) {
|
||||
this.crtClimntNm = crtClimntNm;
|
||||
}
|
||||
public String getRprtDe() {
|
||||
return rprtDe;
|
||||
public String getCrtClimntPhone() {
|
||||
return crtClimntPhone;
|
||||
}
|
||||
public void setRprtDe(String rprtDe) {
|
||||
this.rprtDe = rprtDe;
|
||||
public void setCrtClimntPhone(String crtClimntPhone) {
|
||||
this.crtClimntPhone = crtClimntPhone;
|
||||
}
|
||||
public String getRprtMonth() {
|
||||
return rprtMonth;
|
||||
public String getCrtClimntAgntNm() {
|
||||
return crtClimntAgntNm;
|
||||
}
|
||||
public void setRprtMonth(String rprtMonth) {
|
||||
this.rprtMonth = rprtMonth;
|
||||
public void setCrtClimntAgntNm(String crtClimntAgntNm) {
|
||||
this.crtClimntAgntNm = crtClimntAgntNm;
|
||||
}
|
||||
public String getProcessDay() {
|
||||
return processDay;
|
||||
public String getCrtClimntAgtPhone() {
|
||||
return crtClimntAgtPhone;
|
||||
}
|
||||
public void setProcessDay(String processDay) {
|
||||
this.processDay = processDay;
|
||||
public void setCrtClimntAgtPhone(String crtClimntAgtPhone) {
|
||||
this.crtClimntAgtPhone = crtClimntAgtPhone;
|
||||
}
|
||||
public String getCourtFld() {
|
||||
return courtFld;
|
||||
public String getCrtClimntInfo() {
|
||||
return crtClimntInfo;
|
||||
}
|
||||
public void setCourtFld(String courtFld) {
|
||||
this.courtFld = courtFld;
|
||||
public void setCrtClimntInfo(String crtClimntInfo) {
|
||||
this.crtClimntInfo = crtClimntInfo;
|
||||
}
|
||||
public String getAccdntCn() {
|
||||
return accdntCn;
|
||||
public String getCrtDfndntNm() {
|
||||
return crtDfndntNm;
|
||||
}
|
||||
public void setAccdntCn(String accdntCn) {
|
||||
this.accdntCn = accdntCn;
|
||||
public void setCrtDfndntNm(String crtDfndntNm) {
|
||||
this.crtDfndntNm = crtDfndntNm;
|
||||
}
|
||||
public String getReqInfo() {
|
||||
return reqInfo;
|
||||
public String getCrtDfndntPhone() {
|
||||
return crtDfndntPhone;
|
||||
}
|
||||
public void setReqInfo(String reqInfo) {
|
||||
this.reqInfo = reqInfo;
|
||||
public void setCrtDfndntPhone(String crtDfndntPhone) {
|
||||
this.crtDfndntPhone = crtDfndntPhone;
|
||||
}
|
||||
public String getAplcnInfo() {
|
||||
return aplcnInfo;
|
||||
public String getCrtDfndntAgntNm() {
|
||||
return crtDfndntAgntNm;
|
||||
}
|
||||
public void setAplcnInfo(String aplcnInfo) {
|
||||
this.aplcnInfo = aplcnInfo;
|
||||
public void setCrtDfndntAgntNm(String crtDfndntAgntNm) {
|
||||
this.crtDfndntAgntNm = crtDfndntAgntNm;
|
||||
}
|
||||
public String getRspndInfo() {
|
||||
return rspndInfo;
|
||||
public String getCrtDfndntAgntPhone() {
|
||||
return crtDfndntAgntPhone;
|
||||
}
|
||||
public void setRspndInfo(String rspndInfo) {
|
||||
this.rspndInfo = rspndInfo;
|
||||
public void setCrtDfndntAgntPhone(String crtDfndntAgntPhone) {
|
||||
this.crtDfndntAgntPhone = crtDfndntAgntPhone;
|
||||
}
|
||||
public String getAplcnDpty() {
|
||||
return aplcnDpty;
|
||||
public String getCrtDfndntInfo() {
|
||||
return crtDfndntInfo;
|
||||
}
|
||||
public void setAplcnDpty(String aplcnDpty) {
|
||||
this.aplcnDpty = aplcnDpty;
|
||||
public void setCrtDfndntInfo(String crtDfndntInfo) {
|
||||
this.crtDfndntInfo = crtDfndntInfo;
|
||||
}
|
||||
public String getRspndDpty() {
|
||||
return rspndDpty;
|
||||
public String getCrtCn() {
|
||||
return crtCn;
|
||||
}
|
||||
public void setRspndDpty(String rspndDpty) {
|
||||
this.rspndDpty = rspndDpty;
|
||||
public void setCrtCn(String crtCn) {
|
||||
this.crtCn = crtCn;
|
||||
}
|
||||
public String getCourtRslt() {
|
||||
return courtRslt;
|
||||
public String getCrtAtchFileId() {
|
||||
return crtAtchFileId;
|
||||
}
|
||||
public void setCourtRslt(String courtRslt) {
|
||||
this.courtRslt = courtRslt;
|
||||
public void setCrtAtchFileId(String crtAtchFileId) {
|
||||
this.crtAtchFileId = crtAtchFileId;
|
||||
}
|
||||
public String getCourtDetailRslt() {
|
||||
return courtDetailRslt;
|
||||
public String getCrtAllctDdlDe() {
|
||||
return crtAllctDdlDe;
|
||||
}
|
||||
public void setCourtDetailRslt(String courtDetailRslt) {
|
||||
this.courtDetailRslt = courtDetailRslt;
|
||||
public void setCrtAllctDdlDe(String crtAllctDdlDe) {
|
||||
this.crtAllctDdlDe = crtAllctDdlDe;
|
||||
}
|
||||
public String getAdjCmsnr() {
|
||||
return adjCmsnr;
|
||||
public String getCrtCcTy() {
|
||||
return crtCcTy;
|
||||
}
|
||||
public void setAdjCmsnr(String adjCmsnr) {
|
||||
this.adjCmsnr = adjCmsnr;
|
||||
public void setCrtCcTy(String crtCcTy) {
|
||||
this.crtCcTy = crtCcTy;
|
||||
}
|
||||
public String getPay() {
|
||||
return pay;
|
||||
public String getCrtLinkHouse() {
|
||||
return crtLinkHouse;
|
||||
}
|
||||
public void setPay(String pay) {
|
||||
this.pay = pay;
|
||||
public void setCrtLinkHouse(String crtLinkHouse) {
|
||||
this.crtLinkHouse = crtLinkHouse;
|
||||
}
|
||||
public String getAppDe() {
|
||||
return appDe;
|
||||
public String getCrtStatCd() {
|
||||
return crtStatCd;
|
||||
}
|
||||
public void setAppDe(String appDe) {
|
||||
this.appDe = appDe;
|
||||
public void setCrtStatCd(String crtStatCd) {
|
||||
this.crtStatCd = crtStatCd;
|
||||
}
|
||||
public String getPymntDay() {
|
||||
return pymntDay;
|
||||
public String getCrtAgrment() {
|
||||
return crtAgrment;
|
||||
}
|
||||
public void setPymntDay(String pymntDay) {
|
||||
this.pymntDay = pymntDay;
|
||||
}
|
||||
public String getExtns() {
|
||||
return extns;
|
||||
}
|
||||
public void setExtns(String extns) {
|
||||
this.extns = extns;
|
||||
}
|
||||
public String getUseYn() {
|
||||
return useYn;
|
||||
}
|
||||
public void setUseYn(String useYn) {
|
||||
this.useYn = useYn;
|
||||
public void setCrtAgrment(String crtAgrment) {
|
||||
this.crtAgrment = crtAgrment;
|
||||
}
|
||||
public String getFrstRegistPnttm() {
|
||||
return frstRegistPnttm;
|
||||
@ -240,12 +256,6 @@ public class AdjCourtCnctnVO extends ComDefaultVO implements Serializable {
|
||||
public void setLastUpdusrId(String lastUpdusrId) {
|
||||
this.lastUpdusrId = lastUpdusrId;
|
||||
}
|
||||
public String getRmrks() {
|
||||
return rmrks;
|
||||
}
|
||||
public void setRmrks(String rmrks) {
|
||||
this.rmrks = rmrks;
|
||||
}
|
||||
public String getSearchCondition2() {
|
||||
return searchCondition2;
|
||||
}
|
||||
@ -259,11 +269,4 @@ public class AdjCourtCnctnVO extends ComDefaultVO implements Serializable {
|
||||
this.diffMonth = diffMonth;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -5,6 +5,7 @@ import java.util.List;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import egovframework.rte.psl.dataaccess.EgovAbstractDAO;
|
||||
import kcc.com.cmm.service.AdrCourtFileVO;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnVO;
|
||||
import kcc.kccadr.adjReqMgrOff.service.AdjReqMgrOffLineVO;
|
||||
import kcc.kccadr.adjReqMgrPast.service.AdjReqMgrPastVO;
|
||||
@ -37,5 +38,9 @@ public class AdjCourtCnctnDAO extends EgovAbstractDAO {
|
||||
public void updateUseYn(AdjCourtCnctnVO adjCourtCnctnVO) {
|
||||
update("adjCourtCnctnDAO.updateUseYn", adjCourtCnctnVO);
|
||||
}
|
||||
|
||||
public void insertCourtFileInf(AdrCourtFileVO adrCourtFileVO) {
|
||||
insert("adjCourtCnctnDAO.insertCourtFileInf", adrCourtFileVO);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,34 +1,28 @@
|
||||
package kcc.kccadr.adjCourtCnctn.service.impl;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||
import egovframework.rte.fdl.idgnr.EgovIdGnrService;
|
||||
import kcc.com.cmm.service.CmmnDetailCode;
|
||||
import kcc.com.cmm.service.AdrCourtFileMngService;
|
||||
import kcc.com.cmm.service.AdrCourtFileVO;
|
||||
import kcc.com.cmm.service.EgovFileMngService;
|
||||
import kcc.com.cmm.service.EgovFileMngUtil;
|
||||
import kcc.com.cmm.service.FileVO;
|
||||
import kcc.com.cmm.util.DateUtil;
|
||||
import kcc.com.utl.user.service.CheckAdrProcessUtil;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnService;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnVO;
|
||||
import kcc.kccadr.adjReqMgrOff.service.AdjReqMgrOffLineService;
|
||||
import kcc.kccadr.adjReqMgrOff.service.AdjReqMgrOffLineVO;
|
||||
import kcc.kccadr.adjreqmgr.service.AdjReqMgrVO;
|
||||
import kcc.kccadr.adjreqmgr.service.impl.AdjReqMgrDAO;
|
||||
import kcc.kccadr.adjst.service.AdjstReqVO;
|
||||
import kcc.kccadr.adjst.service.impl.AdjstReqDAO;
|
||||
import kcc.kccadr.advc.service.impl.AdrHstryMgrDAO;
|
||||
import kcc.kccadr.cmm.KccadrConstants;
|
||||
import kcc.kccadr.cmm.RestResponse;
|
||||
import kcc.let.sym.ccm.cde.service.CmmnDetailCodeVO;
|
||||
import kcc.let.sym.ccm.cde.service.EgovCcmCmmnDetailCodeManageService;
|
||||
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
||||
|
||||
@Service("AdjCourtCnctnService")
|
||||
public class AdjCourtCnctnServiceImpl extends EgovAbstractServiceImpl implements AdjCourtCnctnService {
|
||||
@ -39,12 +33,41 @@ public class AdjCourtCnctnServiceImpl extends EgovAbstractServiceImpl implements
|
||||
|
||||
@Resource(name="courtCnctnGnrService")
|
||||
private EgovIdGnrService courtCnctnGnrService;
|
||||
|
||||
@Resource(name = "EgovFileMngService")
|
||||
private EgovFileMngService fileMngService;
|
||||
|
||||
@Resource(name = "EgovFileMngUtil")
|
||||
private EgovFileMngUtil fileUtil;
|
||||
|
||||
@Resource(name = "AdrCourtFileMngService")
|
||||
private AdrCourtFileMngService adrCourtFileMngService;
|
||||
|
||||
@Override
|
||||
public RestResponse insertCourtCnctn(AdjCourtCnctnVO adjCourtCnctnVO) {
|
||||
public RestResponse insertCourtCnctn(AdjCourtCnctnVO adjCourtCnctnVO, final MultipartHttpServletRequest multiRequest) {
|
||||
try {
|
||||
adjCourtCnctnVO.setCourtSeq(courtCnctnGnrService.getNextStringId());
|
||||
|
||||
adjCourtCnctnVO.setCrtSeq(courtCnctnGnrService.getNextStringId());
|
||||
|
||||
final Map<String, MultipartFile> files = multiRequest.getFileMap();
|
||||
if (!files.isEmpty()){
|
||||
List<FileVO> result = fileUtil.parseFileInf(files, "CRT_", 0, "", "", "");
|
||||
String atchFileId = fileMngService.insertFileInfs(result);
|
||||
adjCourtCnctnVO.setCrtAtchFileId(atchFileId);
|
||||
|
||||
AdrCourtFileVO adrCourtFileVO = new AdrCourtFileVO();
|
||||
|
||||
adrCourtFileVO.setCrtSeq(adjCourtCnctnVO.getCrtSeq());
|
||||
adrCourtFileVO.setCrtSn(adjCourtCnctnVO.getCrtSn());
|
||||
adrCourtFileVO.setCrtAtchFileId(atchFileId);
|
||||
adrCourtFileVO.setCrtAtchFileTy("10");
|
||||
adrCourtFileVO.setFrstRegisterId(adjCourtCnctnVO.getFrstRegisterId());
|
||||
|
||||
adrCourtFileMngService.insertCourtFileInf(adrCourtFileVO);
|
||||
}
|
||||
|
||||
adjCourtCnctnDAO.insertCourtCnctn(adjCourtCnctnVO);
|
||||
|
||||
} catch (Exception e) {
|
||||
return new RestResponse(HttpStatus.BAD_REQUEST, "등록에 실패하였습니다.", LocalDateTime.now());
|
||||
}
|
||||
|
||||
@ -10,6 +10,7 @@ import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.ModelMap;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
|
||||
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
||||
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
||||
@ -52,8 +53,6 @@ public class AdjCourtCnctnController {
|
||||
adjCourtCnctnVO.setSearchSortOrd("desc");
|
||||
}
|
||||
|
||||
System.out.println("searchMonth2 :: "+ adjCourtCnctnVO.getSearchMonth2());
|
||||
|
||||
/** paging */
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(adjCourtCnctnVO.getPageIndex());
|
||||
@ -63,7 +62,7 @@ public class AdjCourtCnctnController {
|
||||
adjCourtCnctnVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
||||
adjCourtCnctnVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
||||
adjCourtCnctnVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
||||
paginationInfo.setTotalRecordCount(adjCourtCnctnService.adjCourtCnctnListCount(adjCourtCnctnVO));
|
||||
// paginationInfo.setTotalRecordCount(adjCourtCnctnService.adjCourtCnctnListCount(adjCourtCnctnVO));
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
List<AdjCourtCnctnVO> list = adjCourtCnctnService.adjCourtCnctnList(adjCourtCnctnVO);
|
||||
// 복호화
|
||||
@ -102,17 +101,15 @@ public class AdjCourtCnctnController {
|
||||
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtCnctnRegist.do")
|
||||
public String adjCourtCnctnRegist(@ModelAttribute("adjCourtCnctnVO") AdjCourtCnctnVO adjCourtCnctnVO, ModelMap model) throws Exception {
|
||||
|
||||
AdjReqMgrPastVO adjReqMgrPastVO = new AdjReqMgrPastVO();
|
||||
model.addAttribute("courtVO", adjReqMgrPastVO);
|
||||
return "kccadr/adjCourtCnctn/adjCourtCnctnRegist";
|
||||
}
|
||||
|
||||
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtCnctnRegistAjax.do")
|
||||
public ResponseEntity<RestResponse> adjCourtCnctnRegistAjax(@ModelAttribute("adjCourtCnctnVO") AdjCourtCnctnVO adjCourtCnctnVO) throws Exception {
|
||||
public ResponseEntity<RestResponse> adjCourtCnctnRegistAjax(final MultipartHttpServletRequest multiRequest, AdjCourtCnctnVO adjCourtCnctnVO) throws Exception {
|
||||
|
||||
LoginVO loginVO = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
adjCourtCnctnVO.setFrstRegisterId(loginVO.getUniqId());
|
||||
return ResponseEntity.ok().body(adjCourtCnctnService.insertCourtCnctn(adjCourtCnctnVO));
|
||||
return ResponseEntity.ok().body(adjCourtCnctnService.insertCourtCnctn(adjCourtCnctnVO, multiRequest));
|
||||
}
|
||||
|
||||
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtCnctnUpdateAjax.do")
|
||||
|
||||
@ -232,7 +232,7 @@ public class TextSenseController {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
//TextSense API 요청 처리
|
||||
TextSenseVO apiTextSenseVO = new TextSenseVO();
|
||||
String outputFileExt = "text";
|
||||
|
||||
@ -347,6 +347,8 @@ public class EgovMainController {
|
||||
// List<MenuManageJTreeVO> quickList = menuCreateManageService.selectQuickListIncTop(menuManageJTreeVO) ;
|
||||
// model.addAttribute("quickList", quickList);
|
||||
// }
|
||||
|
||||
model.addAttribute("authority", user.getAuthority());
|
||||
return "main/inc/EgovIncTopnav"; // 내부업무의 상단메뉴 화면
|
||||
}
|
||||
|
||||
|
||||
@ -260,62 +260,62 @@ public class EgovLoginController {
|
||||
* @return String
|
||||
* @exception Exception
|
||||
*/
|
||||
@RequestMapping(value = "/web/user/login/login.do")
|
||||
public String userLogin(HttpServletRequest request, HttpServletResponse response, ModelMap model, @RequestParam Map<String, Object> commandMap, HttpSession session) throws Exception {
|
||||
Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated();
|
||||
if (isAuthenticated)
|
||||
return "redirect:/web/main/mainPage.do";
|
||||
|
||||
// 로그인필요 URL 호출하여 온경우
|
||||
String beforeUrl = (String) commandMap.get("beforeUrl");
|
||||
String message = (String) commandMap.get("message");
|
||||
|
||||
// sns 회원가입 key 값 설정
|
||||
String naverClientId = itnNaverClientId;
|
||||
String naverClientSecret = itnNaverClientSecret;
|
||||
|
||||
String kakaoRestApiKey = itnKakaoRestApiKey;
|
||||
String kakaoReturnUrl = itnKakaoReturnUrl;
|
||||
|
||||
// config 정보 가져오기
|
||||
MberManageConfigVO mberConfigVO = new MberManageConfigVO();
|
||||
|
||||
List<MberManageConfigVO> mberManageCnfVO = mberManageService.selectMberCnf(mberConfigVO);
|
||||
|
||||
for (int i = 0; i < mberManageCnfVO.size(); i++) {
|
||||
if (mberManageCnfVO.get(i).getIsSns().equals("Y")) {
|
||||
if (mberManageCnfVO.get(i).getUseYn().equals("Y")) {
|
||||
if (mberManageCnfVO.get(i).getConfigId().equals("snsNaver")) {
|
||||
String redirectURI = URLEncoder.encode(itnNaverReturnUrl, "UTF-8");
|
||||
SecureRandom random = new SecureRandom();
|
||||
BigInteger state = new BigInteger(130, random);
|
||||
String naver_url = "https://nid.naver.com/oauth2.0/authorize?response_type=code";
|
||||
naver_url += "&client_id=" + itnNaverClientId;
|
||||
naver_url += "&redirect_url=" + redirectURI;
|
||||
naver_url += "&state=" + state;
|
||||
mberManageCnfVO.get(i).setSiteUrl(naver_url);
|
||||
mberManageCnfVO.get(i).setSiteIcon("/img/login_naver_icon.png");
|
||||
|
||||
} else if (mberManageCnfVO.get(i).getConfigId().equals("snsKakao")) {
|
||||
|
||||
String kakao_url = "https://kauth.kakao.com/oauth/authorize?response_type=code";
|
||||
kakao_url += "&client_id=" + kakaoRestApiKey;
|
||||
kakao_url += "&redirect_uri=" + kakaoReturnUrl;
|
||||
mberManageCnfVO.get(i).setSiteUrl(kakao_url);
|
||||
mberManageCnfVO.get(i).setSiteIcon("/img/login_kakao_icon.png");
|
||||
|
||||
} else if (mberManageCnfVO.get(i).getConfigId().equals("snsGoogle")) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
model.addAttribute("mberManageCnfVO", mberManageCnfVO);
|
||||
model.addAttribute("beforeUrl", beforeUrl);
|
||||
model.addAttribute("message", message);
|
||||
// initRsa(request);
|
||||
return "web/login/EgovLoginGnrlUsr";
|
||||
}
|
||||
// @RequestMapping(value = "/web/user/login/login.do")
|
||||
// public String userLogin(HttpServletRequest request, HttpServletResponse response, ModelMap model, @RequestParam Map<String, Object> commandMap, HttpSession session) throws Exception {
|
||||
// Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated();
|
||||
// if (isAuthenticated)
|
||||
// return "redirect:/web/main/mainPage.do";
|
||||
//
|
||||
// // 로그인필요 URL 호출하여 온경우
|
||||
// String beforeUrl = (String) commandMap.get("beforeUrl");
|
||||
// String message = (String) commandMap.get("message");
|
||||
//
|
||||
// // sns 회원가입 key 값 설정
|
||||
// String naverClientId = itnNaverClientId;
|
||||
// String naverClientSecret = itnNaverClientSecret;
|
||||
//
|
||||
// String kakaoRestApiKey = itnKakaoRestApiKey;
|
||||
// String kakaoReturnUrl = itnKakaoReturnUrl;
|
||||
//
|
||||
// // config 정보 가져오기
|
||||
// MberManageConfigVO mberConfigVO = new MberManageConfigVO();
|
||||
//
|
||||
// List<MberManageConfigVO> mberManageCnfVO = mberManageService.selectMberCnf(mberConfigVO);
|
||||
//
|
||||
// for (int i = 0; i < mberManageCnfVO.size(); i++) {
|
||||
// if (mberManageCnfVO.get(i).getIsSns().equals("Y")) {
|
||||
// if (mberManageCnfVO.get(i).getUseYn().equals("Y")) {
|
||||
// if (mberManageCnfVO.get(i).getConfigId().equals("snsNaver")) {
|
||||
// String redirectURI = URLEncoder.encode(itnNaverReturnUrl, "UTF-8");
|
||||
// SecureRandom random = new SecureRandom();
|
||||
// BigInteger state = new BigInteger(130, random);
|
||||
// String naver_url = "https://nid.naver.com/oauth2.0/authorize?response_type=code";
|
||||
// naver_url += "&client_id=" + itnNaverClientId;
|
||||
// naver_url += "&redirect_url=" + redirectURI;
|
||||
// naver_url += "&state=" + state;
|
||||
// mberManageCnfVO.get(i).setSiteUrl(naver_url);
|
||||
// mberManageCnfVO.get(i).setSiteIcon("/img/login_naver_icon.png");
|
||||
//
|
||||
// } else if (mberManageCnfVO.get(i).getConfigId().equals("snsKakao")) {
|
||||
//
|
||||
// String kakao_url = "https://kauth.kakao.com/oauth/authorize?response_type=code";
|
||||
// kakao_url += "&client_id=" + kakaoRestApiKey;
|
||||
// kakao_url += "&redirect_uri=" + kakaoReturnUrl;
|
||||
// mberManageCnfVO.get(i).setSiteUrl(kakao_url);
|
||||
// mberManageCnfVO.get(i).setSiteIcon("/img/login_kakao_icon.png");
|
||||
//
|
||||
// } else if (mberManageCnfVO.get(i).getConfigId().equals("snsGoogle")) {
|
||||
//
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// model.addAttribute("mberManageCnfVO", mberManageCnfVO);
|
||||
// model.addAttribute("beforeUrl", beforeUrl);
|
||||
// model.addAttribute("message", message);
|
||||
//// initRsa(request);
|
||||
// return "web/login/EgovLoginGnrlUsr";
|
||||
// }
|
||||
|
||||
/**
|
||||
* (사용자) SSO 로그인 화면.
|
||||
@ -564,6 +564,9 @@ public class EgovLoginController {
|
||||
} else if ("ROLE_USER_MANAGER".equals(s_loginInfo_getAuthority)) {
|
||||
model.addAttribute("message", egovMessageSource.getMessage("fail.common.login"));
|
||||
return "uat/uia/EgovLoginUsr";
|
||||
} else if ("ROLE_COURT_ADMIN".equals(s_loginInfo_getAuthority)) {
|
||||
model.addAttribute("message", "법원연계 관리자는 별도 URL로 로그인 해주세요.");
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
}
|
||||
}
|
||||
|
||||
@ -1586,8 +1589,13 @@ public class EgovLoginController {
|
||||
return "redirect:/cmm/main/mainPage.do";
|
||||
} else if ("ROLE_USER_MANAGER".equals(user.getAuthority())) {
|
||||
return "redirect:/web/main/mainPage.do";
|
||||
} else { // 일반관리자 경우
|
||||
return "redirect:/EgovTopPageLink.do?link=/cop/bbs/SelectBBSMasterInfs.do&baseMenuNo=4300000";
|
||||
} else if ("past_author".equals(user.getAuthority())) {
|
||||
return "redirect:/kccadr/adjReqMgOff/adjReqMgrPastList.do";
|
||||
} else if ("ROLE_COURT_ADMIN".equals(user.getAuthority())) {
|
||||
return "redirect:/kccadr/adjCourtCnctn/adjCourtCnctnList.do";
|
||||
}
|
||||
else { // 일반관리자 경우
|
||||
return "redirect:/cmm/main/mainPage.do";
|
||||
}
|
||||
}
|
||||
|
||||
@ -1602,6 +1610,12 @@ public class EgovLoginController {
|
||||
request.getSession().invalidate();
|
||||
return "redirect:/uat/uia/EgovLoginUsr.do";
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/uat/uia/actionLogoutCourt.do")
|
||||
public String selectActionLogoutCourt(HttpServletRequest request, ModelMap model, HttpServletResponse response) throws Exception {
|
||||
request.getSession().invalidate();
|
||||
return "redirect:/uat/uia/EgovLoginCourt.do";
|
||||
}
|
||||
|
||||
/**
|
||||
* (사용자)로그아웃한다.
|
||||
@ -2369,6 +2383,198 @@ public class EgovLoginController {
|
||||
return adjReqMgrVO;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* (관리자) 법원연계 조정위원 로그인 화면.
|
||||
*
|
||||
* @return String
|
||||
* @exception Exception
|
||||
*/
|
||||
@RequestMapping(value = "/uat/uia/EgovLoginCourt.do")
|
||||
public String EgovLoginCourt(HttpServletRequest request, HttpServletResponse response, ModelMap model) throws Exception {
|
||||
Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated();
|
||||
//interceptor시 flashmap을 통해 파라미터 전달 받기
|
||||
Map<String, ?> flashMap = RequestContextUtils.getInputFlashMap(request);
|
||||
if(flashMap !=null) {
|
||||
System.out.println((String)flashMap.get("message"));
|
||||
model.addAttribute("message", (String)flashMap.get("message"));
|
||||
}
|
||||
|
||||
if (isAuthenticated)
|
||||
return "redirect:/cmm/main/mainPage.do";
|
||||
if (!isAuthenticated) {
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
}
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
}
|
||||
|
||||
/**
|
||||
* (관리자) 일반(스프링 시큐리티) 로그인을 처리한다(관리자)
|
||||
*
|
||||
* @param vo - 아이디, 비밀번호가 담긴 LoginVO
|
||||
* @param request - 세션처리를 위한 HttpServletRequest
|
||||
* @return result - 로그인결과(세션정보)
|
||||
* @exception Exception
|
||||
*/
|
||||
@RequestMapping(value = "/uat/uia/actionSecurityLoginCourt.do")
|
||||
public String selectActionSecurityLoginCourt(@ModelAttribute("loginVO") LoginVO loginVO, HttpServletResponse response, HttpServletRequest request, ModelMap model, HttpSession session)
|
||||
throws Exception {
|
||||
|
||||
Locale.setDefault(new Locale("ko", "Kr"));
|
||||
|
||||
// 로그인 정보 check
|
||||
if (loginVO.getId() == null || loginVO.getPassword() == null) { // 로그인 최초 화면 로딩
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
}
|
||||
|
||||
loginVO.setId(loginVO.getId());
|
||||
loginVO.setPassword(loginVO.getPassword());
|
||||
|
||||
// 사용자일 경우 로그인 안되게
|
||||
LoginVO loginInfo = loginService.getUserAuth(loginVO);
|
||||
String s_loginInfo_getAuthority = "";
|
||||
try {
|
||||
s_loginInfo_getAuthority = loginInfo.getAuthority();
|
||||
|
||||
}catch(Exception ex) {
|
||||
System.out.println(ex.getMessage());
|
||||
}
|
||||
|
||||
if (null == loginInfo) { // 아이디 없음.
|
||||
model.addAttribute("message", egovMessageSource.getMessage("fail.common.login"));
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
} else {
|
||||
if(!"ROLE_COURT_ADMIN".equals(s_loginInfo_getAuthority)){
|
||||
model.addAttribute("message", "법원연계 관리자만 로그인 가능합니다.");
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
}
|
||||
}
|
||||
|
||||
// 1. 로그인 처리
|
||||
LoginVO resultVO = loginService.actionLogin(loginVO);
|
||||
|
||||
//중복 호출 제거
|
||||
LoginVO loginGetUserAuth = loginService.getUserAuth(resultVO);
|
||||
|
||||
if (loginGetUserAuth != null) {
|
||||
resultVO.setAuthority(loginGetUserAuth.getAuthority());
|
||||
}
|
||||
|
||||
if (null == resultVO.getId()) { // 로그인 실패
|
||||
loginService.updatePassMissPlus(loginVO);
|
||||
model.addAttribute("message", egovMessageSource.getMessage("fail.common.login"));
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
} else {
|
||||
if (resultVO.getPassMiss() > 10) {
|
||||
model.addAttribute("message", "패스워드가 10회 이상 틀려 로그인 할수 없습니다. 관리자에게 문의하시기 바랍니다.");
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
} else { // 초기화
|
||||
loginService.updatePassMissReset(loginVO);
|
||||
}
|
||||
}
|
||||
|
||||
// 2. 허용IP조회
|
||||
boolean loginPolicyYn = false;
|
||||
|
||||
HttpServletRequest req = ((ServletRequestAttributes) RequestContextHolder.currentRequestAttributes()).getRequest();
|
||||
String userIp = EgovClntInfo.getClntIP(req);
|
||||
|
||||
/*
|
||||
* 관리자 로그인 유형 추가_240109
|
||||
* loginTypeCd
|
||||
* 001 : IP제어
|
||||
* 002 : OTP
|
||||
* 003 : 법원연계 로그인
|
||||
* */
|
||||
|
||||
// IP 제어 로그인
|
||||
if("001".equals(resultVO.getLoginTypeCd())) {
|
||||
|
||||
LoginPolicyVO loginPolicyVO = new LoginPolicyVO();
|
||||
loginPolicyVO.setIpInfo(userIp);
|
||||
|
||||
boolean ipCheck = false;
|
||||
List<LoginPolicyVO> loginPolicyGroupList = new ArrayList<LoginPolicyVO>();
|
||||
loginPolicyGroupList = egovLoginPolicyService.selectLoginGroupPolicyAll(loginPolicyVO);
|
||||
if (loginPolicyGroupList != null) {
|
||||
for (LoginPolicyVO tempPolicyVO : loginPolicyGroupList) {
|
||||
if (userIp.contains(tempPolicyVO.getIpInfo().trim())) {
|
||||
ipCheck = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!ipCheck) {
|
||||
model.addAttribute("message", egovMessageSource.getMessage("fail.common.login"));
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
}
|
||||
}
|
||||
|
||||
// resultVO.siteId 의 각 로그인 ip를 조회함
|
||||
if (resultVO != null && resultVO.getId() != null && !resultVO.getId().equals("")) {
|
||||
// 세션에다 ip 등록
|
||||
resultVO.setIp(userIp);
|
||||
// 2. spring security 연동
|
||||
|
||||
request.getSession().setAttribute("LoginVO", resultVO);
|
||||
|
||||
UsernamePasswordAuthenticationFilter springSecurity = new UsernamePasswordAuthenticationFilter();
|
||||
|
||||
ApplicationContext act = WebApplicationContextUtils.getRequiredWebApplicationContext(request.getSession().getServletContext());
|
||||
|
||||
Map<String, UsernamePasswordAuthenticationFilter> beans = act.getBeansOfType(UsernamePasswordAuthenticationFilter.class);
|
||||
|
||||
if (beans.size() > 0) {
|
||||
|
||||
springSecurity = (UsernamePasswordAuthenticationFilter) beans.values().toArray()[0];
|
||||
springSecurity.setUsernameParameter("egov_security_username");
|
||||
springSecurity.setPasswordParameter("egov_security_password");
|
||||
springSecurity.setRequiresAuthenticationRequestMatcher(new AntPathRequestMatcher(request.getServletContext().getContextPath() + "/egov_security_login", "POST"));
|
||||
|
||||
} else {
|
||||
throw new IllegalStateException("No AuthenticationProcessingFilter");
|
||||
}
|
||||
|
||||
springSecurity.doFilter(new RequestWrapperForSecurity(request, resultVO.getUserSe() + resultVO.getId(), resultVO.getUniqId()), response, null);
|
||||
{ // 관리자 로그인 log 저장
|
||||
String uniqId = "";
|
||||
String ip = "";
|
||||
|
||||
/* Authenticated */
|
||||
LoginLog loginLog = new LoginLog();
|
||||
Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated();
|
||||
if (isAuthenticated.booleanValue()) {
|
||||
LoginVO user = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
uniqId = user.getUniqId();
|
||||
ip = EgovClntInfo.getClntIP(request);
|
||||
loginLog.setSiteId(user.getSiteId());
|
||||
HttpSession httpSession = request.getSession(true);
|
||||
{
|
||||
List<SiteManagerVO> siteManageList = new ArrayList<SiteManagerVO>();
|
||||
SiteManagerVO siteManagerVO = new SiteManagerVO();
|
||||
siteManagerVO.setFirstIndex(0);
|
||||
siteManagerVO.setRecordCountPerPage(100);
|
||||
siteManageList = egovSiteManagerService.selectSiteManagerList(siteManagerVO);
|
||||
httpSession.setAttribute("siteManageList", siteManageList);
|
||||
httpSession.setAttribute("adminId", user.getId());
|
||||
httpSession.setAttribute("loginId", user.getId()); // 자동완성 공통으로 쓰기위해
|
||||
httpSession.setAttribute("esntlId", user.getPassword());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return "blank"; // 성공 시 페이지.. (redirect 불가)
|
||||
// 개인키 삭제
|
||||
// return "blank"; // 성공 시 페이지.. (redirect 불가)
|
||||
|
||||
} else {
|
||||
model.addAttribute("message", egovMessageSource.getMessage("fail.common.login"));
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -2876,8 +2876,8 @@
|
||||
<!-- 첨부파일 ID Generation Strategy Config -->
|
||||
<bean name="courtStrategy"
|
||||
class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
|
||||
<property name="prefix" value="CURT_" />
|
||||
<property name="cipers" value="15" />
|
||||
<property name="prefix" value="CRT_" />
|
||||
<property name="cipers" value="16" />
|
||||
<property name="fillChar" value="0" />
|
||||
</bean>
|
||||
|
||||
|
||||
@ -3,9 +3,10 @@
|
||||
<!-- 조정신청 -->
|
||||
<sqlMap namespace="AdjCourtCnctn">
|
||||
<typeAlias alias="adjCourtCnctnVO" type="kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnVO"/>
|
||||
<typeAlias alias="adrCourtFileVO" type="kcc.com.cmm.service.AdrCourtFileVO"/>
|
||||
|
||||
|
||||
<select id="adjCourtCnctnDAO.adjCourtCnctnListCount" parameterClass="adjCourtCnctnVO" resultClass="Integer">
|
||||
<!-- <select id="adjCourtCnctnDAO.adjCourtCnctnListCount" parameterClass="adjCourtCnctnVO" resultClass="Integer">
|
||||
SELECT
|
||||
COUNT(1) AS TOT
|
||||
FROM
|
||||
@ -177,71 +178,71 @@
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
-->
|
||||
<insert id="adjCourtCnctnDAO.insertCourtCnctn" parameterClass="adjCourtCnctnVO">
|
||||
INSERT INTO ADJ_COURT_CNCTN_MGR (
|
||||
COURT_SEQ
|
||||
, COURT_NUM
|
||||
, COURT_ORG_NO
|
||||
, COURT_NO
|
||||
, DCSN_DE
|
||||
, RCV_DE
|
||||
, ALCTN_DE
|
||||
, ALCTN_MONTH
|
||||
, OFFICE_WORK_DE
|
||||
, RPRT_DE
|
||||
, RPRT_MONTH
|
||||
, PROCESS_DAY
|
||||
, COURT_FLD
|
||||
, ACCDNT_CN
|
||||
, APLCN_INFO
|
||||
, RSPND_INFO
|
||||
, APLCN_DPTY
|
||||
, RSPND_DPTY
|
||||
, COURT_RSLT
|
||||
, COURT_DETAIL_RSLT
|
||||
, ADJ_CMSNR
|
||||
, PAY
|
||||
, APP_DE
|
||||
, PYMNT_DAY
|
||||
, EXTNS
|
||||
, RMRKS
|
||||
, USE_YN
|
||||
, FRST_REGIST_PNTTM
|
||||
, FRST_REGISTER_ID
|
||||
) VALUES (
|
||||
#courtSeq#
|
||||
, #courtNum#
|
||||
, #courtOrgNo#
|
||||
, #courtNo#
|
||||
,TO_DATETIME(TO_CHAR(#dcsnDe#,'YYYY-MM-DD'))
|
||||
,TO_DATETIME(TO_CHAR(#rcvDe#,'YYYY-MM-DD'))
|
||||
,TO_DATETIME(TO_CHAR(#alctnDe#,'YYYY-MM-DD'))
|
||||
, #alctnMonth#
|
||||
,TO_DATETIME(TO_CHAR(#officeWorkDe#,'YYYY-MM-DD'))
|
||||
,TO_DATETIME(TO_CHAR(#rprtDe#,'YYYY-MM-DD'))
|
||||
, #rprtMonth#
|
||||
, #processDay#
|
||||
, #courtFld#
|
||||
, #accdntCn#
|
||||
, #aplcnInfo#
|
||||
, #rspndInfo#
|
||||
, #aplcnDpty#
|
||||
, #rspndDpty#
|
||||
, #courtRslt#
|
||||
, #courtDetailRslt#
|
||||
, #adjCmsnr#
|
||||
, #pay#
|
||||
, #appDe#
|
||||
, #pymntDay#
|
||||
, #extns#
|
||||
, #rmrks#
|
||||
, 'Y'
|
||||
,NOW()
|
||||
,#frstRegisterId#
|
||||
)
|
||||
INSERT
|
||||
INTO adr_court_mgr
|
||||
(
|
||||
crt_seq,
|
||||
crt_sn,
|
||||
crt_ori_no,
|
||||
crt_no,
|
||||
crt_dcsn_de,
|
||||
crt_rcpt_de,
|
||||
crt_allct_de,
|
||||
crt_rprt_de,
|
||||
crt_climnt_nm,
|
||||
crt_climnt_phone,
|
||||
crt_climnt_agnt_nm,
|
||||
crt_climnt_agt_phone,
|
||||
crt_climnt_info,
|
||||
crt_dfndnt_nm,
|
||||
crt_dfndnt_phone,
|
||||
crt_dfndnt_agnt_nm,
|
||||
crt_dfndnt_agnt_phone,
|
||||
crt_dfndnt_info,
|
||||
crt_cn,
|
||||
crt_atch_file_id,
|
||||
crt_allct_ddl_de,
|
||||
crt_cc_ty,
|
||||
crt_link_house,
|
||||
crt_stat_cd,
|
||||
crt_agrment,
|
||||
frst_regist_pnttm,
|
||||
frst_register_id
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
#crtSeq#,
|
||||
#crtSn#,
|
||||
#crtOriNo#,
|
||||
#crtNo#,
|
||||
TO_DATETIME(TO_CHAR(#crtDcsnDe#,'YYYY-MM-DD')) ,
|
||||
TO_DATETIME(TO_CHAR(#crtRcptDe#,'YYYY-MM-DD')) ,
|
||||
TO_DATETIME(TO_CHAR(#crtAllctDe#,'YYYY-MM-DD')) ,
|
||||
TO_DATETIME(TO_CHAR(#crtRprtDe#,'YYYY-MM-DD')) ,
|
||||
#crtClimntNm#,
|
||||
#crtClimntPhone#,
|
||||
#crtClimntAgntNm#,
|
||||
#crtClimntAgtPhone#,
|
||||
#crtClimntInfo#,
|
||||
#crtDfndntNm#,
|
||||
#crtDfndntPhone#,
|
||||
#crtDfndntAgntNm#,
|
||||
#crtDfndntAgntPhone#,
|
||||
#crtDfndntInfo#,
|
||||
#crtCn#,
|
||||
#crtAtchFileId#,
|
||||
TO_DATETIME(TO_CHAR(#crtAllctDdlDe#,'YYYY-MM-DD')) ,
|
||||
#crtCcTy#,
|
||||
#crtLinkHouse#,
|
||||
#crtStatCd#,
|
||||
#crtAgrment# ,
|
||||
NOW() ,
|
||||
#frstRegisterId#
|
||||
)
|
||||
</insert>
|
||||
|
||||
<!--
|
||||
<update id="adjCourtCnctnDAO.updateCourtCnctn" parameterClass="adjCourtCnctnVO">
|
||||
UPDATE ADJ_COURT_CNCTN_MGR SET
|
||||
COURT_NUM = #courtNum#
|
||||
@ -282,6 +283,28 @@
|
||||
where
|
||||
COURT_SEQ = #courtSeq#
|
||||
|
||||
</update>
|
||||
</update> -->
|
||||
|
||||
<insert id="adjCourtCnctnDAO.insertCourtFileInf" parameterClass="adrCourtFileVO">
|
||||
INSERT
|
||||
INTO adr_court_doc_mgr
|
||||
(
|
||||
crt_atch_file_id,
|
||||
crt_seq,
|
||||
crt_sn,
|
||||
crt_atch_file_ty,
|
||||
frst_regist_pnttm,
|
||||
frst_register_id
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
#crtAtchFileId# ,
|
||||
#crtSeq# ,
|
||||
#crtSn# ,
|
||||
#crtAtchFileTy# ,
|
||||
#frstRegistPnttm# ,
|
||||
#frstRegisterId#
|
||||
)
|
||||
</insert>
|
||||
|
||||
</sqlMap>
|
||||
|
||||
@ -68,6 +68,10 @@
|
||||
<pattern>*/web/kccadr/pdf/pdfview.do*</pattern>
|
||||
<pattern>/web/com/popup/quickWrapGlossaryPop*.do*</pattern>
|
||||
|
||||
<pattern>*/uat/uia/EgovLoginCourt.do*</pattern>
|
||||
|
||||
<pattern>*/uat/uia/actionSecurityLoginCourt.do*</pattern>
|
||||
|
||||
</excludes>
|
||||
|
||||
<decorator name="adminlayout" page="/WEB-INF/jsp/layout/adminLayout.jsp">
|
||||
|
||||
@ -81,16 +81,29 @@ $( document ).ready(function(){
|
||||
});
|
||||
|
||||
function authorChange(obj) {
|
||||
if(obj.selectedIndex == '0'){
|
||||
var author = $("[name='authorCode'] option:selected").val();
|
||||
if(author == 'ROLE_ADR_ADMIN'){
|
||||
$("#rank1").css('display', 'block');
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank1").attr('disabled', false);
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank2").attr('disabled', true);
|
||||
}else{
|
||||
$("#rank1").css('display', 'none');
|
||||
$("#rank2").css('display', 'block');
|
||||
$("#rank3").css('display', 'none');
|
||||
$("#rank3").attr('disabled', true);
|
||||
}else if(author == 'ROLE_COURT_ADMIN'){
|
||||
$("#rank1").css('display', 'none');;
|
||||
$("#rank1").attr('disabled', true);
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank2").attr('disabled', true);
|
||||
$("#rank3").css('display', 'block');
|
||||
$("#rank3").attr('disabled', false);
|
||||
}
|
||||
else{
|
||||
$("#rank1").css('display', 'none');
|
||||
$("#rank1").attr('disabled', true);
|
||||
$("#rank2").css('display', 'block');
|
||||
$("#rank2").attr('disabled', false);
|
||||
$("#rank3").css('display', 'none');
|
||||
$("#rank3").attr('disabled', true);
|
||||
}
|
||||
}
|
||||
|
||||
@ -518,6 +531,10 @@ function wrapWindowByMask(){
|
||||
<select name="ofcpsNm" title="직급" id="rank2" style="display:none;" disabled="disabled">
|
||||
<option value="admin">시스템관리자</option>
|
||||
</select>
|
||||
<select name="ofcpsNm" title="직급" id="rank3" style="display:none;" disabled="disabled">
|
||||
<option value="80">법원연계 조정위원</option>
|
||||
<option value="90">법원연계 총괄조정위원</option>
|
||||
</select>
|
||||
</td>
|
||||
<%-- <td colspan="3">
|
||||
<form:input path="ofcpsNm" id="ofcpsNm" cssClass="txaIpt" size="50" maxlength="15" placeholder="" />
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="double-submit" uri="http://www.egovframe.go.kr/tags/double-submit/jsp" %>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
|
||||
@ -253,7 +254,7 @@ function userListExcelDownload(){
|
||||
</td> --%>
|
||||
|
||||
<td>
|
||||
<c:set var="ofcpsNm" value="" />
|
||||
<%-- <c:set var="ofcpsNm" value="" />
|
||||
<c:if test="${result.ofcpsNm eq '10'}">
|
||||
<c:set var="ofcpsNm" value="조정조사관" />
|
||||
</c:if>
|
||||
@ -269,7 +270,13 @@ function userListExcelDownload(){
|
||||
<c:if test="${result.ofcpsNm eq 'admin'}">
|
||||
<c:set var="ofcpsNm" value="시스템관리자" />
|
||||
</c:if>
|
||||
<span class="privateInfo"><c:out value="${ofcpsNm}"/></span>
|
||||
<c:if test="${result.ofcpsNm eq '80'}">
|
||||
<c:set var="ofcpsNm" value="법원연계 조정위원" />
|
||||
</c:if> --%>
|
||||
|
||||
<span class="privateInfo">
|
||||
<kc:code codeId="CC401" code="${result.ofcpsNm}"/>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${result.offmTelno}"/>
|
||||
|
||||
@ -61,18 +61,29 @@ $( document ).ready(function(){
|
||||
|
||||
} */
|
||||
|
||||
//직급 셀렉트박스 설정
|
||||
if("${userManageVO.authorCode}" == "ROLE_ADR_ADMIN"){
|
||||
var author = $("[name='authorCode'] option:selected").val();
|
||||
if(author == 'ROLE_ADR_ADMIN'){
|
||||
$("#rank1").css('display', 'block');
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank1").attr('disabled', false);
|
||||
$("#rank2").attr('disabled', true);
|
||||
// $("#rank1").val("${userManageVO.ofcpsNm}").prop("selected", true);
|
||||
}else{
|
||||
$("#rank1").css('display', 'none');
|
||||
$("#rank2").css('display', 'block');
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank2").attr('disabled', true);
|
||||
$("#rank3").css('display', 'none');
|
||||
$("#rank3").attr('disabled', true);
|
||||
}else if(author == 'ROLE_COURT_ADMIN'){
|
||||
$("#rank1").css('display', 'none');;
|
||||
$("#rank1").attr('disabled', true);
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank2").attr('disabled', true);
|
||||
$("#rank3").css('display', 'block');
|
||||
$("#rank3").attr('disabled', false);
|
||||
}
|
||||
else{
|
||||
$("#rank1").css('display', 'none');
|
||||
$("#rank1").attr('disabled', true);
|
||||
$("#rank2").css('display', 'block');
|
||||
$("#rank2").attr('disabled', false);
|
||||
$("#rank3").css('display', 'none');
|
||||
$("#rank3").attr('disabled', true);
|
||||
}
|
||||
|
||||
//첨부파일 버튼 처리
|
||||
@ -354,16 +365,29 @@ function nCheck2(){
|
||||
}
|
||||
|
||||
function authorChange(obj) {
|
||||
if(obj.selectedIndex == '0'){
|
||||
var author = $("[name='authorCode'] option:selected").val();
|
||||
if(author == 'ROLE_ADR_ADMIN'){
|
||||
$("#rank1").css('display', 'block');
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank1").attr('disabled', false);
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank2").attr('disabled', true);
|
||||
}else{
|
||||
$("#rank1").css('display', 'none');
|
||||
$("#rank2").css('display', 'block');
|
||||
$("#rank3").css('display', 'none');
|
||||
$("#rank3").attr('disabled', true);
|
||||
}else if(author == 'ROLE_COURT_ADMIN'){
|
||||
$("#rank1").css('display', 'none');;
|
||||
$("#rank1").attr('disabled', true);
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank2").attr('disabled', true);
|
||||
$("#rank3").css('display', 'block');
|
||||
$("#rank3").attr('disabled', false);
|
||||
}
|
||||
else{
|
||||
$("#rank1").css('display', 'none');
|
||||
$("#rank1").attr('disabled', true);
|
||||
$("#rank2").css('display', 'block');
|
||||
$("#rank2").attr('disabled', false);
|
||||
$("#rank3").css('display', 'none');
|
||||
$("#rank3").attr('disabled', true);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@ -471,6 +495,11 @@ function authorChange(obj) {
|
||||
</select>
|
||||
<select name="ofcpsNm" title="직급" id="rank2" >
|
||||
<option value="admin">시스템관리자</option>
|
||||
</select>
|
||||
|
||||
<select name="ofcpsNm" title="직급" id="rank3" style="display:none;" disabled="disabled">
|
||||
<option value="80">법원연계 조정위원</option>
|
||||
<option value="90">법원연계 총괄조정위원</option>
|
||||
</select>
|
||||
|
||||
<%-- <form:input path="ofcpsNm" id="ofcpsNm" cssClass="txaIpt" size="50" maxlength="15" placeholder="" />
|
||||
@ -615,7 +644,8 @@ function authorChange(obj) {
|
||||
<button class="btnType04" onclick="fnDeleteUser('<c:out value='${userManageVO.userTy}'/>:<c:out value='${userManageVO.uniqId}'/>'); return false;">삭 제</button>
|
||||
</c:if>
|
||||
<button class="btnType06" onclick="javascript:fnUpdates(); return false;">수 정</button>
|
||||
<button class="btnType03" onclick="fnListPage(); return false;">목 록</button>
|
||||
<!-- <button class="btnType03" onclick="fnListPage(); return false;">목 록</button> -->
|
||||
<button class="btnType03" onclick="history.go(-3);">목 록</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //btn_wrap -->
|
||||
|
||||
@ -12,17 +12,17 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="ko" >
|
||||
<title>조정종결상세</title>
|
||||
<title>법원연계 조정 등록</title>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
// 배당일자, 보고일자 선택하면 발동되는 event
|
||||
// 소요일 계산
|
||||
$('#alctnDe, #rprtDe').on('focusin',function(){
|
||||
$('#crtAllctDe, #crtRprtDe').on('focusin',function(){
|
||||
|
||||
var alctnVal = $('#alctnDe').val();
|
||||
var rprtVal = $('#rprtDe').val();
|
||||
var alctnVal = $('#crtAllctDe').val();
|
||||
var rprtVal = $('#crtRprtDe').val();
|
||||
|
||||
if(alctnVal && rprtVal)
|
||||
{
|
||||
@ -36,17 +36,11 @@ $(document).ready(function(){
|
||||
$('#processDay').val(returnVal);
|
||||
|
||||
}
|
||||
|
||||
|
||||
// 보고월
|
||||
if($(this).attr('id') === 'rprtDe')
|
||||
{
|
||||
var month = $(this).val().split('-')[1].replace(/(^0+)/, "");
|
||||
|
||||
$('#rprtMonth').val(month+'월');
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
$('#filebutton').click(function (e) {
|
||||
e.preventDefault();
|
||||
$('#file_temp').click();
|
||||
});
|
||||
|
||||
|
||||
@ -60,16 +54,21 @@ function fn_regist(){
|
||||
//신청인 정보 입력
|
||||
var data = new FormData(document.cnctnForm);
|
||||
var url= "/kccadr/adjCourtCnctn/adjCourtCnctnRegistAjax.do";
|
||||
|
||||
_fileForm2.forEach(function(obj, idx) {
|
||||
if (obj) data.append("file"+idx, obj.fileObj);
|
||||
});
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: url,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
enctype: 'multipart/form-data',
|
||||
url: url,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (data) {
|
||||
alert(data.data);
|
||||
if(data.status == 'OK')
|
||||
@ -127,9 +126,9 @@ function fn_GoList(){
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
|
||||
|
||||
<form id="cnctnForm" name="cnctnForm" method="post">
|
||||
<form id="cnctnForm" name="cnctnForm" method="post" enctype="multipart/form-data">
|
||||
<!-- 드래그앤 드롭 파라미터 -->
|
||||
<input type="hidden" name="limitcount" value="10" />
|
||||
<div class="cont">
|
||||
<!-- //cont_tit -->
|
||||
<div class="tab_cont on">
|
||||
@ -143,23 +142,15 @@ function fn_GoList(){
|
||||
<col style="width: 35%;">
|
||||
</colgroup>
|
||||
<tbody class="border_0">
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<td>
|
||||
<p class="change_text">
|
||||
<input type="text" id="courtNum" name="courtNum" />
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>결정일자</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="startDate inp" title="결정일자" id="dcsnDe" name="dcsnDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_dcsnDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('dcsnDe-lry','',this)" class="btn_cal"></button>
|
||||
<div id="dcsnDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="startDate01-ifrm" name="dcsnDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
<input readonly="readonly" type="text" class="startDate inp" title="결정일자" id="crtDcsnDe" name="crtDcsnDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_crtDcsnDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtDcsnDe-lry','',this)" class="btn_cal"></button>
|
||||
<div id="crtDcsnDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="startDate01-ifrm" name="crtDcsnDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -167,11 +158,11 @@ function fn_GoList(){
|
||||
<th>수령일자</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="startDate inp" title="결정일자" id="rcvDe" name="rcvDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_rcvDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('rcvDe-lry','',this)" class="btn_cal"></button>
|
||||
<div id="rcvDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="startDate01-ifrm" name="rcvDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
<input readonly="readonly" type="text" class="startDate inp" title="수령일자" id="crtRcptDe" name="crtRcptDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_crtRcptDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtRcptDe-lry','',this)" class="btn_cal"></button>
|
||||
<div id="crtRcptDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="startDate01-ifrm" name="crtRcptDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -181,160 +172,188 @@ function fn_GoList(){
|
||||
<th>배당일자</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="alctnDe inp" title="배당일자" id="alctnDe" name="alctnDe" value="" data-datecontrol="true" onchange="test(this);">
|
||||
<input readonly="readonly" type="text" class="crtAllctDe inp" title="배당일자" id="crtAllctDe" name="crtAllctDe" value="" data-datecontrol="true" onchange="test(this);">
|
||||
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('alctnDe-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="alctnDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="alctnDe-ifrm" name="alctnDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtAllctDe-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="crtAllctDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="crtAllctDe-ifrm" name="crtAllctDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<th>배당월</th>
|
||||
<td>
|
||||
<select id="alctnMonth" name="alctnMonth">
|
||||
<option value="">선택</option>
|
||||
<c:forEach var="i" begin="1" end="12" step="1">
|
||||
<option value="${i}">${i}월</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>사무처리기한</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="officeWorkDe inp" title="사무처리기한" id="officeWorkDe" name="officeWorkDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_officeWorkDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('officeWorkDe-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="officeWorkDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="officeWorkDe-ifrm" name="officeWorkDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input readonly="readonly" type="text" title="사무처리기한" id="crtAllctDdlDe" name="crtAllctDdlDe" value="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>보고일자</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="rprtDe inp" title="보고일자" id="rprtDe" name="rprtDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_rprtDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('rprtDe-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="rprtDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="rprtDe-ifrm" name="rprtDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
<input readonly="readonly" type="text" class="crtRprtDe inp" title="보고일자" id="crtRprtDe" name="crtRprtDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_crtRprtDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtRprtDe-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="crtRprtDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="crtRprtDe-ifrm" name="crtRprtDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<th>보고월</th>
|
||||
<td>
|
||||
<!-- <select id="rprtMonth" name="rprtMonth"> -->
|
||||
<!-- <option value="">선택</option> -->
|
||||
<%-- <c:forEach var="i" begin="1" end="12" step="1"> --%>
|
||||
<%-- <option value="${i}">${i}월</option> --%>
|
||||
<%-- </c:forEach> --%>
|
||||
<!-- </select> -->
|
||||
<input type="text" id="rprtMonth" name="rprtMonth" placeholder="보고일자 선택" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>소요일</th>
|
||||
<td>
|
||||
<input readonly="readonly" type="text" id="processDay" name="processDay" placeholder=""/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>본 사건번호</th>
|
||||
<td>
|
||||
<input type="text" id="courtOrgNo" name="courtOrgNo" />
|
||||
<input type="text" id="crtOriNo" name="crtOriNo" />
|
||||
<kc:select codeId="CC701" id="crtLinkHouse" name="crtLinkHouse" selectedValue="10" />
|
||||
</td>
|
||||
<th>조정 사건번호</th>
|
||||
<td>
|
||||
<input type="text" id="courtNo" name="courtNo" />
|
||||
<input type="text" id="crtNo" name="crtNo" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>원고 이름</th>
|
||||
<td>
|
||||
<input type="text" id="crtClimntNm" name="crtClimntNm" />
|
||||
</td>
|
||||
<th>원고 (대리인) 이름</th>
|
||||
<td>
|
||||
<input type="text" id="crtClimntAgntNm" name="crtClimntAgntNm" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>원고 연락처</th>
|
||||
<td>
|
||||
<input type="text" id="crtClimntPhone" name="crtClimntPhone" />
|
||||
</td>
|
||||
<th>원고 (대리인) 연락처</th>
|
||||
<td>
|
||||
<input type="text" id="crtClimntAgtPhone" name="crtClimntAgtPhone" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>원고 정보</th>
|
||||
<td colspan="3">
|
||||
<textarea name="crtClimntInfo" id="crtClimntInfo" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>피고 이름</th>
|
||||
<td>
|
||||
<input type="text" id="crtDfndntNm" name="crtDfndntNm" />
|
||||
</td>
|
||||
<th>피고 (대리인) 이름</th>
|
||||
<td>
|
||||
<input type="text" id="crtDfndntAgntNm" name="crtDfndntAgntNm" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>피고 연락처</th>
|
||||
<td>
|
||||
<input type="text" id="crtDfndntPhone" name="crtDfndntPhone" />
|
||||
</td>
|
||||
<th>피고 (대리인) 연락처</th>
|
||||
<td>
|
||||
<input type="text" id="crtDfndntAgntPhone" name="crtDfndntAgntPhone" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>피고 정보</th>
|
||||
<td colspan="3">
|
||||
<textarea name="crtDfndntInfo" id="crtDfndntInfo" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>분야</th>
|
||||
<td>
|
||||
<input type="text" id="courtFld" name="courtFld" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>신청인 정보</th>
|
||||
<td colspan="3">
|
||||
<textarea name="aplcnInfo" id="aplcnInfo" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>피신청인 정보</th>
|
||||
<td colspan="3">
|
||||
<textarea name="rspndInfo" id="rspndInfo" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>원고/<br />신청인(대리인)</th>
|
||||
<td colspan="3">
|
||||
<textarea name="aplcnDpty" id="aplcnDpty" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>피고/<br />피신청인(대리인)</th>
|
||||
<td colspan="3">
|
||||
<textarea name="rspndDpty" id="rspndDpty" cols="30" rows="3"> </textarea>
|
||||
<kc:select codeId="CC002" id="crtCcTy" name="crtCcTy" selectedValue="01" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>사건내용</th>
|
||||
<td colspan="3">
|
||||
<textarea name="accdntCn" id="accdntCn" cols="30" rows="3"> </textarea>
|
||||
<textarea name="crtCn" id="crtCn" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>결과</th>
|
||||
<td>
|
||||
<input type="text" id="courtRslt" name="courtRslt"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="height: 200px;">
|
||||
<th>세부결과</th>
|
||||
<td colspan="3">
|
||||
<textarea id="courtDetailRslt" name="courtDetailRslt" cols="30" rows="5" > </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>조정위원</th>
|
||||
<td>
|
||||
<input type="text" id="adjCmsnr" name="adjCmsnr" />
|
||||
</td>
|
||||
<th>수당금액</th>
|
||||
<td>
|
||||
<input type="text" id="pay" name="pay" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>대면기일</th>
|
||||
<td colspan="3">
|
||||
<input type="text" id="appDe" name="appDe" size="98" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>지급일자</th>
|
||||
<td>
|
||||
<input type="text" id="pymntDay" name="pymntDay" />
|
||||
</td>
|
||||
<th>1차연장</th>
|
||||
<td>
|
||||
<input type="text" id="extns" name="extns" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>비고</th>
|
||||
<td colspan="3">
|
||||
<textarea name="rmrks" id="rmrks" cols="30" rows="5" > </textarea>
|
||||
<th>사건문건</th>
|
||||
<td class="upload_area">
|
||||
<!-- <input type="text" id="fileNm" size="30" class="file_input" readonly> --><!-- <button type="button" class="btnType01 btn_add_file">파일 첨부하기</button> -->
|
||||
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
|
||||
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
|
||||
<div class="file_wrap file_upload_box no_img_box">
|
||||
<table class="tbType02">
|
||||
<caption>첨부파일 리스트 : 파일명, 종류, 크기, 삭제</caption>
|
||||
<colgroup>
|
||||
<col style="width: 60%;">
|
||||
<col style="width: auto;">
|
||||
<col style="width: 20%;">
|
||||
<col style="width: 10%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<!-- <th>
|
||||
<input type="checkbox" id="all_check"><label for="all_check"></label>
|
||||
</th> -->
|
||||
<th>작업명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
<th>삭제</th>
|
||||
</thead>
|
||||
<tbody class="tb_file_before">
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="file_wrap fileAfter file_list_div">
|
||||
<table class="tbType02">
|
||||
<caption>첨부파일 리스트 : 파일명, 종류, 크기, 삭제</caption>
|
||||
<colgroup>
|
||||
<col style="width: 60%">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 20%">
|
||||
<col style="width: 10%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<!-- <th>
|
||||
<input type="checkbox" id="all_check"><label for="all_check"></label>
|
||||
</th> -->
|
||||
<th>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
<th>삭제</th>
|
||||
</thead>
|
||||
<tbody id="tbody_fiielist" class="tb_file_after">
|
||||
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
||||
<tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
|
||||
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
|
||||
<td class="td_filename">
|
||||
<!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> -->
|
||||
<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
|
||||
</td>
|
||||
<td class="td_filesort">
|
||||
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
|
||||
</td>
|
||||
<td class="td_filesize">
|
||||
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn_del" onclick="delAtchFile('<c:out value='${fileList.atchFileId}' />', '<c:out value='${fileList.fileSn}' />'); return false;" title="파일삭제"><i></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@ -40,8 +40,15 @@ $( document).ready(function() {
|
||||
</script>
|
||||
<!-- leftmenu -->
|
||||
<div class="area_left">
|
||||
<h1 class="logo"><a href="/cmm/main/mainPage.do"><img src="/kccadrPb/adm/image/common/logo.png"
|
||||
alt="한국저작권위원회 KOREA COPYRIGHT COMMISSION"></a>
|
||||
<h1 class="logo">
|
||||
<c:if test="${user.authority eq 'ROLE_COURT_ADMIN'}">
|
||||
<a href="#">
|
||||
</c:if>
|
||||
<c:if test="${user.authority ne 'ROLE_COURT_ADMIN'}">
|
||||
<a href="/cmm/main/mainPage.do">
|
||||
</c:if>
|
||||
<img src="/kccadrPb/adm/image/common/logo.png" alt="한국저작권위원회 KOREA COPYRIGHT COMMISSION">
|
||||
</a>
|
||||
</h1>
|
||||
<nav class="menu">
|
||||
<ul>
|
||||
|
||||
@ -74,7 +74,6 @@ function modifyMem(uniqId){
|
||||
|
||||
form.submit();
|
||||
|
||||
|
||||
}
|
||||
</script>
|
||||
<%-- 전자조정 --%>
|
||||
@ -86,27 +85,30 @@ function modifyMem(uniqId){
|
||||
<p><span><c:out value="${LoginVO.name}" /></span>님</p>
|
||||
<p class="user_id">(<c:out value="${LoginVO.id}" />)</p>
|
||||
</div>
|
||||
<!-- <button class="alram">
|
||||
<i></i>
|
||||
<span class="alram_num">3</span>
|
||||
<p>알림</p>
|
||||
</button> -->
|
||||
<button class="alram" onclick="location.href='/uat/uia/actionLogout.do'">
|
||||
<c:if test="${authority eq 'ROLE_COURT_ADMIN'}">
|
||||
<button class="alram" onclick="location.href='/uat/uia/actionLogoutCourt.do'">
|
||||
<!-- <i></i> -->
|
||||
<!-- <span class="alram_num">3</span> -->
|
||||
<p>로그아웃</p>
|
||||
</button>
|
||||
<button class="alram" onclick="modifyMem('<c:out value="${LoginVO.uniqId}" />');">
|
||||
<p>정보수정</p>
|
||||
</c:if>
|
||||
<c:if test="${authority ne 'ROLE_COURT_ADMIN'}">
|
||||
<button class="alram" onclick="location.href='/uat/uia/actionLogout.do'">
|
||||
<!-- <i></i> -->
|
||||
<!-- <span class="alram_num">3</span> -->
|
||||
<p>로그아웃</p>
|
||||
</button>
|
||||
</c:if>
|
||||
<c:if test="${authority ne 'ROLE_COURT_ADMIN'}">
|
||||
<button class="alram" onclick="modifyMem('<c:out value="${LoginVO.uniqId}" />');">
|
||||
<p>정보수정</p>
|
||||
</button>
|
||||
</c:if>
|
||||
</div>
|
||||
<ul class="user_util">
|
||||
<li class="time_out"><i></i>
|
||||
<p>로그인 타임아웃 : </p><span id="ViewTimer"></span>
|
||||
</li>
|
||||
<!-- <li class="final_date"><i></i> -->
|
||||
<%-- <p>최종접속일시 : </p><span><c:out value="${beforeLoginDate}" /></span> --%>
|
||||
<!-- </li> -->
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //top_utill -->
|
||||
|
||||
157
src/main/webapp/WEB-INF/jsp/uat/uia/EgovLoginUsrCourt.jsp
Normal file
157
src/main/webapp/WEB-INF/jsp/uat/uia/EgovLoginUsrCourt.jsp
Normal file
@ -0,0 +1,157 @@
|
||||
<%--
|
||||
Class Name : EgovLoginUsr.jsp
|
||||
Description : 로그인화면
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2009.03.10 박지욱 최초 생성
|
||||
2011.08.31 JJY 경량환경 버전 생성
|
||||
|
||||
author : 공통서비스 개발팀 박지욱
|
||||
since : 2009.03.10
|
||||
--%>
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="ko">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<title>로그인</title>
|
||||
<script src="/kccadrPb/usr/script/jquery-3.5.0.js"></script>
|
||||
<script type="text/javascript" src="/js/new_login.js"></script>
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/reset.css">
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/font.css">
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/common.css">
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/content.css">
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/content_media.css">
|
||||
|
||||
<script type="text/javascript">
|
||||
$( document ).ready(function(){
|
||||
<c:if test="${!empty message}">alert("${message}");</c:if>
|
||||
getid(document.loginForm);
|
||||
});
|
||||
|
||||
function actionLogin() {
|
||||
if (document.loginForm.id_text.value =="") {
|
||||
alert("아이디를 입력하세요");
|
||||
return false;
|
||||
} else if (document.loginForm.password_text.value =="") {
|
||||
alert("비밀번호를 입력하세요");
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
var id = $("#id_text").val();
|
||||
var pw = $("#password_text").val();
|
||||
|
||||
$("#id").val(id);
|
||||
$("#password").val(pw);
|
||||
$("#password2").val(pw);
|
||||
|
||||
document.loginForm.action="<c:url value='/uat/uia/actionSecurityLoginCourt.do'/>";
|
||||
saveid(document.loginForm);
|
||||
document.loginForm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
function setCookie (name, value, expires) {
|
||||
document.cookie = name + "=" + escape (value) + "; path=/; expires=" + expires.toGMTString();
|
||||
}
|
||||
|
||||
function getCookie(Name) {
|
||||
var search = Name + "="
|
||||
if (document.cookie.length > 0) { // 쿠키가 설정되어 있다면
|
||||
offset = document.cookie.indexOf(search)
|
||||
if (offset != -1) { // 쿠키가 존재하면
|
||||
offset += search.length
|
||||
// set index of beginning of value
|
||||
end = document.cookie.indexOf(";", offset)
|
||||
// 쿠키 값의 마지막 위치 인덱스 번호 설정
|
||||
if (end == -1)
|
||||
end = document.cookie.length
|
||||
return unescape(document.cookie.substring(offset, end))
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
function saveid(form) {
|
||||
var expdate = new Date();
|
||||
// 기본적으로 30일동안 기억하게 함. 일수를 조절하려면 * 30에서 숫자를 조절하면 됨
|
||||
if (form.checkId.checked)
|
||||
expdate.setTime(expdate.getTime() + 1000 * 3600 * 24 * 30); // 30일
|
||||
else
|
||||
expdate.setTime(expdate.getTime() - 1); // 쿠키 삭제조건
|
||||
setCookie("ncms_saveid", form.id_text.value, expdate);
|
||||
}
|
||||
|
||||
function getid(form){
|
||||
form.checkId.checked = ((form.id_text.value = getCookie("ncms_saveid")) != "");
|
||||
}
|
||||
|
||||
function validation(){
|
||||
if(document.loginForm.phone.value == ''){
|
||||
alert('휴대폰번호를 입력해주세요.');
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<form:form id="loginForm" name="loginForm" method="post">
|
||||
<input type="hidden" name="userSe" value="USR" />
|
||||
<input type="hidden" id="id" name="id">
|
||||
<input type="hidden" id="password" name="password">
|
||||
<input type="hidden" id="password2" name="password2">
|
||||
|
||||
<input name="j_username" type="hidden" />
|
||||
<div class="login_all_wrap">
|
||||
<div class="login_wrap">
|
||||
<div class="login_left_box">
|
||||
<img src="/kccadrPb/adm/image/login_logo.png" alt="한국저작권위원회 KOREA COPYRIGHT COMMISSION">
|
||||
</div>
|
||||
<div class="login_right_box login_right_otp_box">
|
||||
<p class="login_tit">법원연계 - 조정위원 로그인</p>
|
||||
<div class="id_box">
|
||||
<p>ID</p>
|
||||
<label for="id_text"></label>
|
||||
<input type="text" id="id_text" maxlength="15" placeholder="아이디를 입력해주세요" class="id">
|
||||
</div>
|
||||
<div class="pw_box">
|
||||
<p>PASSWORD</p>
|
||||
<label for="password_text"></label>
|
||||
<input type="password" id="password_text" value="<c:out value='${password}'/>" placeholder="비밀번호를 입력해주세요." class="pw" onkeydown="javascript:if (event.keyCode == 13) { actionLogin();return false; }">
|
||||
</div>
|
||||
<div class="saveId">
|
||||
<input type="checkbox" id="checkId" name="checkId">
|
||||
<label for="checkId">아이디저장</label>
|
||||
</div>
|
||||
<div class="submit_box">
|
||||
<input type="submit" value="로그인" class="submit" id="login_submit" onclick="javascript:actionLogin();return false;">
|
||||
|
||||
</div>
|
||||
<div class="copyright">
|
||||
<span class="copy_text">Copyright ⓒ한국저작권위원회 All Rights Reserved.</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form:form>
|
||||
|
||||
<form id="certForm" name="certForm" method="post" action="">
|
||||
<input type="hidden" name="userId" id="userId" value="<c:out value='${id}'/>"/>
|
||||
<input type="hidden" name="trPhone" id="trPhone" value=""/>
|
||||
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue
Block a user