요금 사용내역 캐시 표시 수정
This commit is contained in:
parent
38fa6d56a8
commit
608894d5e1
@ -204,7 +204,7 @@ public class MjonMsgVO extends ComDefaultVO{
|
|||||||
private int failSendCnt;
|
private int failSendCnt;
|
||||||
private double succSendPrice;
|
private double succSendPrice;
|
||||||
private double failSendPrice;
|
private double failSendPrice;
|
||||||
private double totSuccSendPrice;
|
private String totSuccSendPrice;
|
||||||
|
|
||||||
private String bookmarkYn = "N";
|
private String bookmarkYn = "N";
|
||||||
|
|
||||||
@ -1634,10 +1634,10 @@ public class MjonMsgVO extends ComDefaultVO{
|
|||||||
public void setFailSendPrice(double failSendPrice) {
|
public void setFailSendPrice(double failSendPrice) {
|
||||||
this.failSendPrice = failSendPrice;
|
this.failSendPrice = failSendPrice;
|
||||||
}
|
}
|
||||||
public double getTotSuccSendPrice() {
|
public String getTotSuccSendPrice() {
|
||||||
return totSuccSendPrice;
|
return totSuccSendPrice;
|
||||||
}
|
}
|
||||||
public void setTotSuccSendPrice(double totSuccSendPrice) {
|
public void setTotSuccSendPrice(String totSuccSendPrice) {
|
||||||
this.totSuccSendPrice = totSuccSendPrice;
|
this.totSuccSendPrice = totSuccSendPrice;
|
||||||
}
|
}
|
||||||
public String getBookmarkYn() {
|
public String getBookmarkYn() {
|
||||||
|
|||||||
@ -2803,11 +2803,11 @@ public class MjonPayController {
|
|||||||
model.addAttribute("paginationInfo", paginationInfo);
|
model.addAttribute("paginationInfo", paginationInfo);
|
||||||
model.addAttribute("payUserSWList", payUserSWList);
|
model.addAttribute("payUserSWList", payUserSWList);
|
||||||
|
|
||||||
if(payUserSWList.size() > 0) {
|
|
||||||
model.addAttribute("totSuccSendPrice", payUserSWList.get(0).getTotSuccSendPrice());
|
|
||||||
}else {
|
String totSuccSendPrice = payUserSWList.get(0).getTotSuccSendPrice();
|
||||||
model.addAttribute("totSuccSendPrice", 0);
|
model.addAttribute("totSuccSendPrice", payUserSWList.size() > 0 ? totSuccSendPrice : 0);
|
||||||
}
|
|
||||||
model.addAttribute("mjonMsgVO", mjonMsgVO);
|
model.addAttribute("mjonMsgVO", mjonMsgVO);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -24,7 +24,9 @@ $(document).ready(function(){
|
|||||||
|
|
||||||
// 사용금액 캐시 노출
|
// 사용금액 캐시 노출
|
||||||
var succPrice = '${totSuccSendPrice}';
|
var succPrice = '${totSuccSendPrice}';
|
||||||
|
console.log('succPrice : ', succPrice);
|
||||||
$('#cashTxtId').text(succPrice.replace(/\B(?=(\d{3})+(?!\d))/g, ','));
|
$('#cashTxtId').text(succPrice.replace(/\B(?=(\d{3})+(?!\d))/g, ','));
|
||||||
|
// $('#cashTxtId').text(succPrice);
|
||||||
|
|
||||||
|
|
||||||
$('#startDate').val('${mjonMsgVO.startDate}');
|
$('#startDate').val('${mjonMsgVO.startDate}');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user