1 Commits

Author SHA1 Message Date
xxx
ff9e212366 fixed: 修复LDAP同步部门重复写入bug 2023-11-20 10:43:59 +08:00

View File

@@ -136,6 +136,12 @@ public class LDAPBus {
}
// 写入本地缓存
depIdKeyByName.put(fullName, depId);
// 写入本地缓存
LdapDepartment storedLdapDepartment = new LdapDepartment();
storedLdapDepartment.setUuid(uuid);
storedLdapDepartment.setDn(dn);
storedLdapDepartment.setDepartmentId(depId);
ldapDepartments.put(uuid, storedLdapDepartment);
}
}