Browse Source

更新日志

tags/v2.4.1
xiaoying 1 year ago
parent
commit
4afe06576c
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

@@ -560,6 +560,7 @@ public class TenantServiceImpl implements TenantService {
}
//现有list
List<ClientRoleDto> list = dto.getClientRoleDtoList();
log.info("现有集合:{}", list.toString());
//现有集合
List<ClientRoleDto> clientRoleDtos = getClientRoleDtos(list);
//租户对应的业务平台相关信息
@@ -580,6 +581,7 @@ public class TenantServiceImpl implements TenantService {
//原有集合
clientRoleDtoList = clientRoleDtoList.stream().distinct().collect(Collectors.toList());
List<ClientRoleDto> deleteList = clientRoleDtoList;
log.info("原有集合:{}", clientRoleDtoList.toString());
//现有对比 拿出不需要的数据进行删除
List<ClientRoleDto> deleteClientRoleDtoList;
List<ClientRoleDto> insertClientRoleDtoList;

Loading…
Cancel
Save