删除用户缓存逻辑修改
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user