package com.gxwebsoft.shop.service;

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

import java.util.List;

/**
 * 小区Service
 *
 * @author 科技小王子
 * @since 2026-01-29 20:48:32
 */
public interface ShopCommunityService extends IService<ShopCommunity> {

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

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

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

}
