瀏覽代碼

更新日志信息

tags/v2.4.1
xiaoying 1 年之前
父節點
當前提交
913b3b53e7
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 查看文件

@@ -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);
//符合先删后增逻辑 则直接将原有租户已经对应的关联业务数据清除

Loading…
取消
儲存