|
@@ -262,7 +262,10 @@ public class Invoice implements Serializable {
|
|
|
private BigDecimal productMoney;
|
|
private BigDecimal productMoney;
|
|
|
@TableField(exist = false)
|
|
@TableField(exist = false)
|
|
|
private String payType;
|
|
private String payType;
|
|
|
-
|
|
|
|
|
|
|
+ @TableField(exist = false)
|
|
|
|
|
+ private String productMoneyStr;
|
|
|
|
|
+ @TableField(exist = false)
|
|
|
|
|
+ private String moneyStr;
|
|
|
|
|
|
|
|
public BigDecimal getProductMoney() {
|
|
public BigDecimal getProductMoney() {
|
|
|
if(money != null && productCount != null){
|
|
if(money != null && productCount != null){
|
|
@@ -271,5 +274,17 @@ public class Invoice implements Serializable {
|
|
|
return productMoney;
|
|
return productMoney;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ public String getProductMoneyStr() {
|
|
|
|
|
+ if(productMoney != null){
|
|
|
|
|
+ return "$ " + productMoney;
|
|
|
|
|
+ }
|
|
|
|
|
+ return productMoneyStr;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
+ public String getMoneyStr() {
|
|
|
|
|
+ if(moneyStr != null){
|
|
|
|
|
+ return "$ " + moneyStr;
|
|
|
|
|
+ }
|
|
|
|
|
+ return moneyStr;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|