瀏覽代碼

实施管理

tags/24080901
PoffyZhang 1 年之前
父節點
當前提交
4718d441cd
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java

+ 2
- 0
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java 查看文件

@@ -1709,6 +1709,8 @@ public class TodoCenterManage {

Map<Long, Project> projectsMap = projects.stream().collect(Collectors.toMap(Project::getId, v -> v));
Map<String, Project> projectInfoMap = projectInstList.stream()
.filter(p -> StringUtils.isNotBlank(p.getInstCode()) &&
!TodoCenterConstant.Declared.NULL_INST_CODE.equals(p.getInstCode()))
.collect(Collectors.toMap(ProjectInst::getInstCode, p -> projectsMap.get(p.getProjectId())));
// 关联项目信息
List<Project> projectList = list.stream()


Loading…
取消
儲存