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;