|
|
@@ -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; |