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<>();
String localHandleUser = hasHandleUser ? userId : null;
handleUsers.add(localHandleUser);
if (StringUtils.isNotBlank(localHandleUser)) {
handleUsers.add(localHandleUser);
}
String handleUser = hasHandleUser ? handleUserId : null;
handleUsers.add(handleUser);
if (StringUtils.isNotBlank(handleUser)) {
handleUsers.add(handleUser);
}
String createUser = hasCreateUser ? userId : null;
String platformName = projectApplicationService.getPlatformName(projectId);
Set<String> platforms = getPlatforms(platformName);