feat: contextinfo 添加参建单位类型
add contextInfo set workspace join type
This commit is contained in:
parent
fb4965c198
commit
0c5514889d
@ -266,4 +266,11 @@ public class ContextInfo {
|
||||
this.userInfoMap = userInfoMap;
|
||||
}
|
||||
|
||||
public Integer getWorkspaceJoinType() {
|
||||
return workspaceJoinType;
|
||||
}
|
||||
|
||||
public void setWorkspaceJoinType(Integer workspaceJoinType) {
|
||||
this.workspaceJoinType = workspaceJoinType;
|
||||
}
|
||||
}
|
||||
|
||||
@ -315,6 +315,11 @@ public class ContextInfoBuilderAspect {
|
||||
}catch (Throwable t) {
|
||||
log.warn("fill workspaceType error, user identityId=" + userInfo.getIdentityId());
|
||||
}
|
||||
try {
|
||||
contextInfo.setWorkspaceJoinType(Integer.parseInt(userinfoMap.get("workspaceJoinType").toString()));
|
||||
}catch (Throwable t) {
|
||||
log.warn("fill workspaceJoinType error, user identityId=" + userInfo.getIdentityId());
|
||||
}
|
||||
|
||||
try {
|
||||
fillLegacyGuess(contextInfo, userinfoMap);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user