package com.zhongzheng.modules.activity.mapper;

import com.zhongzheng.modules.activity.domain.ActivityGradePrivilege;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhongzheng.modules.activity.vo.ActivityGradePrivilegeVo;

import java.util.List;

/**
 * 等级积分特权类型：优惠券，折扣券等类型Mapper接口
 *
 * @author change
 * @date 2021-05-20
 */
public interface ActivityGradePrivilegeMapper extends BaseMapper<ActivityGradePrivilege> {

    /**
     * 查询特技权限
     *
     * @param id 权限id
     *
     */
    List<ActivityGradePrivilegeVo> selectGradePriList(Long id);

    void deleteByGrade(Long id);
}
