fix : 유저 관련 수정

main
이범준 1 year ago
parent c32b31a1c7
commit 1b0cdde227

@ -75,5 +75,5 @@ public interface XitLoginPolicyMngService {
* @author: * @author:
* @date: 2020. 4. 16. * @date: 2020. 4. 16.
*/ */
public void removesProc(String ids, String userId); public void removesProc(String ids, String mdfr);
} }

@ -102,7 +102,7 @@ public class XitLoginPolicyMngServiceBean extends AbstractServiceBean implements
} }
@Override @Override
public void removesProc(String ids, String userId) { public void removesProc(String ids, String mdfr) {
/** /**
* *
*/ */
@ -110,7 +110,7 @@ public class XitLoginPolicyMngServiceBean extends AbstractServiceBean implements
for(int i=0; i<emplyrIds.length;i++) { for(int i=0; i<emplyrIds.length;i++) {
XitLoginPolicyMngVO vo = new XitLoginPolicyMngVO(); XitLoginPolicyMngVO vo = new XitLoginPolicyMngVO();
vo.setEmplyrId(emplyrIds[i]); vo.setEmplyrId(emplyrIds[i]);
vo.setUserId(userId); vo.setMdfr(mdfr);
this.removeProc(vo); this.removeProc(vo);
} }
} }
@ -126,7 +126,9 @@ public class XitLoginPolicyMngServiceBean extends AbstractServiceBean implements
*/ */
private XitLoginPolicyVO convertToCrudVO(XitLoginPolicyMngVO vo) { private XitLoginPolicyVO convertToCrudVO(XitLoginPolicyMngVO vo) {
XitLoginPolicyVO crudVO = new XitLoginPolicyVO(); XitLoginPolicyVO crudVO = new XitLoginPolicyVO();
crudVO.setUserId(vo.getEmplyrId()); //사용자 id
crudVO.setUserId(vo.getEmplyrId()); //처리대상 고유 id
crudVO.setMdfr(vo.getMdfr());
crudVO.setIpAddr(vo.getIpAddr()); //ip 정보 crudVO.setIpAddr(vo.getIpAddr()); //ip 정보
crudVO.setDplctYn(vo.getDplctYn()); //중복 허용 여부 crudVO.setDplctYn(vo.getDplctYn()); //중복 허용 여부
crudVO.setLimitYn(vo.getLimitYn()); //제한 여부 crudVO.setLimitYn(vo.getLimitYn()); //제한 여부

@ -287,7 +287,7 @@ public class XitLoginPolicyMngController extends AbstractController {
case "deletes": //다건 삭제 case "deletes": //다건 삭제
//처리 //처리
try { try {
xitLoginPolicyMngService.removesProc(emplyrIds, loginVO.getId()); xitLoginPolicyMngService.removesProc(emplyrIds, loginVO.getUniqId());
status.setComplete(); status.setComplete();
message = xitMessageSource.getMessage("success.common.delete"); message = xitMessageSource.getMessage("success.common.delete");
} catch (RuntimeException e) { } catch (RuntimeException e) {

Loading…
Cancel
Save