Commit fb2f93d0 by guojuxing

新增权限项接口修改:类型是权限项类型

parent c242388e
......@@ -223,6 +223,7 @@ public class MenuApiServiceImpl implements MenuApiService {
MenuDTO menuDTO = new MenuDTO();
menuDTO.setMenuName(params.getMenuName());
menuDTO.setParentId(params.getParentId());
menuDTO.setMenuType(MenuTypeEnum.ROLE.getCode());
setNormalFieldValue(menuDTO, record);
int menuId = menuService.savePage(menuDTO);
......@@ -276,6 +277,7 @@ public class MenuApiServiceImpl implements MenuApiService {
MenuDTO menuDTO = new MenuDTO();
menuDTO.setMenuName(params.getMenuName());
menuDTO.setMenuId(params.getMenuId());
menuDTO.setMenuType(MenuTypeEnum.ROLE.getCode());
setNormalFieldValue(menuDTO, record);
menuService.updatePage(menuDTO);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment