B선 전송사 이용고객 이벤트대상 제외처리
This commit is contained in:
parent
e2a7a09ff5
commit
aba49eacb0
@ -281,6 +281,12 @@ public class MjonEventController {
|
|||||||
|
|
||||||
if(resultEvent != null) {//진행중 이벤트 이면 이벤트 게시글 번호 셋팅
|
if(resultEvent != null) {//진행중 이벤트 이면 이벤트 게시글 번호 셋팅
|
||||||
|
|
||||||
|
// Step 0. B선 전송사 이용고객 => 이벤트대상 제외처리
|
||||||
|
MberManageVO mberManageVO = new MberManageVO();
|
||||||
|
mberManageVO.setMberId(userId);
|
||||||
|
String blineCode = mberManageService.selectBlineCodeByMberId(mberManageVO);
|
||||||
|
if (blineCode != null && blineCode.equals("N")) {
|
||||||
|
|
||||||
//이벤트 회원 정보 조회
|
//이벤트 회원 정보 조회
|
||||||
MjonEventVO mjonEventVO = new MjonEventVO();
|
MjonEventVO mjonEventVO = new MjonEventVO();
|
||||||
MjonEventVO eventMberInfo = selectEventMsgMberDefaultInfo(mjonEventVO, resultEvent.getNttId(), bbsId, loginVO.getId(), loginVO.getName());
|
MjonEventVO eventMberInfo = selectEventMsgMberDefaultInfo(mjonEventVO, resultEvent.getNttId(), bbsId, loginVO.getId(), loginVO.getName());
|
||||||
@ -307,6 +313,11 @@ public class MjonEventController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
redirectAttributes.addFlashAttribute("message", "이벤트 대상자가 아닙니다.");
|
||||||
|
return "redirect:/web/main/mainPage.do";
|
||||||
|
}
|
||||||
|
|
||||||
}else {//이벤트 게시글 정보가 없으면 0으로 셋팅.
|
}else {//이벤트 게시글 정보가 없으면 0으로 셋팅.
|
||||||
|
|
||||||
|
|||||||
@ -103,6 +103,11 @@ public class MjonEventPayV2Controller {
|
|||||||
|
|
||||||
if(resultEvent != null) {//진행중 이벤트 이면 이벤트 게시글 번호 셋팅
|
if(resultEvent != null) {//진행중 이벤트 이면 이벤트 게시글 번호 셋팅
|
||||||
|
|
||||||
|
// Step 0. B선 전송사 이용고객 => 이벤트대상 제외처리
|
||||||
|
MberManageVO mberManageVO = new MberManageVO();
|
||||||
|
mberManageVO.setMberId(userId);
|
||||||
|
String blineCode = mberManageService.selectBlineCodeByMberId(mberManageVO);
|
||||||
|
if (blineCode != null && blineCode.equals("N")) {
|
||||||
//이벤트 회원 정보 조회
|
//이벤트 회원 정보 조회
|
||||||
MjonEventVO mjonEventVO = new MjonEventVO();
|
MjonEventVO mjonEventVO = new MjonEventVO();
|
||||||
MjonEventVO eventMberInfo = selectEventMsgMberDefaultInfo(mjonEventVO, resultEvent.getNttId(), bbsId, loginVO.getId(), loginVO.getName());
|
MjonEventVO eventMberInfo = selectEventMsgMberDefaultInfo(mjonEventVO, resultEvent.getNttId(), bbsId, loginVO.getId(), loginVO.getName());
|
||||||
@ -129,6 +134,11 @@ public class MjonEventPayV2Controller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
redirectAttributes.addFlashAttribute("message", "이벤트 대상자가 아닙니다.");
|
||||||
|
return "redirect:/web/main/mainPage.do";
|
||||||
|
}
|
||||||
|
|
||||||
}else {//이벤트 게시글 정보가 없으면 0으로 셋팅.
|
}else {//이벤트 게시글 정보가 없으면 0으로 셋팅.
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user