Commit 52fcaa14 by chamberone

fix: remove useless logs

1 parent 50018a05
...@@ -159,18 +159,8 @@ public class UserService { ...@@ -159,18 +159,8 @@ public class UserService {
return orgs; return orgs;
}).flatMap(a -> a.stream()).collect(Collectors.toList()); }).flatMap(a -> a.stream()).collect(Collectors.toList());
if (CollectionUtils.isNotEmpty(allOrgs)) { if (CollectionUtils.isNotEmpty(allOrgs)) {
log.info("allOrgs2: {}", allOrgs.size()); // 设置第一个为当前权限等级
try { allOrgs.get(0).setIsActive(true);
for (OrganizationDTO organizationDTO : allOrgs) {
log.info("allOrgs31: {}", organizationDTO);
}
log.info("allOrgs3: {}", allOrgs.get(0));
log.info("allOrgs4: {}", allOrgs.get(0).getIsActive());
allOrgs.get(0).setIsActive(true);
} catch (Throwable e) {
e.printStackTrace();
log.error("allOrgs4: {} {}", e.getMessage(), e);
}
} }
userDTO.setAuths(allOrgs); userDTO.setAuths(allOrgs);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!