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…
x
Reference in New Issue
Block a user