Merge branch '5102_친구톡_발송속도_개선' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into 5102_친구톡_발송속도_개선
@05f13875bdd5699d023fec0ad5014e9d9cfe6ed5
--- src/main/resources/egovframework/sqlmap/let/mjo/kakao/KakaoSent_SQL_Mysql.xml
+++ src/main/resources/egovframework/sqlmap/let/mjo/kakao/KakaoSent_SQL_Mysql.xml
... | ... | @@ -1820,8 +1820,19 @@ |
| 1820 | 1820 |
, a.failCount |
| 1821 | 1821 |
, a.kakaoResendSuccCount |
| 1822 | 1822 |
, a.kakaoResendFailCount |
| 1823 |
- , a.successCount * bkp.BIZ_KAKAO_AT_PRICE AS successPrice |
|
| 1824 |
- , (a.smsCnt * bkp.BIZ_SMS_PRICE) + (a.mmsCnt * bkp.BIZ_MMS_PRICE) AS kakaoResendSuccPrice |
|
| 1823 |
+ <!-- , a.successCount * bkp.BIZ_KAKAO_AT_PRICE AS successPrice --> |
|
| 1824 |
+ ,case |
|
| 1825 |
+ when a.msgType = '8' then a.successCount * bkp.BIZ_KAKAO_AT_PRICE |
|
| 1826 |
+ when a.msgType = '9' and a.bizKakaoImageType = 'I' then a.successCount * bkp.BIZ_KAKAO_FT_IMG_PRICE |
|
| 1827 |
+ when a.msgType = '9' and a.bizKakaoImageType = 'W' then a.successCount * bkp.BIZ_KAKAO_FT_WIDE_IMG_PRICE |
|
| 1828 |
+ when a.msgType = '9' and a.bizKakaoImageType != 'I' and a.bizKakaoImageType != 'W' then a.successCount * bkp.BIZ_KAKAO_FT_PRICE |
|
| 1829 |
+ end successPrice |
|
| 1830 |
+ <!-- , (a.smsCnt * bkp.BIZ_SMS_PRICE) + (a.mmsCnt * bkp.BIZ_MMS_PRICE) AS kakaoResendSuccPrice --> |
|
| 1831 |
+ ,case |
|
| 1832 |
+ when a.msgType = '8' then (a.smsCnt * bkp.BIZ_SMS_PRICE) + (a.mmsCnt * bkp.BIZ_MMS_PRICE) |
|
| 1833 |
+ when a.msgType = '9' and (a.bizKakaoImageType = 'I' or a.bizKakaoImageType = 'W') then a.mmsCnt * bkp.BIZ_PICTURE_PRICE |
|
| 1834 |
+ 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) |
|
| 1835 |
+ end kakaoResendSuccPrice |
|
| 1825 | 1836 |
, a.divideYn |
| 1826 | 1837 |
, a.bizKakaoResendYn |
| 1827 | 1838 |
, MKPI.YELLOW_ID AS yellowId |
... | ... | @@ -1947,6 +1958,7 @@ |
| 1947 | 1958 |
, MD.BIZ_KAKAO_RESEND_YN as bizKakaoResendYn |
| 1948 | 1959 |
, MD.MSG_NOTICETALK_SENDER_KEY |
| 1949 | 1960 |
, MD.MSG_NOTICETALK_TMP_KEY |
| 1961 |
+ , MGD.BIZ_KAKAO_IMAGE_TYPE as bizKakaoImageType |
|
| 1950 | 1962 |
FROM MJ_MSG_DATA MD |
| 1951 | 1963 |
inner join MJ_MSG_GROUP_DATA MGD on |
| 1952 | 1964 |
MGD.MSG_GROUP_ID = MD.MSG_GROUP_ID |
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?