diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java b/hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java index 4d7d76c..66d1f63 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java @@ -279,8 +279,10 @@ public class WorkbenchManage { Collectors.collectingAndThen(Collectors.toList(), w -> { Set sourceNames = CollUtils.fieldSet(w, ProjectGovSystemReplaceInfos::getSourceSystem); + int sourceCount = CollUtil.count(sourceNames, isValidSystem::test); Set targetNames = CollUtils.fieldSet(w, ProjectGovSystemReplaceInfos::getTargetSystem); - return Pair.create(sourceNames.size(), targetNames.size()); + int targetCount = CollUtil.count(targetNames, isValidSystem::test); + return Pair.create(sourceCount, targetCount); }))).values(); int totalTargetCount = 0; int totalSourceCount = 0; @@ -528,7 +530,7 @@ public class WorkbenchManage { .le(req.getReviewAmountMax() != null, Project::getReviewAmount, req.getReviewAmountMax()) // 下达金额 .ge(req.getApproveAmountMin() != null, Project::getApprovalAmount, req.getApproveAmountMin()) - .ge(req.getApproveAmountMax() != null, Project::getApprovalAmount, req.getApproveAmountMax()) + .le(req.getApproveAmountMax() != null, Project::getApprovalAmount, req.getApproveAmountMax()) .eq(req.getUnitStrip() != null, Project::getUnitStrip, req.getUnitStrip()) .eq(Project::getNewest, Boolean.TRUE) .orderByDesc(Project::getUpdateOn);