Bläddra i källkod

Merge remote-tracking branch 'origin/dev' into dev

tags/24090101
WendyYang 2 månader sedan
förälder
incheckning
7fa49f36c7
1 ändrade filer med 5 tillägg och 0 borttagningar
  1. +5
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java

+ 5
- 0
hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java Visa fil

@@ -818,6 +818,11 @@ public class WorkbenchManage {
}

List<ProjectEarlyWarning> records = projectEarlyWarningService.list(queryWrapper);
if (Objects.nonNull(req.getUnitId())){
List<Long> viewUnitIds = mhUnitCache.getViewChildIdsRecursion(req.getUnitId());
List<String> queryMhUnitIdList = CollUtils.convert(viewUnitIds, String::valueOf);
records = records.stream().filter(record -> queryMhUnitIdList.contains(record.getBuildOrgCode())).collect(Collectors.toList());
}
if (CollUtil.isNotEmpty(records)) {
List<String> projectCodes = CollUtils.fieldList(records, ProjectEarlyWarning::getProjectCode);



Laddar…
Avbryt
Spara