瀏覽代碼

新运维项目备案接口部署

tags/24080901
PoffyZhang 1 年之前
父節點
當前提交
2ce5e3aa7e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 查看文件

@@ -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…
取消
儲存