헤더영역 후불제 오류 추가 수정
- 비로그인시 오류 발생하여 수정 처리
This commit is contained in:
parent
0f20265e28
commit
cb5b5ece1b
@ -1169,22 +1169,26 @@ public class MainController {
|
|||||||
|
|
||||||
model.addAttribute("myBankList", myBankList);
|
model.addAttribute("myBankList", myBankList);
|
||||||
|
|
||||||
String auth = loginVO.getAuthority();
|
|
||||||
String prePaymentYn = "";
|
String prePaymentYn = "";
|
||||||
|
if(loginVO != null) {
|
||||||
|
|
||||||
//사용자 권한인 경우만 실행
|
String auth = loginVO.getAuthority();
|
||||||
if(!auth.equals("ROLE_ADMIN")) {
|
|
||||||
|
|
||||||
//후불회원 여부 조회
|
//사용자 권한인 경우만 실행
|
||||||
UserManageVO userManageVO = new UserManageVO();
|
if(!auth.equals("ROLE_ADMIN")) {
|
||||||
|
|
||||||
if(!userId.equals("")) {
|
//후불회원 여부 조회
|
||||||
userManageVO.setMberId(userId);
|
UserManageVO userManageVO = new UserManageVO();
|
||||||
userManageVO = userManageService.selectAdminSmsNoticeYn(userManageVO);
|
|
||||||
}
|
if(!userId.equals("")) {
|
||||||
|
userManageVO.setMberId(userId);
|
||||||
|
userManageVO = userManageService.selectAdminSmsNoticeYn(userManageVO);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(userManageVO.getPrePaymentYn() != null) {
|
||||||
|
prePaymentYn = userManageVO.getPrePaymentYn();
|
||||||
|
}
|
||||||
|
|
||||||
if(userManageVO.getPrePaymentYn() != null) {
|
|
||||||
prePaymentYn = userManageVO.getPrePaymentYn();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user