[测评系统]--测评系统核心代码库
吴祝攀
2024-02-29 97a1c1235038d6f72c5f0873a92e99a038c2cd61
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
32
33
34
35
36
37
38
39
package com.ots.project.system.menu.service;
import com.ots.framework.web.domain.Ztree;
import com.ots.project.system.menu.domain.Menu;
import com.ots.project.system.role.domain.Role;
import com.ots.project.system.user.domain.User;
import java.util.List;
import java.util.Map;
import java.util.Set;
 
public interface IMenuService {
    
    public List<Menu> selectMenusByUser(User user);
    
    public List<Menu> selectMenuList(Menu menu);
    
    public List<Menu> selectMenuAll();
    
    public Set<String> selectPermsByUserId(Long userId);
    
    public List<Ztree> roleMenuTreeData(Role role);
    
    public List<Ztree> menuTreeData();
    
    public Map<String, String> selectPermsAll();
    
    public int deleteMenuById(Long menuId);
    
    public Menu selectMenuById(Long menuId);
    
    public int selectCountMenuByParentId(Long parentId);
    
    public int selectCountRoleMenuByMenuId(Long menuId);
    
    public int insertMenu(Menu menu);
    
    public int updateMenu(Menu menu);
    
    public String checkMenuNameUnique(Menu menu);
}