package com.gxwebsoft.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.shop.entity.MerchantVoiceDevice;
import com.gxwebsoft.shop.param.MerchantVoiceDeviceParam;

import java.util.List;

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

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<MerchantVoiceDevice>
     */
    PageResult<MerchantVoiceDevice> pageRel(MerchantVoiceDeviceParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<MerchantVoiceDevice>
     */
    List<MerchantVoiceDevice> listRel(MerchantVoiceDeviceParam param);

    /**
     * 根据id查询
     *
     * @param id 
     * @return MerchantVoiceDevice
     */
    MerchantVoiceDevice getByIdRel(Integer id);

    List<MerchantVoiceDevice> listInMerchant(Integer merchantId);
}
