diff --git a/src/main/java/cokr/xit/fims/MainController.java b/src/main/java/cokr/xit/fims/MainController.java index 091b5b0f..36effb82 100644 --- a/src/main/java/cokr/xit/fims/MainController.java +++ b/src/main/java/cokr/xit/fims/MainController.java @@ -108,8 +108,8 @@ public class MainController extends cokr.xit.base.web.MainController { } @RequestMapping(name="중복 확인", value="/duplicate.do") - public ModelAndView isDuplicate(String account, String institute) { - ManagedUser user = userService.getUser(account, institute); + public ModelAndView isDuplicate(String account, String sggCd) { + ManagedUser user = userService.getUser(account, sggCd); return new ModelAndView("jsonView") .addObject("duplicate", user != null); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/user/user-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/user/user-info.jsp index e0954ef5..8827e17f 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/user/user-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/user/user-info.jsp @@ -327,7 +327,7 @@ $("#btnDuplicate").on("click", function(){ url : wctx.url("/duplicate.do"), data : { account : $("#user-form").find("[name='account']").val(), - institute : $("#user-form").find("[name='institute']").val() + sggCd : $("#user-form").find("[name='orgID']").val() }, success : resp => { if(resp.duplicate){