Browse Source

更新逻辑

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

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

@@ -583,7 +583,6 @@ public class TenantServiceImpl implements TenantService {
}

log.info("现有集合:{}", list.toString());
list.forEach(t->t.setServiceId(null));
//现有集合
List<ClientRoleDto> clientRoleDtos = getClientRoleDtos(list);
//租户对应的业务平台相关信息
@@ -609,6 +608,7 @@ public class TenantServiceImpl implements TenantService {
clientRoleDtoList.add(clientRoleDto);
}
//原有集合
list.forEach(t->t.setServiceId(null));
clientRoleDtoList = clientRoleDtoList.stream().distinct().collect(Collectors.toList());
List<ClientRoleDto> deleteList = clientRoleDtoList;
log.info("原有集合:{}", clientRoleDtoList.toString());

Loading…
Cancel
Save