Commit bedeb5db authored by yexiong.wang's avatar yexiong.wang

edit

parent c737e98c
...@@ -8,4 +8,14 @@ import java.math.BigDecimal; ...@@ -8,4 +8,14 @@ import java.math.BigDecimal;
public class ApplyBill { public class ApplyBill {
private Long billId; private Long billId;
private BigDecimal amount; private BigDecimal amount;
public boolean equals(ApplyBill applyBill){
if (applyBill == null){
return false;
}
if (applyBill.getBillId() == this.getBillId() || applyBill.getAmount().compareTo(this.getAmount()) == 0){
return true;
}
return false;
}
} }
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