mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-10-26 14:42:59 +08:00
fixed: 修复LDAP同步部门重复写入bug
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user