package cn.pluss.platform.mapper;

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

import java.io.Serializable;

/**
 * <p>
 * 用户变更下级等级数据表 Mapper 接口
 * </p>
 *
 * @author Djh
 * @since 2022-02-08
 */
public interface ExtraLevelBenefitMapper extends BaseMapper<ExtraLevelBenefit> {

    @Select("SELECT * FROM tb_pluss_extra_level_benefit WHERE userId = #{userId}")
    ExtraLevelBenefit getByUserId(Serializable userId);
}
