휴면계정 및 기업반려 회원 노출정보 수정
@2da0933ca065e24e75fd58209d04b82e16c10e80
--- src/main/java/itn/let/uat/uia/web/EgovLoginController.java
+++ src/main/java/itn/let/uat/uia/web/EgovLoginController.java
... | ... | @@ -1937,7 +1937,8 @@ |
| 1937 | 1937 |
if("01".equals(cmpChangeManageVO.getHstSttus()) || "03".equals(cmpChangeManageVO.getHstSttus()) ) { //가장 마지막 기업회원 가입이 신청 또는 반려 상태일 시
|
| 1938 | 1938 |
|
| 1939 | 1939 |
String message = "기업회원 신청 또는 반려상태입니다."; |
| 1940 |
- |
|
| 1940 |
+ modelAndView.addObject("returnType", "B");
|
|
| 1941 |
+ modelAndView.addObject("mberId", loginVO.getId());
|
|
| 1941 | 1942 |
modelAndView.addObject("status", "fail");
|
| 1942 | 1943 |
modelAndView.addObject("msg", message);
|
| 1943 | 1944 |
return modelAndView; |
... | ... | @@ -2051,7 +2052,7 @@ |
| 2051 | 2052 |
if(resultVO.getDormantYn().equals("Y") || resultVO.getDormantYn() == "Y") {
|
| 2052 | 2053 |
|
| 2053 | 2054 |
String message = "휴면계정입니다."; |
| 2054 |
- modelAndView.addObject("dormantYn", "Y");
|
|
| 2055 |
+ modelAndView.addObject("returnType", "A");
|
|
| 2055 | 2056 |
modelAndView.addObject("status", "fail");
|
| 2056 | 2057 |
modelAndView.addObject("msg", message);
|
| 2057 | 2058 |
return modelAndView; |
--- src/main/webapp/WEB-INF/jsp/web/login/EgovLoginGnrlUsr.jsp
+++ src/main/webapp/WEB-INF/jsp/web/login/EgovLoginGnrlUsr.jsp
... | ... | @@ -212,9 +212,13 @@ |
| 212 | 212 |
|
| 213 | 213 |
}else if (data.status=="fail"){
|
| 214 | 214 |
|
| 215 |
- if (data.dormantYn=="Y"){
|
|
| 215 |
+ if (data.returnType == "A"){
|
|
| 216 | 216 |
document.loginForm2.action="<c:url value='/web/user/humanPage.do'/>"; |
| 217 | 217 |
document.loginForm2.submit(); |
| 218 |
+ }else if (data.returnType == "B"){
|
|
| 219 |
+ document.cmpChangeForm.mberId.value = data.mberId; |
|
| 220 |
+ document.cmpChangeForm.action="<c:url value='/web/user/login/membershipAttachDocBefore.do'/>"; |
|
| 221 |
+ document.cmpChangeForm.submit(); |
|
| 218 | 222 |
}else{
|
| 219 | 223 |
$("#ret_msg").show();
|
| 220 | 224 |
$("#ret_msg_info").html('<i></i>'+data.msg);
|
... | ... | @@ -671,4 +675,7 @@ |
| 671 | 675 |
<input type="hidden" name="callTo" value=""/> |
| 672 | 676 |
<input type="hidden" name="receive" value=""/> |
| 673 | 677 |
</form> |
| 678 |
+<form name="cmpChangeForm" id="cmpChangeForm" method="post" action="#"> |
|
| 679 |
+ <input type="hidden" name="mberId" value=""/> |
|
| 680 |
+</form> |
|
| 674 | 681 |
</div>(No newline at end of file) |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?