Browse Source

[fix]销售管理:

客户报价
修改   下面的字段的数据库和实体类的数据类型由Double->Decimal,防止数据精确度丢失
`rmbTax`  '国内汇率',
  `usdTax` '美元汇率',
  `noRmbSum` '不含税总价(RMB)',
  `rmb` '含税单价(RMB)',
  `noRmb`  '不含税单价(RMB)',
  `rmbSum`  '含税总价(RMB)',
  `noUsd` '不含税单价(美元)',
  `noUsdSum` '不含税总价(美元)',
  `usd`  '含税单价(美元)',
  `usdSum`  '含税总价(美元)',
dev
liuxiaoxu 5 months ago
parent
commit
01294b477b
  1. 77
      ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysCustomerQuote.java

77
ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysCustomerQuote.java

@ -8,6 +8,7 @@ import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.apache.poi.hpsf.Decimal;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
@ -54,35 +55,35 @@ public class SysCustomerQuote extends BaseEntity
private String confirmFax;
/** 国内汇率 */
@Excel(name = "国内汇率")
private Double rmbTax;
private BigDecimal rmbTax;
/** 美元汇率 */
@Excel(name = "美元汇率")
private Double usdTax;
private BigDecimal usdTax;
/** 不含税总价(RMB) */
@Excel(name = "不含税总价(RMB)")
private Double noRmbSum;
private BigDecimal noRmbSum;
@Excel(name = "不含税单价(RMB)")
private Double noRmb;
private BigDecimal noRmb;
@Excel(name = "含税单价(RMB)")
private Double rmb;
private BigDecimal rmb;
/** 含税总价(RMB) */
@Excel(name = "含税总价(RMB)")
private Double rmbSum;
private BigDecimal rmbSum;
/** 不含税单价(美元) */
@Excel(name = "不含税单价(美元)")
private Double noUsd;
private BigDecimal noUsd;
/** 不含税总价(美元) */
@Excel(name = "不含税总价(美元)")
private Double noUsdSum;
private BigDecimal noUsdSum;
/** 含税总价(美元) */
@Excel(name = "含税单价(美元)")
private Double usd;
private BigDecimal usd;
/** 含税总价(美元) */
@Excel(name = "含税总价(美元)")
private Double usdSum;
private BigDecimal usdSum;
private String businessMembers;
@Excel(name = "审核标志: 0未审核 1审核成功 2审核拒绝")
@ -200,91 +201,91 @@ public class SysCustomerQuote extends BaseEntity
this.commonCurrency = commonCurrency;
}
public Double getRmbTax() {
return rmbTax;
public void setEnterpriseSum(Double enterpriseSum) {
this.enterpriseSum = enterpriseSum;
}
public void setRmbTax(Double rmbTax) {
this.rmbTax = rmbTax;
public Double getEnterpriseSum() {
return enterpriseSum;
}
public Double getUsdTax() {
return usdTax;
public BigDecimal getRmbTax() {
return rmbTax;
}
public void setUsdTax(Double usdTax) {
this.usdTax = usdTax;
public void setRmbTax(BigDecimal rmbTax) {
this.rmbTax = rmbTax;
}
public void setEnterpriseSum(Double enterpriseSum) {
this.enterpriseSum = enterpriseSum;
public BigDecimal getUsdTax() {
return usdTax;
}
public Double getEnterpriseSum() {
return enterpriseSum;
public void setUsdTax(BigDecimal usdTax) {
this.usdTax = usdTax;
}
public Double getNoRmbSum() {
public BigDecimal getNoRmbSum() {
return noRmbSum;
}
public void setNoRmbSum(Double noRmbSum) {
public void setNoRmbSum(BigDecimal noRmbSum) {
this.noRmbSum = noRmbSum;
}
public Double getNoRmb() {
public BigDecimal getNoRmb() {
return noRmb;
}
public void setNoRmb(Double noRmb) {
public void setNoRmb(BigDecimal noRmb) {
this.noRmb = noRmb;
}
public Double getRmb() {
public BigDecimal getRmb() {
return rmb;
}
public void setRmb(Double rmb) {
public void setRmb(BigDecimal rmb) {
this.rmb = rmb;
}
public Double getRmbSum() {
public BigDecimal getRmbSum() {
return rmbSum;
}
public void setRmbSum(Double rmbSum) {
public void setRmbSum(BigDecimal rmbSum) {
this.rmbSum = rmbSum;
}
public Double getNoUsd() {
public BigDecimal getNoUsd() {
return noUsd;
}
public void setNoUsd(Double noUsd) {
public void setNoUsd(BigDecimal noUsd) {
this.noUsd = noUsd;
}
public Double getNoUsdSum() {
public BigDecimal getNoUsdSum() {
return noUsdSum;
}
public void setNoUsdSum(Double noUsdSum) {
public void setNoUsdSum(BigDecimal noUsdSum) {
this.noUsdSum = noUsdSum;
}
public Double getUsd() {
public BigDecimal getUsd() {
return usd;
}
public void setUsd(Double usd) {
public void setUsd(BigDecimal usd) {
this.usd = usd;
}
public Double getUsdSum() {
public BigDecimal getUsdSum() {
return usdSum;
}
public void setUsdSum(Double usdSum) {
public void setUsdSum(BigDecimal usdSum) {
this.usdSum = usdSum;
}

Loading…
Cancel
Save