Browse Source

更新

tags/v2.5.2
xiaoying 1 year ago
parent
commit
b4acb2fd55
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      tuoheng_oidc_admin/src/main/java/com/tuoheng/service/impl/TenantServiceImpl.java

+ 2
- 0
tuoheng_oidc_admin/src/main/java/com/tuoheng/service/impl/TenantServiceImpl.java View File

} }


log.info("现有集合:{}", list.toString()); log.info("现有集合:{}", list.toString());
list.forEach(t->t.setServiceId(null));
//现有集合 //现有集合
List<ClientRoleDto> clientRoleDtos = getClientRoleDtos(list); List<ClientRoleDto> clientRoleDtos = getClientRoleDtos(list);
//租户对应的业务平台相关信息 //租户对应的业务平台相关信息
if (ObjectUtil.isNotNull(tenantEmploy)) { if (ObjectUtil.isNotNull(tenantEmploy)) {
clientRoleDto.setServiceId(tenantEmploy.getServiceId()); clientRoleDto.setServiceId(tenantEmploy.getServiceId());
} }
clientRoleDto.setServiceId(null);
//此处 暂时格式都为 tuoheng-hhz-web 等格式 如后续维护需要变更形式则此处代码需要更改 //此处 暂时格式都为 tuoheng-hhz-web 等格式 如后续维护需要变更形式则此处代码需要更改
clientRoleDto.setRoleId(clientUserRolePo.getRoleId()); clientRoleDto.setRoleId(clientUserRolePo.getRoleId());
clientRoleDto.setRoleName(clientUserRolePo.getRoleName()); clientRoleDto.setRoleName(clientUserRolePo.getRoleName());

Loading…
Cancel
Save