Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 52fcaa14
authored
Jul 14, 2023
by
chamberone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: remove useless logs
1 parent
50018a05
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
11 deletions
project-user/src/main/java/com/dituhui/pea/user/service/UserService.java
project-user/src/main/java/com/dituhui/pea/user/service/UserService.java
View file @
52fcaa1
...
...
@@ -159,18 +159,8 @@ public class UserService {
return
orgs
;
}).
flatMap
(
a
->
a
.
stream
()).
collect
(
Collectors
.
toList
());
if
(
CollectionUtils
.
isNotEmpty
(
allOrgs
))
{
log
.
info
(
"allOrgs2: {}"
,
allOrgs
.
size
());
try
{
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
);
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment