--- src/main/java/itn/let/mjo/msg/service/MjonMsgVO.java
+++ src/main/java/itn/let/mjo/msg/service/MjonMsgVO.java
... | ... | @@ -204,7 +204,7 @@ |
| 204 | 204 |
private int failSendCnt; |
| 205 | 205 |
private double succSendPrice; |
| 206 | 206 |
private double failSendPrice; |
| 207 |
- private double totSuccSendPrice; |
|
| 207 |
+ private String totSuccSendPrice; |
|
| 208 | 208 |
|
| 209 | 209 |
private String bookmarkYn = "N"; |
| 210 | 210 |
|
... | ... | @@ -1634,10 +1634,10 @@ |
| 1634 | 1634 |
public void setFailSendPrice(double failSendPrice) {
|
| 1635 | 1635 |
this.failSendPrice = failSendPrice; |
| 1636 | 1636 |
} |
| 1637 |
- public double getTotSuccSendPrice() {
|
|
| 1637 |
+ public String getTotSuccSendPrice() {
|
|
| 1638 | 1638 |
return totSuccSendPrice; |
| 1639 | 1639 |
} |
| 1640 |
- public void setTotSuccSendPrice(double totSuccSendPrice) {
|
|
| 1640 |
+ public void setTotSuccSendPrice(String totSuccSendPrice) {
|
|
| 1641 | 1641 |
this.totSuccSendPrice = totSuccSendPrice; |
| 1642 | 1642 |
} |
| 1643 | 1643 |
public String getBookmarkYn() {
|
--- src/main/java/itn/let/mjo/pay/web/MjonPayController.java
+++ src/main/java/itn/let/mjo/pay/web/MjonPayController.java
... | ... | @@ -2803,11 +2803,11 @@ |
| 2803 | 2803 |
model.addAttribute("paginationInfo", paginationInfo);
|
| 2804 | 2804 |
model.addAttribute("payUserSWList", payUserSWList);
|
| 2805 | 2805 |
|
| 2806 |
- if(payUserSWList.size() > 0) {
|
|
| 2807 |
- model.addAttribute("totSuccSendPrice", payUserSWList.get(0).getTotSuccSendPrice());
|
|
| 2808 |
- }else {
|
|
| 2809 |
- model.addAttribute("totSuccSendPrice", 0);
|
|
| 2810 |
- } |
|
| 2806 |
+ |
|
| 2807 |
+ |
|
| 2808 |
+ String totSuccSendPrice = payUserSWList.get(0).getTotSuccSendPrice(); |
|
| 2809 |
+ model.addAttribute("totSuccSendPrice", payUserSWList.size() > 0 ? totSuccSendPrice : 0);
|
|
| 2810 |
+ |
|
| 2811 | 2811 |
model.addAttribute("mjonMsgVO", mjonMsgVO);
|
| 2812 | 2812 |
|
| 2813 | 2813 |
|
--- src/main/webapp/WEB-INF/jsp/web/pay/PayUserSWListAjax.jsp
+++ src/main/webapp/WEB-INF/jsp/web/pay/PayUserSWListAjax.jsp
... | ... | @@ -24,7 +24,9 @@ |
| 24 | 24 |
|
| 25 | 25 |
// 사용금액 캐시 노출 |
| 26 | 26 |
var succPrice = '${totSuccSendPrice}';
|
| 27 |
+ console.log('succPrice : ', succPrice);
|
|
| 27 | 28 |
$('#cashTxtId').text(succPrice.replace(/\B(?=(\d{3})+(?!\d))/g, ','));
|
| 29 |
+// $('#cashTxtId').text(succPrice);
|
|
| 28 | 30 |
|
| 29 | 31 |
|
| 30 | 32 |
$('#startDate').val('${mjonMsgVO.startDate}');
|
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?