|
|
@ -108,8 +108,8 @@ public class MainController extends cokr.xit.base.web.MainController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(name="중복 확인", value="/duplicate.do")
|
|
|
|
@RequestMapping(name="중복 확인", value="/duplicate.do")
|
|
|
|
public ModelAndView isDuplicate(String account, String institute) {
|
|
|
|
public ModelAndView isDuplicate(String account, String sggCd) {
|
|
|
|
ManagedUser user = userService.getUser(account, institute);
|
|
|
|
ManagedUser user = userService.getUser(account, sggCd);
|
|
|
|
return new ModelAndView("jsonView")
|
|
|
|
return new ModelAndView("jsonView")
|
|
|
|
.addObject("duplicate", user != null);
|
|
|
|
.addObject("duplicate", user != null);
|
|
|
|
}
|
|
|
|
}
|
|
|
|