Commit fe15bba2 by huluobin

update

parent 1af5420a
...@@ -266,5 +266,7 @@ public class OrderServe implements Serializable { ...@@ -266,5 +266,7 @@ public class OrderServe implements Serializable {
this.achievement = this.achievement.subtract(timesCardUsedRecord.getDiscountAmount()).add(timesCardUsedRecord.getPayAmount()); this.achievement = this.achievement.subtract(timesCardUsedRecord.getDiscountAmount()).add(timesCardUsedRecord.getPayAmount());
} }
public void setAchievement(BigDecimal achievement) {
this.achievement = achievement.max(BigDecimal.ZERO);
}
} }
\ No newline at end of file
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