package com.gxwebsoft.shop.mapper;

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

import java.util.List;

/**
 * 门店销售统计表Mapper
 *
 * @author 科技小王子
 * @since 2024-10-02 10:07:51
 */
public interface ShopMerchantCountMapper extends BaseMapper<ShopMerchantCount> {

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

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

}
