Skip to content

Commit

Permalink
Optimize the user manage of admin and workspace framework.
Browse files Browse the repository at this point in the history
  • Loading branch information
wushengyeyouya committed Apr 26, 2022
1 parent be3b955 commit e54c2f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void addWorkspaceUser(List<Integer> roleIds, Workspace workspace, String
}
//保存 - 保存用户角色关系 dss_workspace_user_role
for (Integer roleId : roleIds) {
dssWorkspaceUserMapper.setUserRoleInWorkspace((int) workspace.getWorkspaceId(), roleId, userName, creator, userId);
dssWorkspaceUserMapper.setUserRoleInWorkspace((int) workspace.getWorkspaceId(), roleId, userName, creator, userId == null ? null : Long.parseLong(userId));
}
}

Expand Down

0 comments on commit e54c2f9

Please sign in to comment.