Merge branch 'master' of http://dudgusw@vcs.iten.co.kr:9999/hylee/mjon_git
@a2ba4a9865987a2880b7e352a0a32c179a382c8f
--- src/main/java/itn/let/mjo/pay/service/impl/MjonPayServiceImpl.java
+++ src/main/java/itn/let/mjo/pay/service/impl/MjonPayServiceImpl.java
... | ... | @@ -79,6 +79,9 @@ |
| 79 | 79 |
@Resource(name = "egovPgMoidGnrService") |
| 80 | 80 |
private EgovIdGnrService idgenPgMoid; |
| 81 | 81 |
|
| 82 |
+ @Resource(name = "mjonPayService") |
|
| 83 |
+ private MjonPayService mjonPayService; |
|
| 84 |
+ |
|
| 82 | 85 |
/** 메모 idgen */ |
| 83 | 86 |
@Resource(name="egovGnrlUserSelectMemoIdGnrService") |
| 84 | 87 |
private EgovIdGnrService memoidgenService; |
... | ... | @@ -2259,13 +2262,16 @@ |
| 2259 | 2262 |
* |
| 2260 | 2263 |
* */ |
| 2261 | 2264 |
|
| 2265 |
+ //결제내역 카운트 조회 |
|
| 2266 |
+ int payCnt = mjonPayService.selectMemerPayCount(mjonPayVO.getUserId()); |
|
| 2267 |
+ |
|
| 2262 | 2268 |
//이벤트 회원 정보 테이블에서 미진행 대상자의 정보를 불러온다. |
| 2263 | 2269 |
MjonEventVO eventMberInfo = selectEventMsgMberDefaultInfo(mjonPayVO.getUserId(), "N"); |
| 2264 | 2270 |
|
| 2265 | 2271 |
// 문자할인여부(1: 할인, 0: 미할인) |
| 2266 | 2272 |
int isMsgSalePrice = selectMsgSalePriceCnt(mjonPayVO.getUserId()); |
| 2267 | 2273 |
|
| 2268 |
- if(eventMberInfo == null) {//일반 결제에 해당하는 경우 정상적 포인트 지급, 이벤트 첫결제에 해당되지 않는 회원
|
|
| 2274 |
+ if(eventMberInfo == null || payCnt > 0) {//일반 결제에 해당하는 경우 정상적 포인트 지급, 이벤트 첫결제에 해당되지 않는 회원
|
|
| 2269 | 2275 |
// 문자 미할인 회원만 포인트 충전 |
| 2270 | 2276 |
if(isMsgSalePrice == 0) {
|
| 2271 | 2277 |
mjonPayDAO.insertPoint(mjonPayVO); //POINT 테이블 |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?