Explorar el Código

更新日志信息

tags/v2.4.1
xiaoying hace 1 año
padre
commit
913b3b53e7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 Ver fichero

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

Cargando…
Cancelar
Guardar