Sfoglia il codice sorgente

新运维项目备案接口部署

tags/24080901
PoffyZhang 1 anno fa
parent
commit
2ce5e3aa7e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java Vedi File

@@ -441,7 +441,7 @@ public class ProjectLibManage {
}

private BigDecimal computeAmount(BigDecimal cuurentAmount,List<ProjectRenewalFundDeclaration> prfs) {
BigDecimal res = cuurentAmount;
BigDecimal res = Objects.isNull(cuurentAmount) ? BigDecimal.ZERO : cuurentAmount;
for(ProjectRenewalFundDeclaration prf : prfs){
res = res.add(prf.getAnnualPaymentAmount());
}


Loading…
Annulla
Salva