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

import java.util.List;

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

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

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

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

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

    /**
     * 店铺简介图片列表
     *
     * @param webSite
     * @param profilePictureName
     * @param startRow
     * @param size
     * @return
     */
    List<StoreProfileList> storeProfileListPage(@Param("webSite") String webSite, @Param("nameLike") String profilePictureName,
                                                @Param("startRow") Integer startRow,
                                                @Param("size") Integer size,
                                                @Param("storeId") Long storeId);


}