헤더 영역 후불제 회원 체크 기능 오류 수정 - 관리자 로그인 후 신규 브라우저 탭에서 문자온 접속시 헤더영역 오류 발생 -> 회원테이블에 관리자 정보가 없는 상태에서 후불제 정보를 찾아서 Null 오류 발생하였음
- 관리자 로그인 후 신규 브라우저 탭에서 문자온 접속시 헤더영역 오류 발생 -> 회원테이블에 관리자 정보가 없는 상태에서 후불제 정보를 찾아서 Null 오류 발생하였음
@a085e6b35f6cb8d7f3ee18e7d70ce6c1079d7bbc
--- src/main/java/itn/web/MainController.java
+++ src/main/java/itn/web/MainController.java
... | ... | @@ -1178,7 +1178,11 @@ |
| 1178 | 1178 |
userManageVO = userManageService.selectAdminSmsNoticeYn(userManageVO); |
| 1179 | 1179 |
} |
| 1180 | 1180 |
|
| 1181 |
- model.addAttribute("prePaymentYn", userManageVO.getPrePaymentYn());
|
|
| 1181 |
+ String prePaymentYn = ""; |
|
| 1182 |
+ if(userManageVO.getPrePaymentYn() != null) {
|
|
| 1183 |
+ prePaymentYn = userManageVO.getPrePaymentYn(); |
|
| 1184 |
+ } |
|
| 1185 |
+ model.addAttribute("prePaymentYn", prePaymentYn);
|
|
| 1182 | 1186 |
|
| 1183 | 1187 |
return "web/com/webCommonHeader"; |
| 1184 | 1188 |
} |
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?