package com.gxwebsoft.shop.mapper;

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

import java.util.List;

/**
 * 用户记录表Mapper
 *
 * @author 科技小王子
 * @since 2026-02-10 00:37:07
 */
public interface ShopUserMapper extends BaseMapper<ShopUser> {

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

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

}
