feat:(feature/REQ-2750) 角色树增加角色的所属单位,项目

This commit is contained in:
lilong 2024-09-12 16:29:03 +08:00
parent 1c2c1a1c86
commit 40773db347
2 changed files with 9 additions and 0 deletions

View File

@ -15,10 +15,17 @@ import java.util.Set;
@AllArgsConstructor
public class TreeRoleReq {
/**
* 跟workspaceType一样的效果以前不知道saasRole上的workspaceType跟其他的workspaceTypeCode是否是一个值
*/
private String workspaceTypeCode;
private Boolean needRole;
/**
* 请使用workspaceTypeCode已经不再使用
*/
@Deprecated
private Integer workspaceType;
/**

View File

@ -473,6 +473,8 @@ public class SaasRoleController implements TyrSaasRoleApi {
.idStr(role.getId() + ":" + ROLE_TYPE)
.isDisplay(role.getIsDisplay())
.code(role.getRoleCode())
.workspaceId(role.getWorkspaceId())
.ouId(role.getOwnerOuId())
.build();
}