package com.gxwebsoft.cms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.cms.entity.CmsOrder;
import com.gxwebsoft.cms.param.CmsOrderParam;

import java.util.List;

/**
 * 网站订单Service
 *
 * @author 科技小王子
 * @since 2026-01-27 13:03:24
 */
public interface CmsOrderService extends IService<CmsOrder> {

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

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

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

}
