Commit 709b84c4 by 杨林龙

优化试驾车辆列表展示

1 parent d93f44f5
...@@ -40,7 +40,7 @@ public class OrganizationApiService { ...@@ -40,7 +40,7 @@ public class OrganizationApiService {
return; return;
} }
List<Long> userIds = list.stream().map(BaseOrgDto::getCreatedBy).collect(Collectors.toList()); Set<Long> userIds = list.stream().map(BaseOrgDto::getCreatedBy).collect(Collectors.toSet());
R<List<Organization>> orgsR = organizationService.getTenantPathsByUserIds(userIds); R<List<Organization>> orgsR = organizationService.getTenantPathsByUserIds(userIds);
List<Organization> orgList = orgsR.getDataList(new TypeToken<List<Organization>>() { List<Organization> orgList = orgsR.getDataList(new TypeToken<List<Organization>>() {
}.getType()); }.getType());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!