ISysPermissionService.java
1.7 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package com.skua.modules.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skua.core.api.vo.TreeData;
import com.skua.core.exception.JeecgBootException;
import com.skua.modules.system.entity.SysPermission;
import com.skua.modules.system.model.TreeModel;
import com.skua.modules.system.vo.SysReportPermissionVO;
import java.util.List;
/**
* 菜单权限表 服务类
*/
public interface ISysPermissionService extends IService<SysPermission> {
public List<TreeModel> queryListByParentId(String parentId);
/**真实删除*/
public void deletePermission(String id) throws JeecgBootException;
/**逻辑删除*/
public void deletePermissionLogical(String id) throws JeecgBootException;
public void addPermission(SysPermission sysPermission) throws JeecgBootException;
public void editPermission(SysPermission sysPermission) throws JeecgBootException;
public List<SysPermission> queryByUser(String username,String orgCode);
/**
* 获取移动端菜单权限树
* @param username
* @return
*/
public List<TreeData> queryAppPermissionTreeByUser(String username);
/**
* 获取移动端菜单权限列表
* @param username
* @return
*/
public List<SysPermission> queryAppByUser(String username);
/**
* 根据permissionId删除其关联的SysPermissionDataRule表中的数据
*
* @param id
* @return
*/
public void deletePermRuleByPermId(String id);
/**
* 查询出带有特殊符号的菜单地址的集合
* @return
*/
public List<String> queryPermissionUrlWithStar();
public List<SysPermission> getlist();
/**
*根据reportShowParentId获取菜单列表
* @param reportShowParentId
* @return
*/
List<SysReportPermissionVO> queryReportsShowTreeList(String reportShowParentId);
}