|
|
@@ -585,7 +585,7 @@ public class TenantServiceImpl implements TenantService { |
|
|
|
deleteClientRoleDtoList = clientRoleDtoList.stream().filter(t -> !list.contains(t)).collect(Collectors.toList()); |
|
|
|
log.info("删除集合:{}",deleteClientRoleDtoList.toString()); |
|
|
|
//新增 |
|
|
|
insertClientRoleDtoList = list.stream().filter(t -> !deleteClientRoleDtoList.contains(t)).collect(Collectors.toList()); |
|
|
|
insertClientRoleDtoList = list.stream().filter(t -> !deleteList.contains(t)).collect(Collectors.toList()); |
|
|
|
log.info("新增集合:{}",deleteClientRoleDtoList.toString()); |
|
|
|
clientTenantDto.setClientRoleDtoList(deleteClientRoleDtoList); |
|
|
|
//符合先删后增逻辑 则直接将原有租户已经对应的关联业务数据清除 |