package com.gxwebsoft.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.shop.entity.UserLook;
import com.gxwebsoft.shop.param.UserLookParam;

import java.util.List;

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

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<UserLook>
     */
    PageResult<UserLook> pageRel(UserLookParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<UserLook>
     */
    List<UserLook> listRel(UserLookParam param);

    /**
     * 根据id查询
     *
     * @param logId 主键ID
     * @return UserLook
     */
    UserLook getByIdRel(Integer logId);

}
