method缓存获取小组用户权限数据方法修改
This commit is contained in:
parent
60e400e8cc
commit
74ff2c8222
Binary file not shown.
@ -141,7 +141,8 @@ public class PALMethodCache {
|
||||
List<String> methodList = PALMethodCache.getPALMethodList(sort);
|
||||
if (UtilString.isNotEmpty(teamId)) {
|
||||
List<String> permMethodList = new ArrayList<>();
|
||||
List<String> versionIds = CoeCooperationAPIManager.getInstance().queryCooperationRoleDataPermByTeamUser(teamId, userId);
|
||||
// List<String> versionIds = CoeCooperationAPIManager.getInstance().queryCooperationRoleDataPermByTeamUser(teamId, userId);
|
||||
Set<String> versionIds = CooperationCache.getUserDataVisitablePermission(teamId, userId, false);
|
||||
for (String verId : versionIds) {
|
||||
List<PALRepositoryModel> verModels = PALRepositoryCache.getByVersionId(verId);
|
||||
if (verModels != null && verModels.size() > 0 && !permMethodList.contains(verModels.get(0).getMethodCategory())) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user