fix : 유저 관련 수정

main
이범준 1 year ago
parent 5f0f250bab
commit ed50322a76

@ -50,7 +50,7 @@ public class XitFrameUnitServiceBean extends AbstractServiceBean implements XitF
* *
*/ */
XitUserInfoVO vo = new XitUserInfoVO(); XitUserInfoVO vo = new XitUserInfoVO();
vo.setUserKey(uniqId); vo.setUserId(uniqId);
/** /**
* *

@ -69,7 +69,7 @@ public class XitLoginServiceBean extends AbstractServiceBean implements XitLogin
return new XitLoginVO(); return new XitLoginVO();
//로그인정책 확인 //로그인정책 확인
XitLoginPolicyVO loginPolicyVO = new XitLoginPolicyVO(); XitLoginPolicyVO loginPolicyVO = new XitLoginPolicyVO();
loginPolicyVO.setUserId(loginVO.getId()); loginPolicyVO.setUserId(loginVO.getUniqId());
loginPolicyVO = xitFrameCrudService.findXitLoginPolicy(loginPolicyVO); loginPolicyVO = xitFrameCrudService.findXitLoginPolicy(loginPolicyVO);
if (XitCmmnUtil.notEmpty(loginPolicyVO)) { if (XitCmmnUtil.notEmpty(loginPolicyVO)) {
if ("Y".equals(loginPolicyVO.getLimitYn())) { if ("Y".equals(loginPolicyVO.getLimitYn())) {
@ -81,7 +81,7 @@ public class XitLoginServiceBean extends AbstractServiceBean implements XitLogin
} }
//사용자부재 확인(일정기간 미접속 사용자) //사용자부재 확인(일정기간 미접속 사용자)
XitUserAbsnceVO userAbsnceVO = new XitUserAbsnceVO(); XitUserAbsnceVO userAbsnceVO = new XitUserAbsnceVO();
userAbsnceVO.setUserId(loginVO.getId()); userAbsnceVO.setUserId(loginVO.getUniqId());
userAbsnceVO = xitFrameCrudService.findXitUserAbsnce(userAbsnceVO); userAbsnceVO = xitFrameCrudService.findXitUserAbsnce(userAbsnceVO);
if (XitCmmnUtil.notEmpty(userAbsnceVO)) { if (XitCmmnUtil.notEmpty(userAbsnceVO)) {
if ("Y".equals(userAbsnceVO.getUserAbsnceYn())) { if ("Y".equals(userAbsnceVO.getUserAbsnceYn())) {

@ -18,6 +18,14 @@ public class XitLoginPolicyMngVO extends BaseVO {
* serialVersionUID * serialVersionUID
*/ */
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/**
* ID
*/
private String userId;
/**
* ID
*/
private String userAcnt;
/** /**
* ID * ID
*/ */
@ -42,10 +50,7 @@ public class XitLoginPolicyMngVO extends BaseVO {
* *
*/ */
private String limitYn; private String limitYn;
/**
* ID
*/
private String userId;
/** /**
* *
*/ */
@ -55,6 +60,17 @@ public class XitLoginPolicyMngVO extends BaseVO {
*/ */
private String regYn; private String regYn;
private String rgtr;
private String mdfr;
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
/** /**
* @return the emplyrId * @return the emplyrId
*/ */
@ -128,16 +144,16 @@ public class XitLoginPolicyMngVO extends BaseVO {
this.limitYn = limitYn; this.limitYn = limitYn;
} }
/** /**
* @return the userId * @return the userAcnt
*/ */
public String getUserId() { public String getUserAcnt() {
return userId; return userAcnt;
} }
/** /**
* @param userId the userId to set * @param userAcnt the userAcnt to set
*/ */
public void setUserId(String userId) { public void setUserAcnt(String userAcnt) {
this.userId = userId; this.userAcnt = userAcnt;
} }
/** /**
* @return the regDate * @return the regDate
@ -164,4 +180,17 @@ public class XitLoginPolicyMngVO extends BaseVO {
this.regYn = regYn; this.regYn = regYn;
} }
public String getRgtr(){
return this.rgtr;
}
public void setRgtr(String rgtr){
this.rgtr = rgtr;
}
public String getMdfr(){
return this.mdfr;
}
public void setMdfr(String mdfr){
this.mdfr = mdfr;
}
} }

@ -223,7 +223,8 @@ public class XitLoginPolicyMngController extends AbstractController {
} }
//처리 //처리
try { try {
vo.setUserId(loginVO.getId()); vo.setRgtr(loginVO.getUniqId());
vo.setMdfr(loginVO.getUniqId());
xitLoginPolicyMngService.addProc(vo); xitLoginPolicyMngService.addProc(vo);
status.setComplete(); status.setComplete();
message = xitMessageSource.getMessage("success.common.insert"); message = xitMessageSource.getMessage("success.common.insert");
@ -252,7 +253,7 @@ public class XitLoginPolicyMngController extends AbstractController {
} }
//처리 //처리
try { try {
vo.setUserId(loginVO.getId()); vo.setMdfr(loginVO.getUniqId());
xitLoginPolicyMngService.modifyProc(vo); xitLoginPolicyMngService.modifyProc(vo);
status.setComplete(); status.setComplete();
message = xitMessageSource.getMessage("success.common.update"); message = xitMessageSource.getMessage("success.common.update");
@ -269,7 +270,7 @@ public class XitLoginPolicyMngController extends AbstractController {
case "delete": //삭제 case "delete": //삭제
//처리 //처리
try { try {
vo.setUserId(loginVO.getId()); vo.setMdfr(loginVO.getUniqId());
xitLoginPolicyMngService.removeProc(vo); xitLoginPolicyMngService.removeProc(vo);
status.setComplete(); status.setComplete();
message = xitMessageSource.getMessage("success.common.delete"); message = xitMessageSource.getMessage("success.common.delete");

Loading…
Cancel
Save