fix(工作台): 修复缺陷本地和三方平台统计未合并问题

This commit is contained in:
guoyuqi 2024-11-25 10:53:10 +08:00 committed by Craftsman
parent 4e7a033f68
commit 36f1172097
1 changed files with 6 additions and 2 deletions

View File

@ -1305,9 +1305,13 @@ public class DashboardService {
} }
Set<String>handleUsers = new HashSet<>(); Set<String>handleUsers = new HashSet<>();
String localHandleUser = hasHandleUser ? userId : null; String localHandleUser = hasHandleUser ? userId : null;
if (StringUtils.isNotBlank(localHandleUser)) {
handleUsers.add(localHandleUser); handleUsers.add(localHandleUser);
}
String handleUser = hasHandleUser ? handleUserId : null; String handleUser = hasHandleUser ? handleUserId : null;
if (StringUtils.isNotBlank(handleUser)) {
handleUsers.add(handleUser); handleUsers.add(handleUser);
}
String createUser = hasCreateUser ? userId : null; String createUser = hasCreateUser ? userId : null;
String platformName = projectApplicationService.getPlatformName(projectId); String platformName = projectApplicationService.getPlatformName(projectId);
Set<String> platforms = getPlatforms(platformName); Set<String> platforms = getPlatforms(platformName);