package com.gxwebsoft.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.shop.entity.MerchantVoiceDevice;
import com.gxwebsoft.shop.param.MerchantVoiceDeviceParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商铺播报设备Mapper
 *
 * @author 科技小王子
 * @since 2025-05-28 21:07:20
 */
public interface MerchantVoiceDeviceMapper extends BaseMapper<MerchantVoiceDevice> {

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<MerchantVoiceDevice>
     */
    List<MerchantVoiceDevice> selectPageRel(@Param("page") IPage<MerchantVoiceDevice> page,
                             @Param("param") MerchantVoiceDeviceParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<MerchantVoiceDevice> selectListRel(@Param("param") MerchantVoiceDeviceParam param);

}
