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