调整 username 同步逻辑
This commit is contained in:
@@ -782,14 +782,11 @@ public class IWorkSyncProcessorImpl implements IWorkSyncProcessor {
|
|||||||
if (user == null) {
|
if (user == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
String workcode = resolveWorkcode(user);
|
|
||||||
if (StrUtil.isNotBlank(workcode)) {
|
|
||||||
return workcode;
|
|
||||||
}
|
|
||||||
if (StrUtil.isNotBlank(user.getLoginid())) {
|
if (StrUtil.isNotBlank(user.getLoginid())) {
|
||||||
return user.getLoginid().trim();
|
return user.getLoginid().trim();
|
||||||
}
|
}
|
||||||
return null;
|
String workcode = resolveWorkcode(user);
|
||||||
|
return StrUtil.isNotBlank(workcode) ? workcode : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user