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 com.yonge.cooleshow.biz.dal.dto.search.MemberPriceSettingsSearch;
import com.yonge.cooleshow.biz.dal.vo.MemberPriceSettingsVo;
import org.apache.ibatis.annotations.Param;
import com.yonge.cooleshow.biz.dal.entity.PianoRoomSettings;
import com.yonge.cooleshow.biz.dal.vo.PianoRoomSettingsVo;
import com.yonge.cooleshow.biz.dal.dto.search.PianoRoomSettingsSearch;


public interface PianoRoomSettingsDao extends BaseMapper<PianoRoomSettings> {
    /**
     * 查询详情
     *
     * @author liweifan
     * @date 2022-05-30 15:54:20
     * @return: com.yonge.cooleshow.biz.dal.vo.PianoRoomSettingsVo
     */
    PianoRoomSettingsVo detail(@Param("id") Long id);

    /**
     * 分页查询
     *
     * @author liweifan
     * @date 2022-04-25 14:34:49
     * @return: com.yonge.cooleshow.biz.dal.vo.MemberPriceSettingsVo
     */
    List<PianoRoomSettingsVo> selectPage(@Param("page") IPage page, @Param("param") PianoRoomSettingsSearch param);

    /***
     * 查询集合
     * @author liweifan
     * @param: param
     * @updateTime 2022/4/25 14:58
     * @return: java.util.List<com.yonge.cooleshow.biz.dal.vo.MemberPriceSettingsVo>
     */
    List<PianoRoomSettingsVo> selectList(@Param("param") PianoRoomSettingsSearch param);

    /**
     * 启用/冻结
     *
     * @param id
     * @param status
     * @return
     */
    Integer changeStatus(@Param("id") Long id, @Param("status") Integer status);

    /**
     * 批量删除
     * @param idList
     * @return
     */
    boolean removeByIds(@Param("idList")List<Long> idList);
}