친구톡 > 발송결과 상세
- 친구톡 발송요금이 리스트와 상이한 오류 수정 - 대체문자 발송요금이 리스트와 상이한 오류 수정
This commit is contained in:
parent
5639c5e910
commit
acd01e5651
@ -1820,8 +1820,19 @@
|
|||||||
, a.failCount
|
, a.failCount
|
||||||
, a.kakaoResendSuccCount
|
, a.kakaoResendSuccCount
|
||||||
, a.kakaoResendFailCount
|
, a.kakaoResendFailCount
|
||||||
, a.successCount * bkp.BIZ_KAKAO_AT_PRICE AS successPrice
|
<!-- , a.successCount * bkp.BIZ_KAKAO_AT_PRICE AS successPrice -->
|
||||||
, (a.smsCnt * bkp.BIZ_SMS_PRICE) + (a.mmsCnt * bkp.BIZ_MMS_PRICE) AS kakaoResendSuccPrice
|
,case
|
||||||
|
when a.msgType = '8' then a.successCount * bkp.BIZ_KAKAO_AT_PRICE
|
||||||
|
when a.msgType = '9' and a.bizKakaoImageType = 'I' then a.successCount * bkp.BIZ_KAKAO_FT_IMG_PRICE
|
||||||
|
when a.msgType = '9' and a.bizKakaoImageType = 'W' then a.successCount * bkp.BIZ_KAKAO_FT_WIDE_IMG_PRICE
|
||||||
|
when a.msgType = '9' and a.bizKakaoImageType != 'I' and a.bizKakaoImageType != 'W' then a.successCount * bkp.BIZ_KAKAO_FT_PRICE
|
||||||
|
end successPrice
|
||||||
|
<!-- , (a.smsCnt * bkp.BIZ_SMS_PRICE) + (a.mmsCnt * bkp.BIZ_MMS_PRICE) AS kakaoResendSuccPrice -->
|
||||||
|
,case
|
||||||
|
when a.msgType = '8' then (a.smsCnt * bkp.BIZ_SMS_PRICE) + (a.mmsCnt * bkp.BIZ_MMS_PRICE)
|
||||||
|
when a.msgType = '9' and (a.bizKakaoImageType = 'I' or a.bizKakaoImageType = 'W') then a.mmsCnt * bkp.BIZ_PICTURE_PRICE
|
||||||
|
when a.msgType = '9' and a.bizKakaoImageType != 'I' and a.bizKakaoImageType != 'W' then (a.smsCnt * bkp.BIZ_SMS_PRICE) + (a.mmsCnt * bkp.BIZ_MMS_PRICE)
|
||||||
|
end kakaoResendSuccPrice
|
||||||
, a.divideYn
|
, a.divideYn
|
||||||
, a.bizKakaoResendYn
|
, a.bizKakaoResendYn
|
||||||
, MKPI.YELLOW_ID AS yellowId
|
, MKPI.YELLOW_ID AS yellowId
|
||||||
@ -1947,6 +1958,7 @@
|
|||||||
, MD.BIZ_KAKAO_RESEND_YN as bizKakaoResendYn
|
, MD.BIZ_KAKAO_RESEND_YN as bizKakaoResendYn
|
||||||
, MD.MSG_NOTICETALK_SENDER_KEY
|
, MD.MSG_NOTICETALK_SENDER_KEY
|
||||||
, MD.MSG_NOTICETALK_TMP_KEY
|
, MD.MSG_NOTICETALK_TMP_KEY
|
||||||
|
, MGD.BIZ_KAKAO_IMAGE_TYPE as bizKakaoImageType
|
||||||
FROM MJ_MSG_DATA MD
|
FROM MJ_MSG_DATA MD
|
||||||
inner join MJ_MSG_GROUP_DATA MGD on
|
inner join MJ_MSG_GROUP_DATA MGD on
|
||||||
MGD.MSG_GROUP_ID = MD.MSG_GROUP_ID
|
MGD.MSG_GROUP_ID = MD.MSG_GROUP_ID
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user