Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -46,7 +46,7 @@ private final OrganizationMapper organizationMapper; |
46 | 46 | IPage<YtAlarmEntity> page= getPage(pageMap, ModelConstants.CREATED_TIME_PROPERTY,false); |
47 | 47 | List<String> ids =new ArrayList<>(); |
48 | 48 | if(StringUtils.isNotBlank(organizationId)){ |
49 | - Collection filter = Collections.emptyList(); | |
49 | + List<String> filter = new ArrayList<>(); | |
50 | 50 | filter.add(organizationId); |
51 | 51 | List<OrganizationDTO> all =organizationMapper.findOrganizationTreeList(tenantId.getId().toString(),filter); |
52 | 52 | for(OrganizationDTO item:all){ | ... | ... |