parent
24edef10ec
commit
059974d8d5
2 changed files with 4 additions and 4 deletions
|
|
@ -95,7 +95,7 @@ public class AdvanceMeasurement extends BaseEntity {
|
|||
|
||||
@NotNull(message = "value not specified")
|
||||
public BigDecimal getValue() {
|
||||
return this.value;
|
||||
return value != null ? value : BigDecimal.ZERO;
|
||||
}
|
||||
|
||||
public void setAdvanceAssignment(AdvanceAssignment advanceAssignment) {
|
||||
|
|
|
|||
|
|
@ -538,9 +538,9 @@ public class OrderLineGroup extends OrderElement implements
|
|||
next2 = null;
|
||||
}
|
||||
|
||||
BigDecimal previous1 = new BigDecimal(0);
|
||||
BigDecimal previous2 = new BigDecimal(0);
|
||||
BigDecimal previousResult = new BigDecimal(0);
|
||||
BigDecimal previous1 = BigDecimal.ZERO;
|
||||
BigDecimal previous2 = BigDecimal.ZERO;
|
||||
BigDecimal previousResult = BigDecimal.ZERO;
|
||||
|
||||
LocalDate date;
|
||||
BigDecimal add;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue