package cn.besteam.modules.system.service;
|
|
import cn.besteam.common.exception.BusinessException;
|
import cn.besteam.modules.system.entity.SysPermission;
|
import cn.besteam.modules.system.vo.TreeModel;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import java.util.List;
|
|
/**
|
* @Description: 菜单权限
|
* @author: besteam
|
* @date: 2020-04-17
|
* @version: V1.0
|
*/
|
public interface ISysPermissionService extends IService<SysPermission> {
|
|
List<TreeModel> queryListByParentId(Integer Integer);
|
|
/**
|
* 真实删除
|
*/
|
void deletePermission(Integer id) throws BusinessException;
|
|
/**
|
* 逻辑删除
|
*/
|
void deletePermissionLogical(Integer id) throws BusinessException;
|
|
void addPermission(SysPermission sysPermission) throws BusinessException;
|
|
void editPermission(SysPermission sysPermission) throws BusinessException;
|
|
List<SysPermission> queryByUser(String username);
|
|
/**
|
* 查询出带有特殊符号的菜单地址的集合
|
*
|
* @return
|
*/
|
List<String> queryPermissionUrlWithStar();
|
|
}
|