package cn.pluss.platform.level;

import cn.pluss.platform.entity.ExtraLevelBenefit;
import cn.pluss.platform.mapper.ExtraLevelBenefitMapper;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.Serializable;

/**
 * <p>
 * 用户变更下级等级数据表 服务类
 * </p>
 *
 * @author Djh
 * @since 2022-02-08
 */
public interface ExtraLevelBenefitService extends IService<ExtraLevelBenefit> {

    default ExtraLevelBenefit getByUserId(Serializable userId){
        return ((ExtraLevelBenefitMapper)getBaseMapper()).getByUserId(userId);
    }
}
