mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-06-06 09:14:03 +08:00
fixed: 修复LDAP同步部门重复写入bug
This commit is contained in:
parent
c3b3e06a07
commit
ff9e212366
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user