Commit 18c0fe35 by liyanlin

修改默认值

parent a9fe0247
...@@ -119,8 +119,8 @@ public class CustomerBalance implements Serializable { ...@@ -119,8 +119,8 @@ public class CustomerBalance implements Serializable {
public void setDiscount(BigDecimal discountRate){ public void setDiscount(BigDecimal discountRate){
this.discountRate = discountRate; this.discountRate = discountRate;
this.currentDiscount = discountRate.multiply(new BigDecimal("10")); this.currentDiscount = discountRate.multiply(new BigDecimal("10"));
this.serveDacp = false; this.serveDacp = true;
this.productDacp = false; this.productDacp = true;
} }
public static CustomerBalance getInstance(Integer customerId, Integer brandId) { public static CustomerBalance getInstance(Integer customerId, Integer brandId) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment