|
|
@@ -648,7 +648,10 @@ public class TodoCenterManage { |
|
|
|
List<ProjectInst> projectInstList = projectInstService.list(Wrappers.lambdaQuery(ProjectInst.class) |
|
|
|
.in(ProjectInst::getProjectId, projectIdList) |
|
|
|
.orderByDesc(ProjectInst::getProjectId)); |
|
|
|
Map<String, Project> projectInfoMap = projectInstList.stream().collect(Collectors.toMap(ProjectInst::getInstCode, p -> projectsMap.get(p.getProjectId()))); |
|
|
|
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<String> instCodes = projectInstList.stream().map(ProjectInst::getInstCode).collect(Collectors.toList()); |
|
|
|
|
|
|
|
// 查出用户工作流 |
|
|
@@ -719,7 +722,10 @@ public class TodoCenterManage { |
|
|
|
List<ProjectInst> projectInstList = projectInstService.list(Wrappers.lambdaQuery(ProjectInst.class) |
|
|
|
.in(ProjectInst::getProjectId, projectIdList) |
|
|
|
.orderByDesc(ProjectInst::getProjectId)); |
|
|
|
projectInfoMap = projectInstList.stream().collect(Collectors.toMap(ProjectInst::getInstCode, p -> projectsMap.get(p.getProjectId()))); |
|
|
|
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<String> instCodes = projectInstList.stream().map(ProjectInst::getInstCode).collect(Collectors.toList()); |
|
|
|
|
|
|
|
// 查出用户工作流 |
|
|
@@ -788,7 +794,10 @@ public class TodoCenterManage { |
|
|
|
List<ProjectInst> projectInstList = projectInstService.list(Wrappers.lambdaQuery(ProjectInst.class) |
|
|
|
.in(ProjectInst::getProjectId, projectIdList) |
|
|
|
.orderByDesc(ProjectInst::getProjectId)); |
|
|
|
Map<String, Project> projectInfoMap = projectInstList.stream().collect(Collectors.toMap(ProjectInst::getInstCode, p -> projectsMap.get(p.getProjectId()))); |
|
|
|
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<String> instCodes = projectInstList.stream().map(ProjectInst::getInstCode).collect(Collectors.toList()); |
|
|
|
|
|
|
|
// 查出用户工作流 |
|
|
@@ -857,7 +866,10 @@ public class TodoCenterManage { |
|
|
|
List<ProjectInst> projectInstList = projectInstService.list(Wrappers.lambdaQuery(ProjectInst.class) |
|
|
|
.in(ProjectInst::getProjectId, projectIdList) |
|
|
|
.orderByDesc(ProjectInst::getProjectId)); |
|
|
|
projectInfoMap = projectInstList.stream().collect(Collectors.toMap(ProjectInst::getInstCode, p -> projectsMap.get(p.getProjectId()))); |
|
|
|
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<String> instCodes = projectInstList.stream().map(ProjectInst::getInstCode).collect(Collectors.toList()); |
|
|
|
|
|
|
|
// 查出用户工作流 |
|
|
@@ -927,7 +939,10 @@ public class TodoCenterManage { |
|
|
|
List<ProjectInst> projectInstList = projectInstService.list(Wrappers.lambdaQuery(ProjectInst.class) |
|
|
|
.in(ProjectInst::getProjectId, projectIdList) |
|
|
|
.orderByDesc(ProjectInst::getProjectId)); |
|
|
|
Map<String, Project> projectInfoMap = projectInstList.stream().collect(Collectors.toMap(ProjectInst::getInstCode, p -> projectsMap.get(p.getProjectId()))); |
|
|
|
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<String> instCodes = projectInstList.stream().map(ProjectInst::getInstCode).collect(Collectors.toList()); |
|
|
|
|
|
|
|
// 查出用户工作流 |
|
|
@@ -997,7 +1012,10 @@ public class TodoCenterManage { |
|
|
|
List<ProjectInst> projectInstList = projectInstService.list(Wrappers.lambdaQuery(ProjectInst.class) |
|
|
|
.in(ProjectInst::getProjectId, projectIdList) |
|
|
|
.orderByDesc(ProjectInst::getProjectId)); |
|
|
|
projectInfoMap = projectInstList.stream().collect(Collectors.toMap(ProjectInst::getInstCode, p -> projectsMap.get(p.getProjectId()))); |
|
|
|
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<String> instCodes = projectInstList.stream().map(ProjectInst::getInstCode).collect(Collectors.toList()); |
|
|
|
|
|
|
|
// 分页查出用户工作流 |
|
|
|