package com.gxwebsoft.shop.mapper;

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

import java.util.List;

/**
 * 访客记录表Mapper
 *
 * @author 科技小王子
 * @since 2023-07-13 23:10:38
 */
public interface UserLookMapper extends BaseMapper<UserLook> {

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

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

}
