package com.gxwebsoft.shop.mapper;

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

import java.util.List;

/**
 * 自提点人员Mapper
 *
 * @author 科技小王子
 * @since 2025-12-03 14:22:38
 */
public interface SelfTakeUserMapper extends BaseMapper<SelfTakeUser> {

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

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

}
