package cn.pluss.platform.mapper;

import cn.pluss.platform.entity.AppMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * app页面菜单 Mapper 接口
 * </p>
 *
 * @author Djh
 * @since 2020-09-27
 */
public interface AppMenuMapper extends BaseMapper<AppMenu> {

    List<AppMenu> getByNavCodeAll(@Param("navCode") String navCode,@Param("userType") String userType);

    List<AppMenu> getByNavCode(@Param("navCode") String navCode,@Param("userType") String userType);

    List<AppMenu> getByNavCode(@Param("navCode") String navCode,@Param("userType") String userType, @Param("clientType") int clientType);
}
