diff --git a/src/main/java/kr/xit/fims/framework/biz/mng/auth/web/XitLoginPolicyMngController.java b/src/main/java/kr/xit/fims/framework/biz/mng/auth/web/XitLoginPolicyMngController.java index 9cf8a5b6..e5c637b6 100644 --- a/src/main/java/kr/xit/fims/framework/biz/mng/auth/web/XitLoginPolicyMngController.java +++ b/src/main/java/kr/xit/fims/framework/biz/mng/auth/web/XitLoginPolicyMngController.java @@ -53,9 +53,9 @@ public class XitLoginPolicyMngController extends AbstractController { * @author: 박민규 * @date: 2020. 4. 16. */ - @RequestMapping(name = "", value = "LoginPolicyMng_list", method={RequestMethod.GET, RequestMethod.POST}) - public String LoginPolicyMng_list(@ModelAttribute("searchVO") XitLoginPolicyMngSearchVO searchVO, ModelMap model) { - return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/auth/XitLoginPolicyMng_list"; + @RequestMapping(name = "", value = "loginPolicyMng_list", method={RequestMethod.GET, RequestMethod.POST}) + public String loginPolicyMng_list(@ModelAttribute("searchVO") XitLoginPolicyMngSearchVO searchVO, ModelMap model) { + return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/auth/loginPolicyMng_list"; } /** @@ -64,9 +64,9 @@ public class XitLoginPolicyMngController extends AbstractController { * @author: 최유수 * @date: 2020. 8.04. */ - @RequestMapping(name = "", value = "LoginPolicyMng_list.ajax", method={RequestMethod.GET, RequestMethod.POST}) + @RequestMapping(name = "", value = "loginPolicyMng_list.ajax", method={RequestMethod.GET, RequestMethod.POST}) @ResponseBody - public Map LoginPolicyMng_listAjax(@ModelAttribute("searchVO") XitLoginPolicyMngSearchVO searchVO, ModelMap model) { + public Map loginPolicyMng_listAjax(@ModelAttribute("searchVO") XitLoginPolicyMngSearchVO searchVO, ModelMap model) { /** paging */ PaginationInfo paginationInfo = new PaginationInfo(); @@ -124,8 +124,8 @@ public class XitLoginPolicyMngController extends AbstractController { * @author: 박민규 * @date: 2020. 4. 16. */ - @RequestMapping(name = "", value = "LoginPolicyMng_{cmd}", method={RequestMethod.GET, RequestMethod.POST}) - public String LoginPolicyMng_page(@PathVariable String cmd + @RequestMapping(name = "", value = "loginPolicyMng_{cmd}", method={RequestMethod.GET, RequestMethod.POST}) + public String loginPolicyMng_page(@PathVariable String cmd , @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef , @ModelAttribute("vo") XitLoginPolicyMngVO vo , @ModelAttribute("searchVO") XitLoginPolicyMngSearchVO searchVO @@ -133,7 +133,7 @@ public class XitLoginPolicyMngController extends AbstractController { ) { if(!"".equals(tilesDef)) tilesDef = "."+tilesDef; - String returnUrl = FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/auth/XitLoginPolicyMng_"+cmd+tilesDef; + String returnUrl = FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/auth/loginPolicyMng_"+cmd+tilesDef; switch (cmd) { case "input": //등록 페이지 @@ -146,7 +146,7 @@ public class XitLoginPolicyMngController extends AbstractController { model.addAttribute("loginPolicy", result); model.addAttribute("message", xitMessageSource.getMessage("success.common.select")); if("N".equals(result.getRegYn())) - returnUrl = FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/auth/XitLoginPolicyMng_input"+tilesDef; + returnUrl = FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/auth/loginPolicyMng_input"+tilesDef; break; default: throw new RuntimeException("유효하지 않은 요청 입니다."); @@ -168,7 +168,7 @@ public class XitLoginPolicyMngController extends AbstractController { * @date: 2020. 4. 16. */ @RequestMapping(name = "", value = "LoginPolicyMng_{cmd}_popup", method={RequestMethod.GET, RequestMethod.POST}) - public String LoginPolicyMng_page_popup(@PathVariable String cmd + public String loginPolicyMng_page_popup(@PathVariable String cmd , @ModelAttribute XitLoginPolicyMngSearchVO searchVO , @ModelAttribute XitLoginPolicyMngVO vo, ModelMap model) { switch (cmd) { @@ -179,7 +179,7 @@ public class XitLoginPolicyMngController extends AbstractController { } - return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/auth/XitLoginPolicyMng_"+cmd+"_popup"+ FrameworkConstants.TILES_TYPE.POPUP.getVal(); + return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/auth/loginPolicyMng_"+cmd+"_popup"+ FrameworkConstants.TILES_TYPE.POPUP.getVal(); } @@ -192,8 +192,8 @@ public class XitLoginPolicyMngController extends AbstractController { * @throws ServletException * @date: 2020. 4. 16. */ - @RequestMapping(name = "", value = "LoginPolicyMng_{cmd}_proc", method=RequestMethod.POST) - public void LoginPolicyMng_cmd_proc(@PathVariable String cmd + @RequestMapping(name = "", value = "loginPolicyMng_{cmd}_proc", method=RequestMethod.POST) + public void loginPolicyMng_cmd_proc(@PathVariable String cmd ,@ModelAttribute("vo") XitLoginPolicyMngVO vo ,@ModelAttribute("searchVO") XitLoginPolicyMngSearchVO searchVO ,@RequestParam(value="emplyrIds", required=false, defaultValue="") String emplyrIds @@ -208,7 +208,7 @@ public class XitLoginPolicyMngController extends AbstractController { * 처리 분기 */ XitLoginVO loginVO = (XitLoginVO) EgovUserDetailsHelper.getAuthenticatedUser(); - String sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_list.do"; + String sLocationUrl = "forward:/framework/biz/mng/auth/loginPolicyMng_list.do"; String message = null; switch (cmd) { case "insert": //등록 @@ -218,7 +218,7 @@ public class XitLoginPolicyMngController extends AbstractController { // beanValidator.validate("loginPolicy", vo, bindingResult); if (bindingResult.hasErrors()) { message = xitMessageSource.getMessage("fail.common.insert"); - sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_input.do"; + sLocationUrl = "forward:/framework/biz/mng/auth/loginPolicyMng_input.do"; break; } //처리 @@ -227,13 +227,13 @@ public class XitLoginPolicyMngController extends AbstractController { xitLoginPolicyMngService.addProc(vo); status.setComplete(); message = xitMessageSource.getMessage("success.common.insert"); - sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_edit.do"; + sLocationUrl = "forward:/framework/biz/mng/auth/loginPolicyMng_edit.do"; } catch (RuntimeException e) { message = e.getMessage(); - sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_input.do"; + sLocationUrl = "forward:/framework/biz/mng/auth/loginPolicyMng_input.do"; } catch (Exception e) { message = xitMessageSource.getMessage("fail.common.insert"); - sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_input.do"; + sLocationUrl = "forward:/framework/biz/mng/auth/loginPolicyMng_input.do"; } break; @@ -247,7 +247,7 @@ public class XitLoginPolicyMngController extends AbstractController { // beanValidator.validate("loginPolicy", vo, bindingResult); if (bindingResult.hasErrors()) { message = xitMessageSource.getMessage("fail.common.update"); - sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_edit"; + sLocationUrl = "forward:/framework/biz/mng/auth/loginPolicyMng_edit"; break; } //처리 @@ -256,13 +256,13 @@ public class XitLoginPolicyMngController extends AbstractController { xitLoginPolicyMngService.modifyProc(vo); status.setComplete(); message = xitMessageSource.getMessage("success.common.update"); - sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_edit"; + sLocationUrl = "forward:/framework/biz/mng/auth/loginPolicyMng_edit"; } catch (RuntimeException e) { message = e.getMessage(); - sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_edit"; + sLocationUrl = "forward:/framework/biz/mng/auth/loginPolicyMng_edit"; } catch (Exception e) { message = xitMessageSource.getMessage("fail.common.update"); - sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_edit"; + sLocationUrl = "forward:/framework/biz/mng/auth/loginPolicyMng_edit"; } break; @@ -276,10 +276,10 @@ public class XitLoginPolicyMngController extends AbstractController { break; } catch (RuntimeException e) { message = e.getMessage(); - sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_edit"; + sLocationUrl = "forward:/framework/biz/mng/auth/loginPolicyMng_edit"; } catch (Exception e) { message = xitMessageSource.getMessage("fail.common.delete"); - sLocationUrl = "forward:/framework/biz/mng/auth/LoginPolicyMng_edit"; + sLocationUrl = "forward:/framework/biz/mng/auth/loginPolicyMng_edit"; } break; diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/XitLoginPolicyMng_edit.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/loginPolicyMng_edit.jsp similarity index 97% rename from src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/XitLoginPolicyMng_edit.jsp rename to src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/loginPolicyMng_edit.jsp index e6795922..24af5443 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/XitLoginPolicyMng_edit.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/loginPolicyMng_edit.jsp @@ -124,7 +124,7 @@ //목록 버튼 Event 설정 $('#btnList').on({ click : function(){ - document.loginPolicy.action = ""; + document.loginPolicy.action = ""; document.loginPolicy.submit(); } }); @@ -162,7 +162,7 @@ if (confirm('')) { var param = $(document.loginPolicy).serialize(); $.ajax({ - url : "/framework/biz/mng/auth/LoginPolicyMng_update_proc.do", + url : "/framework/biz/mng/auth/loginPolicyMng_update_proc.do", data : param, type : "post", dataType : "json", @@ -180,7 +180,7 @@ }else{ /* submit 처리 Pattern */ if (confirm('')) { - document.loginPolicy.action = ""; + document.loginPolicy.action = ""; document.loginPolicy.submit(); } } @@ -201,7 +201,7 @@ if (confirm('')) { var param = $(document.loginPolicy).serialize(); $.ajax({ - url : "/framework/biz/mng/auth/LoginPolicyMng_delete_proc.do", + url : "/framework/biz/mng/auth/loginPolicyMng_delete_proc.do", data : param, type : "post", dataType : "json", @@ -219,7 +219,7 @@ }else{ /* submit 처리 Pattern */ if (confirm('')) { - document.loginPolicy.action = ""; + document.loginPolicy.action = ""; document.loginPolicy.submit(); } } diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/XitLoginPolicyMng_input.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/loginPolicyMng_input.jsp similarity index 97% rename from src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/XitLoginPolicyMng_input.jsp rename to src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/loginPolicyMng_input.jsp index e6358889..ca48447a 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/XitLoginPolicyMng_input.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/loginPolicyMng_input.jsp @@ -11,7 +11,7 @@ - + @@ -112,7 +112,7 @@ //목록 버튼 Event 설정 $('#btnList').on({ click : function(){ - document.loginPolicy.action = ""; + document.loginPolicy.action = ""; document.loginPolicy.submit(); } }); @@ -145,7 +145,7 @@ if (confirm('')) { var param = $(document.loginPolicy).serialize(); $.ajax({ - url : "/framework/biz/mng/auth/LoginPolicyMng_insert_proc.do", + url : "/framework/biz/mng/auth/loginPolicyMng_insert_proc.do", data : param, type : "post", dataType : "json", @@ -163,7 +163,7 @@ }else{ /* submit 처리 Pattern */ if (confirm('')) { - document.loginPolicy.action = ""; + document.loginPolicy.action = ""; document.loginPolicy.submit(); } } diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/XitLoginPolicyMng_list.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/loginPolicyMng_list.jsp similarity index 97% rename from src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/XitLoginPolicyMng_list.jsp rename to src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/loginPolicyMng_list.jsp index bd5f159d..129aa87e 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/XitLoginPolicyMng_list.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/mng/auth/loginPolicyMng_list.jsp @@ -166,11 +166,11 @@ var XitLoginPolicyMng_list = { params += "emplyrId=" + rowData.emplyrId; if(regYn == 'N') { if(confirm("등록된 로그인정책 정보가 없습니다. 등록페이지로 이동하시겠습니까?")) { - XitLoginPolicyMng_list.pagePopup('insert', '', params); + XitLoginPolicyMng_list.pagePopup('insert', '', params); } return; }else{ - XitLoginPolicyMng_list.pagePopup('insert', '', params); + XitLoginPolicyMng_list.pagePopup('insert', '', params); } } } @@ -210,7 +210,7 @@ GridConfig.setOptDataSource({ //DataSource ----------------------- */ api: { readData : { - url: '', method: 'GET' + url: '', method: 'GET' ,initParams: {} ,serializer: function(params) { var form = document.frmSearch;