refactor(工作台): 首页卡片显示按照顺序返回

This commit is contained in:
guoyuqi 2024-11-18 10:34:01 +08:00 committed by 刘瑞斌
parent d085e4390c
commit 5b89ef0826
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ public class DashboardService {
Map<String, Set<String>> permissionModuleProjectIdMap = dashboardProjectService.getPermissionModuleProjectIds(allPermissionProjects, userId);
List<ProjectUserMemberDTO> orgProjectMemberList = extProjectMemberMapper.getOrgProjectMemberList(organizationId, null);
rebuildLayouts(layoutDTOS, allPermissionProjects, orgProjectMemberList, permissionModuleProjectIdMap);
return layoutDTOS;
return layoutDTOS.stream().sorted(Comparator.comparing(LayoutDTO::getPos)).collect(Collectors.toList());
}
/**