package com.java2nb.system.dao; import com.java2nb.common.annotation.SanitizeMap; import com.java2nb.system.domain.MenuDO; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Mapper; /** * 菜单管理 * @author xiongxy * @email 1179705413@qq.com * @date 2019-10-03 09:45:09 */ @Mapper public interface MenuDao { MenuDO get(Long menuId); List list(@SanitizeMap Map map); int count(Map map); int save(MenuDO menu); int update(MenuDO menu); int remove(Long menuId); int batchRemove(Long[] menuIds); List listMenuByUserId(Long id); List listUserPerms(Long id); }