修改bug#41944
This commit is contained in:
+6
@@ -459,6 +459,9 @@ public class PayIncomeContractController extends JeroController<PayIncomeContrac
|
||||
if(Objects.isNull(p.getPaidAmount())){
|
||||
p.setPaidAmount(new BigDecimal("0.00"));
|
||||
}
|
||||
if(Objects.isNull(p.getReceivableAmount())){
|
||||
p.setReceivableAmount(new BigDecimal("0.00"));
|
||||
}
|
||||
});
|
||||
BigDecimal b = listProject.stream().map(ProjectOutput::getPaidAmount).reduce(BigDecimal.ZERO,BigDecimal::add);
|
||||
payIncomeContractDetailOutput.setAmountReceived(b);
|
||||
@@ -550,6 +553,9 @@ public class PayIncomeContractController extends JeroController<PayIncomeContrac
|
||||
if(Objects.isNull(p.getPaidAmount())){
|
||||
p.setPaidAmount(new BigDecimal("0.00"));
|
||||
}
|
||||
if(Objects.isNull(p.getReceivableAmount())){
|
||||
p.setReceivableAmount(new BigDecimal("0.00"));
|
||||
}
|
||||
});
|
||||
BigDecimal b = listProject.stream().map(ProjectOutput::getPaidAmount).reduce(BigDecimal.ZERO,BigDecimal::add);
|
||||
payIncomeContractDetailOutput.setAmountReceived(b);
|
||||
|
||||
Reference in New Issue
Block a user