package com.yonge.cooleshow.biz.dal.dao;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import com.yonge.cooleshow.biz.dal.entity.MemberPriceSettings;
import com.yonge.cooleshow.biz.dal.vo.MemberPriceSettingsVo;
import com.yonge.cooleshow.biz.dal.dto.search.MemberPriceSettingsSearch;


public interface MemberPriceSettingsDao extends BaseMapper<MemberPriceSettings>{
    /**
     * 查询详情
     * @author liweifan
     * @date 2022-04-25 14:34:49
     * @return: com.yonge.cooleshow.biz.dal.vo.MemberPriceSettingsVo
     */
    MemberPriceSettingsVo detail(@Param("id") Long id);

    /**
     * 分页查询
     * @author liweifan
     * @date 2022-04-25 14:34:49
     * @return: com.yonge.cooleshow.biz.dal.vo.MemberPriceSettingsVo
     */
    List<MemberPriceSettingsVo> selectPage(@Param("page") IPage page, @Param("param") MemberPriceSettingsSearch param);
    /***
     * 查询集合
     * @author liweifan
     * @param: param
     * @updateTime 2022/4/25 14:58
     * @return: java.util.List<com.yonge.cooleshow.biz.dal.vo.MemberPriceSettingsVo>
     */
    List<MemberPriceSettingsVo> selectList(@Param("param") MemberPriceSettingsSearch param);

    /**
     * 根据订单详情id查询会员卡
     *
     * @param orderDetilId
     * @return
     */
    MemberPriceSettings getMemberPriceByOrderDetilId(@Param("orderDetilId") Long orderDetilId);
}