This commit is contained in:
wyh 2025-01-24 21:26:56 +09:00
commit a2ba4a9865

View File

@ -79,6 +79,9 @@ public class MjonPayServiceImpl extends EgovAbstractServiceImpl implements MjonP
@Resource(name = "egovPgMoidGnrService")
private EgovIdGnrService idgenPgMoid;
@Resource(name = "mjonPayService")
private MjonPayService mjonPayService;
/** 메모 idgen */
@Resource(name="egovGnrlUserSelectMemoIdGnrService")
private EgovIdGnrService memoidgenService;
@ -2259,13 +2262,16 @@ public class MjonPayServiceImpl extends EgovAbstractServiceImpl implements MjonP
*
* */
//결제내역 카운트 조회
int payCnt = mjonPayService.selectMemerPayCount(mjonPayVO.getUserId());
//이벤트 회원 정보 테이블에서 미진행 대상자의 정보를 불러온다.
MjonEventVO eventMberInfo = selectEventMsgMberDefaultInfo(mjonPayVO.getUserId(), "N");
// 문자할인여부(1: 할인, 0: 미할인)
int isMsgSalePrice = selectMsgSalePriceCnt(mjonPayVO.getUserId());
if(eventMberInfo == null) {//일반 결제에 해당하는 경우 정상적 포인트 지급, 이벤트 첫결제에 해당되지 않는 회원
if(eventMberInfo == null || payCnt > 0) {//일반 결제에 해당하는 경우 정상적 포인트 지급, 이벤트 첫결제에 해당되지 않는 회원
// 문자 미할인 회원만 포인트 충전
if(isMsgSalePrice == 0) {
mjonPayDAO.insertPoint(mjonPayVO); //POINT 테이블