MenuDao.java 745 Bytes
Newer Older
Fred's avatar
Fred committed
1 2 3
package com.govmade.modules.system.dao;


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

Fred's avatar
Fred committed
8
import org.apache.ibatis.annotations.Mapper;
刘弈臻's avatar
刘弈臻 committed
9 10
import org.apache.ibatis.annotations.Param;

Fred's avatar
Fred committed
11 12 13 14 15 16 17 18 19 20 21 22 23
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.govmade.modules.system.entity.MenuEntity;

/**
 * 系统管理 - 菜单设置
 * 
 * @author Fred
 * @email fangtaosh@qq.com
 * @date 2018年8月9日
 */
@Mapper
public interface MenuDao extends BaseMapper<MenuEntity> {
	
刘弈臻's avatar
刘弈臻 committed
24 25 26 27 28 29 30 31 32 33
	
	/**
	 * 批量删除或删除
	 */
	void deleteBatch(@Param("ids") Set<Long> ids);
	
	/**
	 * 查询树形数据
	 */
	List<MenuEntity> listTree(@Param("params") Map<String, Object> params);
刘弈臻's avatar
刘弈臻 committed
34 35 36 37 38
	
	/**
	 * 查询菜单列表
	 */
	List<MenuEntity> menuList();
Fred's avatar
Fred committed
39
}