From 94476ea404243211bd98831b542da0fbf02858e4 Mon Sep 17 00:00:00 2001 From: leebj Date: Wed, 3 Jul 2024 09:01:53 +0900 Subject: [PATCH] =?UTF-8?q?=EC=95=84=EC=9D=B4=EB=94=94=20=EC=A4=91?= =?UTF-8?q?=EB=B3=B5=ED=99=95=EC=9D=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/fims/MainController.java | 4 ++-- src/main/webapp/WEB-INF/jsp/fims/user/user-info.jsp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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){