package com.ruoyi.xq.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.xq.domain.UserVisitor;
import com.ruoyi.xq.dto.app.uservisitor.UserVisitorQuery;
import com.ruoyi.xq.dto.app.uservisitor.vo.UserVisitorListVo;
import org.apache.ibatis.annotations.Param;

/**
 * 用户来访记录Mapper接口
 *
 * @author 77
 * @date 2024-03-18
 */
public interface UserVisitorMapper extends BaseMapper<UserVisitor> {

    void incsVisitorCount(@Param("id") Long id);

    Page<UserVisitorListVo> pageApp(@Param("build") Page<Object> build, @Param("query") UserVisitorQuery query);

}
