Merge branch 'master' of http://dudgusw@vcs.iten.co.kr:9999/hylee/mjon_git
This commit is contained in:
commit
254fd805ed
@ -193,6 +193,20 @@ public class MjonEventController {
|
||||
|
||||
}else {
|
||||
|
||||
//결제내역 카운트 조회
|
||||
int payCnt = mjonPayService.selectMemerPayCount(loginVO.getId());
|
||||
|
||||
//System.out.println("첫 결제 회원만 이벤트 신청이 가능합니다.");
|
||||
//System.out.println(payCnt);
|
||||
//System.out.println(payCnt);
|
||||
//System.out.println(payCnt);
|
||||
|
||||
if (payCnt>=0) {
|
||||
modelAndView.addObject("message", "첫 결제 회원만 이벤트 신청이 가능합니다.");
|
||||
modelAndView.addObject("resultSts", "statusAlreadyPayedFail");
|
||||
return modelAndView;
|
||||
}
|
||||
|
||||
mjonEventVO.setMberId(loginVO.getId());
|
||||
mjonEventVO.setMberNm(loginVO.getName());
|
||||
|
||||
|
||||
@ -259,6 +259,12 @@ function pgOpenerPopup(){
|
||||
popStatus = false;
|
||||
return false;
|
||||
|
||||
}else if("statusAlreadyPayedFail"==returnData.resultSts){
|
||||
|
||||
alert(returnData.message);
|
||||
popStatus = false;
|
||||
return false;
|
||||
|
||||
}else if("statusFail"==returnData.resultSts){
|
||||
|
||||
alert(returnData.message);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user