Merge branch 'dev' into test

This commit is contained in:
chenbowen
2026-01-16 12:51:36 +08:00

View File

@@ -782,14 +782,11 @@ public class IWorkSyncProcessorImpl implements IWorkSyncProcessor {
if (user == null) {
return null;
}
String workcode = resolveWorkcode(user);
if (StrUtil.isNotBlank(workcode)) {
return workcode;
}
if (StrUtil.isNotBlank(user.getLoginid())) {
return user.getLoginid().trim();
}
return null;
String workcode = resolveWorkcode(user);
return StrUtil.isNotBlank(workcode) ? workcode : null;
}
/**