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
wwwanlingxiao
mall
Commits
2457f1d2
Commit
2457f1d2
authored
Dec 04, 2023
by
macro
Browse files
删除用户缓存逻辑修改
parent
684eb7d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/service/impl/UmsAdminServiceImpl.java
View file @
2457f1d2
...
@@ -189,8 +189,8 @@ public class UmsAdminServiceImpl implements UmsAdminService {
...
@@ -189,8 +189,8 @@ public class UmsAdminServiceImpl implements UmsAdminService {
@Override
@Override
public
int
delete
(
Long
id
)
{
public
int
delete
(
Long
id
)
{
getCacheService
().
delAdmin
(
id
);
int
count
=
adminMapper
.
deleteByPrimaryKey
(
id
);
int
count
=
adminMapper
.
deleteByPrimaryKey
(
id
);
getCacheService
().
delAdmin
(
id
);
getCacheService
().
delResourceList
(
id
);
getCacheService
().
delResourceList
(
id
);
return
count
;
return
count
;
}
}
...
...
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