Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Eladmin
Commits
8c7217eb
"eladmin-common/src/vscode:/vscode.git/clone" did not exist on "a8230bbde7ed8dfb3712a2464b384af395b1eaaa"
Commit
8c7217eb
authored
Dec 18, 2019
by
Elune
Browse files
代码优化
parent
7d22178f
Changes
21
Hide whitespace changes
Inline
Side-by-side
eladmin-system/src/main/java/me/zhengjie/modules/system/service/impl/UserServiceImpl.java
View file @
8c7217eb
...
@@ -138,8 +138,10 @@ public class UserServiceImpl implements UserService {
...
@@ -138,8 +138,10 @@ public class UserServiceImpl implements UserService {
@Override
@Override
@CacheEvict
(
allEntries
=
true
)
@CacheEvict
(
allEntries
=
true
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
delete
(
Long
id
)
{
public
void
delete
(
Set
<
Long
>
ids
)
{
userRepository
.
deleteById
(
id
);
for
(
Long
id
:
ids
)
{
userRepository
.
deleteById
(
id
);
}
}
}
@Override
@Override
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment