MenuService.java 832 Bytes
Newer Older
Fred's avatar
Fred committed
1 2 3
package com.govmade.modules.system.service;


刘弈臻's avatar
刘弈臻 committed
4
import java.util.List;
Fred's avatar
Fred committed
5
import java.util.Map;
刘弈臻's avatar
刘弈臻 committed
6
import java.util.Set;
Fred's avatar
Fred committed
7

Fred's avatar
Fred committed
8
import com.baomidou.mybatisplus.extension.service.IService;
刘弈臻's avatar
刘弈臻 committed
9
import com.govmade.common.utils.PageTreeUtils;
Fred's avatar
Fred committed
10 11 12 13 14 15 16 17 18 19 20
import com.govmade.modules.system.entity.MenuEntity;

/**
 * 系统管理 - 菜单设置
 * 
 * @author Fred
 * @email fangtaosh@qq.com
 * @date 2018年8月3日
 */
public interface MenuService extends IService<MenuEntity> {

刘弈臻's avatar
刘弈臻 committed
21 22 23
	/**
	 * 菜单树形结构
	 */
刘弈臻's avatar
刘弈臻 committed
24
	PageTreeUtils queryPage(Map<String, Object> params);
Fred's avatar
Fred committed
25 26 27 28 29 30 31 32 33 34 35 36
	
	/**
	 * 保存或修改菜单
	 */
	void save(MenuEntity menu);
	
	/**
	 * 检测是否重名
	 */
	Integer checkMenu(String name);
	
	MenuEntity queryById(Long id);
刘弈臻's avatar
刘弈臻 committed
37 38 39 40 41
	
	/**
	 * 删除菜单
	 */
	void deleteBatch(Set<Long> ids);
刘弈臻's avatar
刘弈臻 committed
42 43 44 45 46
	
	/**
	 * 菜单列表
	 */
	List<MenuEntity> queryMenuList();
Fred's avatar
Fred committed
47
}