package com.gxwebsoft.shop.mapper;

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

import java.util.List;

/**
 * 商家门店店员表Mapper
 *
 * @author 科技小王子
 * @since 2022-11-30 16:32:25
 */
public interface MerchantClerkMapper extends BaseMapper<MerchantClerk> {

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

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

}
