Browse Source

更新日志信息

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

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

Loading…
Cancel
Save