fix : 유저 관련 수정

main
이범준 1 year ago
parent b8900ed353
commit d3730e9a68

@ -158,7 +158,7 @@ public interface XitFrameUnitService {
* @author: * @author:
* @date: 2020. 4. 10. * @date: 2020. 4. 10.
*/ */
public int findUserIdDuplCheck(String id); public int findUserAcntDuplCheck(String acconuntId);

@ -264,14 +264,14 @@ public class XitFrameUnitServiceBean extends AbstractServiceBean implements XitF
} }
@Override @Override
public int findUserIdDuplCheck(String id) { public int findUserAcntDuplCheck(String accountId) {
/** /**
* *
*/ */
// 업무사용자 // 업무사용자
XitUserInfoVO userUsrVO = new XitUserInfoVO(); XitUserInfoVO userUsrVO = new XitUserInfoVO();
userUsrVO.setUserId(id); userUsrVO.setUserAcnt(accountId);
userUsrVO = xitFrameCrudService.findXitUserInfo(userUsrVO); userUsrVO = xitFrameCrudService.findXitUserInfo(userUsrVO);
if (XitCmmnUtil.notEmpty(userUsrVO)) if (XitCmmnUtil.notEmpty(userUsrVO))
return 1; return 1;

@ -77,7 +77,7 @@ public class XitFrameAnonymousController extends AbstractController {
modelMap.addAttribute("checkId", ""); modelMap.addAttribute("checkId", "");
modelMap.addAttribute("usedCnt", "-1"); modelMap.addAttribute("usedCnt", "-1");
}else { }else {
modelMap.addAttribute("usedCnt", xitFrameUnitService.findUserIdDuplCheck(checkId)); modelMap.addAttribute("usedCnt", xitFrameUnitService.findUserAcntDuplCheck(checkId));
modelMap.addAttribute("checkId", checkId); modelMap.addAttribute("checkId", checkId);
} }

Loading…
Cancel
Save