From 7a17414013d7f4aa830f62d62afd58ee6c5e1168 Mon Sep 17 00:00:00 2001 From: PoffyZhang <99775271@qq.com> Date: Fri, 30 Jun 2023 15:28:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=AE=A1=E4=BA=BA=E5=91=98=20?= =?UTF-8?q?=E5=92=8C=20=E8=87=AA=E5=8A=A8=E4=B8=8B=E4=B8=80=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)