mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-02-01 19:24:57 +08:00
!557 修改创建菜单时permission为空,缓存KEY 为空的BUG
This commit is contained in:
parent
b53bfb0976
commit
b5515799dc
@ -45,7 +45,8 @@ public class MenuServiceImpl implements MenuService {
|
|||||||
private TenantService tenantService;
|
private TenantService tenantService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@CacheEvict(value = RedisKeyConstants.PERMISSION_MENU_ID_LIST, condition = "#reqVO.permission != null", key = "#reqVO.permission")
|
@CacheEvict(value = RedisKeyConstants.PERMISSION_MENU_ID_LIST, key = "#reqVO.permission",
|
||||||
|
condition = "#reqVO.permission != null")
|
||||||
public Long createMenu(MenuCreateReqVO reqVO) {
|
public Long createMenu(MenuCreateReqVO reqVO) {
|
||||||
// 校验父菜单存在
|
// 校验父菜单存在
|
||||||
validateParentMenu(reqVO.getParentId(), null);
|
validateParentMenu(reqVO.getParentId(), null);
|
||||||
|
Loading…
Reference in New Issue
Block a user