| | |
| | | PlatformWorkVO platformWorkVO = PlatformGroupServiceImpl.getPlatformWorkVO(platform,platformJobList); |
| | | platform.setPlatformWorkVO(platformWorkVO); |
| | | } |
| | | } |
| | | for (PlatformGroup platformGroup:platformGroups) { |
| | | platformGroup.setPlatformList(allPlatformList.stream().filter(m->Constants.equalsInteger(m.getGroupId(),platformGroup.getId())).collect(Collectors.toList())); |
| | | for (PlatformGroup platformGroup:platformGroups) { |
| | | platformGroup.setPlatformList(allPlatformList.stream().filter(m->m.getShowConfig()&&Constants.equalsInteger(m.getGroupId(),platformGroup.getId())).collect(Collectors.toList())); |
| | | } |
| | | }else{ |
| | | for (PlatformGroup platformGroup:platformGroups) { |
| | | platformGroup.setPlatformList(allPlatformList.stream().filter(m->Constants.equalsInteger(m.getGroupId(),platformGroup.getId())).collect(Collectors.toList())); |
| | | } |
| | | } |
| | | return platformGroups; |
| | | } |