package com.kcim.dao.mapper;

import com.kcim.dao.model.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kcim.vo.NavVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 菜单管理
 * 
 * @author huangrui
 * @date 2021-08-03 08:56:22
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> getNav(@Param("id") Long id, @Param("hospId") Long hospId);

    List<NavVO> getAllParentNav(@Param("id") Long id, @Param("hospId") Long hospId);
}
