fix : 유저 관련 수정

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

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

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

@ -18,7 +18,15 @@ public class XitLoginPolicyMngVO extends BaseVO {
* serialVersionUID
*/
private static final long serialVersionUID = 1L;
/**
/**
* ID
*/
private String userId;
/**
* ID
*/
private String userAcnt;
/**
* ID
*/
private String emplyrId;
@ -42,10 +50,7 @@ public class XitLoginPolicyMngVO extends BaseVO {
*
*/
private String limitYn;
/**
* ID
*/
private String userId;
/**
*
*/
@ -54,7 +59,18 @@ public class XitLoginPolicyMngVO extends BaseVO {
*
*/
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
*/
@ -128,16 +144,16 @@ public class XitLoginPolicyMngVO extends BaseVO {
this.limitYn = limitYn;
}
/**
* @return the userId
* @return the userAcnt
*/
public String getUserId() {
return userId;
public String getUserAcnt() {
return userAcnt;
}
/**
* @param userId the userId to set
* @param userAcnt the userAcnt to set
*/
public void setUserId(String userId) {
this.userId = userId;
public void setUserAcnt(String userAcnt) {
this.userAcnt = userAcnt;
}
/**
* @return the regDate
@ -164,4 +180,17 @@ public class XitLoginPolicyMngVO extends BaseVO {
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 {
vo.setUserId(loginVO.getId());
vo.setRgtr(loginVO.getUniqId());
vo.setMdfr(loginVO.getUniqId());
xitLoginPolicyMngService.addProc(vo);
status.setComplete();
message = xitMessageSource.getMessage("success.common.insert");
@ -252,7 +253,7 @@ public class XitLoginPolicyMngController extends AbstractController {
}
//처리
try {
vo.setUserId(loginVO.getId());
vo.setMdfr(loginVO.getUniqId());
xitLoginPolicyMngService.modifyProc(vo);
status.setComplete();
message = xitMessageSource.getMessage("success.common.update");
@ -269,7 +270,7 @@ public class XitLoginPolicyMngController extends AbstractController {
case "delete": //삭제
//처리
try {
vo.setUserId(loginVO.getId());
vo.setMdfr(loginVO.getUniqId());
xitLoginPolicyMngService.removeProc(vo);
status.setComplete();
message = xitMessageSource.getMessage("success.common.delete");

Loading…
Cancel
Save