fix : 오타 수정

main
이범준 2 years ago
parent d3af060732
commit 97636f4fbc

@ -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<String, Object> LoginPolicyMng_listAjax(@ModelAttribute("searchVO") XitLoginPolicyMngSearchVO searchVO, ModelMap model) {
public Map<String, Object> 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;

@ -124,7 +124,7 @@
//목록 버튼 Event 설정
$('#btnList').on({
click : function(){
document.loginPolicy.action = "<c:url value='/framework/biz/mng/auth/LoginPolicyMng_list.do'/>";
document.loginPolicy.action = "<c:url value='/framework/biz/mng/auth/loginPolicyMng_list.do'/>";
document.loginPolicy.submit();
}
});
@ -162,7 +162,7 @@
if (confirm('<spring:message code="common.update.msg" />')) {
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('<spring:message code="common.update.msg" />')) {
document.loginPolicy.action = "<c:url value='/framework/biz/mng/auth/LoginPolicyMng_update_proc.do'/>";
document.loginPolicy.action = "<c:url value='/framework/biz/mng/auth/loginPolicyMng_update_proc.do'/>";
document.loginPolicy.submit();
}
}
@ -201,7 +201,7 @@
if (confirm('<spring:message code="common.delete.msg" />')) {
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('<spring:message code="common.delete.msg" />')) {
document.loginPolicy.action = "<c:url value='/framework/biz/mng/auth/LoginPolicyMng_delete_proc.do'/>";
document.loginPolicy.action = "<c:url value='/framework/biz/mng/auth/loginPolicyMng_delete_proc.do'/>";
document.loginPolicy.submit();
}
}

@ -11,7 +11,7 @@
<script type="text/javascript" src="<c:url value="/framework/util/validator.do"/>"></script>
<validator:javascript formName="loginPolicy" staticJavascript="false" xhtml="true" cdata="false"/>
<form:form modelAttribute="loginPolicy" name="loginPolicy" method="post" action="${pageContext.request.contextPath}/framework/biz/mng/auth/LoginPolicyMng_insert_proc.do">
<form:form modelAttribute="loginPolicy" name="loginPolicy" method="post" action="${pageContext.request.contextPath}/framework/biz/mng/auth/loginPolicyMng_insert_proc.do">
<!-- 검색조건 유지 -->
<input type="hidden" name="dplctYn" value="Y" >
<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>" >
@ -112,7 +112,7 @@
//목록 버튼 Event 설정
$('#btnList').on({
click : function(){
document.loginPolicy.action = "<c:url value='/framework/biz/mng/auth/LoginPolicyMng_list.do'/>";
document.loginPolicy.action = "<c:url value='/framework/biz/mng/auth/loginPolicyMng_list.do'/>";
document.loginPolicy.submit();
}
});
@ -145,7 +145,7 @@
if (confirm('<spring:message code="common.update.msg" />')) {
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('<spring:message code="common.update.msg" />')) {
document.loginPolicy.action = "<c:url value='/framework/biz/mng/auth/LoginPolicyMng_insert_proc.do'/>";
document.loginPolicy.action = "<c:url value='/framework/biz/mng/auth/loginPolicyMng_insert_proc.do'/>";
document.loginPolicy.submit();
}
}

@ -166,11 +166,11 @@ var XitLoginPolicyMng_list = {
params += "emplyrId=" + rowData.emplyrId;
if(regYn == 'N') {
if(confirm("등록된 로그인정책 정보가 없습니다. 등록페이지로 이동하시겠습니까?")) {
XitLoginPolicyMng_list.pagePopup('insert', '<c:url value="/framework/biz/mng/auth/LoginPolicyMng_input.do"/>', params);
XitLoginPolicyMng_list.pagePopup('insert', '<c:url value="/framework/biz/mng/auth/loginPolicyMng_input.do"/>', params);
}
return;
}else{
XitLoginPolicyMng_list.pagePopup('insert', '<c:url value="/framework/biz/mng/auth/LoginPolicyMng_edit.do"/>', params);
XitLoginPolicyMng_list.pagePopup('insert', '<c:url value="/framework/biz/mng/auth/loginPolicyMng_edit.do"/>', params);
}
}
}
@ -210,7 +210,7 @@ GridConfig.setOptDataSource({ //DataSource
----------------------- */
api: {
readData : {
url: '<c:url value="/framework/biz/mng/auth/LoginPolicyMng_list.ajax"/>', method: 'GET'
url: '<c:url value="/framework/biz/mng/auth/loginPolicyMng_list.ajax"/>', method: 'GET'
,initParams: {}
,serializer: function(params) {
var form = document.frmSearch;
Loading…
Cancel
Save