package com.huimv.admin.system.mapper;

import com.huimv.admin.system.entity.AppSysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huimv.admin.system.entity.Menu;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author astupidcoder
 * @since 2022-03-25
 */
@Repository
public interface AppMenuMapper extends BaseMapper<AppSysMenu> {

    List<AppSysMenu> getMyMenuApp(@Param("accountName") String accountName);

    List<String> getMyButton(@Param("userId") Integer userId);
}
