package com.gxwebsoft.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.common.system.entity.User;
import com.gxwebsoft.shop.entity.RechargeOrder;
import com.gxwebsoft.shop.param.RechargeOrderParam;

import java.util.List;

/**
 * 会员充值订单表Service
 *
 * @author 科技小王子
 * @since 2023-04-20 20:36:24
 */
public interface RechargeOrderService extends IService<RechargeOrder> {

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

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

    /**
     * 根据id查询
     *
     * @param orderId 订单ID
     * @return RechargeOrder
     */
    RechargeOrder getByIdRel(Integer orderId);

}
