--- src/main/java/itn/let/kakao/kakaoComm/KakaoSendUtil.java
+++ src/main/java/itn/let/kakao/kakaoComm/KakaoSendUtil.java
... | ... | @@ -192,19 +192,21 @@ |
| 192 | 192 |
// step3 |
| 193 | 193 |
// 바이트 수 체크 및 금액설정 |
| 194 | 194 |
|
| 195 |
- |
|
| 196 |
- Float kakaoAtPrice = mberManageVO.getKakaoAtPrice(); |
|
| 195 |
+ |
|
| 197 | 196 |
// 유효한 단가 계산 |
| 198 | 197 |
float shortPrice = getValidPrice(mberManageVO.getShortPrice(), sysJoinSetVO.getShortPrice()); |
| 199 | 198 |
float longPrice = getValidPrice(mberManageVO.getLongPrice(), sysJoinSetVO.getLongPrice()); |
| 199 |
+ float kakaoAtPrice = getValidPrice(mberManageVO.getKakaoAtPrice(), sysJoinSetVO.getKakaoAtPrice()); |
|
| 200 | 200 |
|
| 201 | 201 |
|
| 202 | 202 |
String shortPStr = Float.toString(shortPrice); |
| 203 | 203 |
String mmsPStr = Float.toString(longPrice); |
| 204 |
+ String kakaoAtPStr = Float.toString(kakaoAtPrice); |
|
| 204 | 205 |
|
| 205 | 206 |
// 공통 가격 설정 |
| 206 | 207 |
sendVO.setSmsPrice(shortPStr); |
| 207 | 208 |
sendVO.setMmsPrice(mmsPStr); |
| 209 |
+ sendVO.setKakaoAtPrice(kakaoAtPStr); |
|
| 208 | 210 |
|
| 209 | 211 |
|
| 210 | 212 |
if("Y".equals(kakaoVO.getSubMsgSendYn())) {
|
... | ... | @@ -221,8 +223,7 @@ |
| 221 | 223 |
|
| 222 | 224 |
|
| 223 | 225 |
} else {
|
| 224 |
- kakaoAtPrice = getValidPrice(mberManageVO.getKakaoAtPrice(), sysJoinSetVO.getKakaoAtPrice()); |
|
| 225 |
- sendVO.setEachPrice( Float.toString(kakaoAtPrice) ); |
|
| 226 |
+ sendVO.setEachPrice(kakaoAtPStr); |
|
| 226 | 227 |
} |
| 227 | 228 |
|
| 228 | 229 |
|
--- src/main/java/itn/let/kakao/user/kakaoAt/service/impl/KakaoAlimTalkServiceImpl.java
+++ src/main/java/itn/let/kakao/user/kakaoAt/service/impl/KakaoAlimTalkServiceImpl.java
... | ... | @@ -956,7 +956,7 @@ |
| 956 | 956 |
|
| 957 | 957 |
/** @biz_kakao_price에 insert (대체문자 환불관련 테이블)*/ |
| 958 | 958 |
kakaoVO.setMsgGroupId(sendVO.getMsgGroupId()); |
| 959 |
- kakaoVO.setKakaoAtPrice(Float.parseFloat(sendVO.getEachPrice())); |
|
| 959 |
+ kakaoVO.setKakaoAtPrice(Float.parseFloat(sendVO.getKakaoAtPrice())); |
|
| 960 | 960 |
kakaoVO.setSmsPrice(Float.parseFloat(sendVO.getSmsPrice())); |
| 961 | 961 |
kakaoVO.setMmsPrice(Float.parseFloat(sendVO.getMmsPrice())); |
| 962 | 962 |
|
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?