diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java index cc6dce2..4195690 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java @@ -551,7 +551,8 @@ public class ProjectLibManage { List payments = paymentPlanService.list(Wrappers.lambdaQuery(PaymentPlan.class) .in(PaymentPlan::getProjectId, allVersionProjectId) .orderByAsc(PaymentPlan::getPaymentTime)); - contractVO.setPayments(convertPayments(payments,contractVO.getTotalAmount())); + contractVO.setPayments(convertPayments(payments, + Objects.nonNull(contractVO.getTotalAmount()) ? contractVO.getTotalAmount(): BigDecimal.ZERO)); //查询初验信息 List acceptancePersons = acceptancePersonService.list(Wrappers.lambdaQuery(PreInsAcceptancePerson.class)