1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
| package org.jeecg.modules.dnc.service;
|
| import com.baomidou.mybatisplus.extension.service.IService;
| import org.jeecg.modules.dnc.entity.MenuButton;
|
| import java.util.List;
| import java.util.Map;
|
| public interface IMenuButtonService extends IService<MenuButton> {
|
| /**
| * 根据菜单id删除信息
| * @param menuId
| * @return
| */
| boolean deleteByMenuId(String menuId);
|
| /**
| * 获取菜单分配的按钮列表
| * @param menuId
| * @return
| */
| Map<String, MenuButton> getMapByMenuId(String menuId);
|
| /**
| * 获取按钮关联的菜单数据
| * @param buttonId
| * @return
| */
| List<MenuButton> findByButtonId(String buttonId);
| }
|
|