/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.user.comment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.bean.model.UserExtension;
import com.yami.shop.user.comment.dto.UserLevelDto;
import com.yami.shop.user.comment.model.UserLevel;
import com.yami.shop.user.comment.model.UserRights;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 会员等级
 *
 * @author LGH
 * @date 2020-02-26 16:03:14
 */
public interface UserRightsMapper extends BaseMapper<UserRights> {

    Boolean setStatua(@Param("rightsId") Long rightsId, @Param("status")Integer status);

    List<Long> getUserRightsIdListByLevelId(@Param("id")Long id,@Param("levelType") Integer levelType);
}
