From d04db8761a128899ccb47f9d76f06da30e1c395e Mon Sep 17 00:00:00 2001 From: PoffyZhang <99775271@qq.com> Date: Wed, 8 Nov 2023 17:11:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E5=AE=A1=E6=B8=85=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ningdatech/pmapi/projectdeclared/manage/ReviewChecklistManage.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ReviewChecklistManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ReviewChecklistManage.java index 81b5574..0c68178 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ReviewChecklistManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ReviewChecklistManage.java @@ -138,7 +138,9 @@ public class ReviewChecklistManage { Integer maxNums = reviewHumans.size(); final Integer[] finishNums = {DeclaredProjectContant.ReviewChecklist.INIT_NUM}; Set computeHumanSet = reviewHumans.stream().collect(Collectors.toSet()); + if(CollUtil.isEmpty(reviewChecklistApproves)){ + item.setReviewCheckNotApprove(convertUser(userMap,computeHumanSet)); return finishNums[0] + StrPool.SLASH + maxNums; } reviewChecklistApproves.forEach(r -> { @@ -149,7 +151,6 @@ public class ReviewChecklistManage { computeHumanSet.remove(r.getCreateByCode()); } }); - item.setReviewCheckNotApprove(convertUser(userMap,computeHumanSet)); return finishNums[0] + StrPool.SLASH + maxNums;