小组成员接口返回数据调整
This commit is contained in:
parent
5dc8201a19
commit
393b53b065
Binary file not shown.
@ -26,6 +26,8 @@ public class CooperationManageListTeamMemberDto {
|
||||
private int roleType;
|
||||
private List<Integer> roleTypes = new ArrayList<>();
|
||||
private List<String> roleIds = new ArrayList<>();
|
||||
private boolean isOlderVersion;
|
||||
private boolean hasUserPerm;
|
||||
|
||||
public CooperationManageListTeamMemberDto() {
|
||||
}
|
||||
@ -143,4 +145,20 @@ public class CooperationManageListTeamMemberDto {
|
||||
public void setRoleIds(List<String> roleIds) {
|
||||
this.roleIds = roleIds;
|
||||
}
|
||||
|
||||
public boolean getIsOlderVersion() {
|
||||
return isOlderVersion;
|
||||
}
|
||||
|
||||
public void setIsOlderVersion(boolean olderVersion) {
|
||||
isOlderVersion = olderVersion;
|
||||
}
|
||||
|
||||
public boolean getHasUserPerm() {
|
||||
return hasUserPerm;
|
||||
}
|
||||
|
||||
public void setHasUserPerm(boolean hasUserPerm) {
|
||||
this.hasUserPerm = hasUserPerm;
|
||||
}
|
||||
}
|
||||
|
||||
@ -660,6 +660,8 @@ public class CooperationWeb extends ActionWeb {
|
||||
}
|
||||
dto.addRoleName(role.getRoleName());
|
||||
dto.getRoleTypes().add(role.getRoleType());
|
||||
dto.setIsOlderVersion(SDK.getAppAPI().getPropertyBooleanValue("com.actionsoft.apps.coe.pal", "IsOlderVersion", true));
|
||||
dto.setHasUserPerm(new CoeCooperationRoleDao().getCooperationHideRoleByRoleName(teamId,member.getUserId()) != null);
|
||||
userMap.put(user.getUID(),dto);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user