|
|
|
@@ -16,16 +16,38 @@ public class WxCardSpendMerchantVo { |
|
|
|
private BigDecimal total; |
|
|
|
@Excel(name = "交易总金额(元)", width = 20, orderNum = "3") |
|
|
|
private String totalStr; |
|
|
|
@Excel(name = "总手续费(分)", width = 20, orderNum = "4") |
|
|
|
private BigDecimal fee; |
|
|
|
@Excel(name = "总补贴(分)", width = 20, orderNum = "5") |
|
|
|
@Excel(name = "总手续费(元)", width = 20, orderNum = "4") |
|
|
|
private String feeStr; |
|
|
|
private BigDecimal subsidy; |
|
|
|
@Excel(name = "总补贴(元)", width = 20, orderNum = "5") |
|
|
|
private String subsidyStr; |
|
|
|
|
|
|
|
public void setTotalStr() { |
|
|
|
public String getTotalStr() { |
|
|
|
if (null != total) { |
|
|
|
this.totalStr = total.divide(new BigDecimal(100)).toString(); |
|
|
|
}else { |
|
|
|
this.totalStr = "0"; |
|
|
|
} |
|
|
|
this.totalStr = "0"; |
|
|
|
return this.totalStr; |
|
|
|
} |
|
|
|
|
|
|
|
public String getFeeStr() { |
|
|
|
if (null != fee) { |
|
|
|
this.feeStr = fee.divide(new BigDecimal(100)).toString(); |
|
|
|
}else { |
|
|
|
this.feeStr = "0"; |
|
|
|
} |
|
|
|
return this.feeStr; |
|
|
|
} |
|
|
|
|
|
|
|
public String getSubsidyStr() { |
|
|
|
if (null != subsidy) { |
|
|
|
this.subsidyStr = subsidy.divide(new BigDecimal(100)).toString(); |
|
|
|
}else { |
|
|
|
this.subsidyStr = "0"; |
|
|
|
} |
|
|
|
return this.subsidyStr; |
|
|
|
} |
|
|
|
|
|
|
|
} |