package com.gxwebsoft.shop.service;

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

import java.util.List;

/**
 * 门店Service
 *
 * @author 科技小王子
 * @since 2026-01-30 15:00:25
 */
public interface ShopStoreService extends IService<ShopStore> {

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

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

    /**
     * 根据id查询
     *
     * @param id 自增ID
     * @return ShopStore
     */
    ShopStore getByIdRel(Integer id);

}
