mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-19 19:50:06 +08:00
!557 修改创建菜单时permission为空,缓存KEY 为空的BUG
Merge pull request !557 from 杜继强/master
This commit is contained in:
commit
815755fa3a
@ -45,7 +45,7 @@ public class MenuServiceImpl implements MenuService {
|
|||||||
private TenantService tenantService;
|
private TenantService tenantService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@CacheEvict(value = RedisKeyConstants.PERMISSION_MENU_ID_LIST, key = "#reqVO.permission")
|
@CacheEvict(value = RedisKeyConstants.PERMISSION_MENU_ID_LIST, condition = "#reqVO.permission != null", key = "#reqVO.permission")
|
||||||
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