mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 12:39:05 +08:00
🐛 fix bug. 缓存名称不统一 导致删除无法删除
This commit is contained in:
1 parent
d69985b809
commit
8df0e3e4cc
1 file changed
+1
-1
+1
-1
@@ -52,7 +52,7 @@ public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> impl
|
||||
private final SysRoleMenuMapper sysRoleMenuMapper;
|
||||
|
||||
@Override
|
||||
@Cacheable(value = "menu_details#2000", key = "#roleId + '_menu'")
|
||||
@Cacheable(value = "menu_details", key = "#roleId + '_menu'")
|
||||
public List<MenuVO> findMenuByRoleId(Integer roleId) {
|
||||
return baseMapper.listMenusByRoleId(roleId);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user