package com.gxwebsoft.shop.mapper;

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

import java.util.List;

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

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

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

}
