package com.slodon.b2b2c.dao.read.seller;

import java.util.List;

import com.slodon.b2b2c.seller.example.StoreCompanyShowListExample;
import com.slodon.b2b2c.seller.pojo.StoreCompanyShowList;
import org.apache.ibatis.annotations.Param;

public interface StoreCompanyShowListReadMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table store_company_show_list
     *
     * @mbg.generated Sat Oct 08 15:05:15 CST 2022
     */
    long countByExample(StoreCompanyShowListExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table store_company_show_list
     *
     * @mbg.generated Sat Oct 08 15:05:15 CST 2022
     */
    List<StoreCompanyShowList> selectByExample(StoreCompanyShowListExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table store_company_show_list
     *
     * @mbg.generated Sat Oct 08 15:05:15 CST 2022
     */
    StoreCompanyShowList selectByPrimaryKey(Long id);


    /**
     * 店铺分页总条数
     *
     * @param webSite
     * @param companyPictureName
     * @param storeId
     * @return
     */
    Integer storeCompanyShowPageCount(
            @Param("webSite") String webSite,
            @Param("nameLike") String companyPictureName,
            @Param("storeId") Long storeId);


    /**
     * 店铺工厂图片列表
     *
     * @param webSite
     * @param companyPictureName
     * @param startRow
     * @param size
     * @return
     */
    List<StoreCompanyShowList> storeCompanyShowListPage(
            @Param("webSite") String webSite,
            @Param("nameLike") String companyPictureName,
            @Param("startRow") Integer startRow,
            @Param("size") Integer size,
            @Param("storeId") Long storeId);

}