package com.gxwebsoft.shop.service;

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

import java.util.List;

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

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

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

    /**
     * 根据id查询
     *
     * @param id 
     * @return SelfTake
     */
    SelfTake getByIdRel(Integer id);

}
