瀏覽代碼

modify:

1. 项目金额列表统计修改;
tags/24082301^0
WendyYang 4 月之前
父節點
當前提交
52c9c02b47
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. +4
    -2
      hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java

+ 4
- 2
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<String> sourceNames = CollUtils.fieldSet(w, ProjectGovSystemReplaceInfos::getSourceSystem);
int sourceCount = CollUtil.count(sourceNames, isValidSystem::test);
Set<String> 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);


Loading…
取消
儲存