mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-22 03:06:38 +08:00
update 优化 角色删除清理缓存
This commit is contained in:
parent
b4678b74ab
commit
63d22b9b33
@ -391,6 +391,7 @@ public class SysRoleServiceImpl implements ISysRoleService {
|
||||
* @param roleId 角色ID
|
||||
* @return 结果
|
||||
*/
|
||||
@CacheEvict(cacheNames = CacheNames.SYS_ROLE_CUSTOM, key = "#roleId")
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public int deleteRoleById(Long roleId) {
|
||||
|
Loading…
Reference in New Issue
Block a user