package com.diagbot.mapper;

import com.diagbot.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gaodm
 * @since 2018-08-22
 */
public interface PermissionMapper extends BaseMapper<Permission> {
    List<Permission> getByUserId(Long userId);
}
