package com.ruoyi.xq.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.xq.domain.ActivityOrder;
import com.ruoyi.xq.dto.admin.activity.ActivityOrderAdminVo;
import com.ruoyi.xq.dto.app.activity.CreateOrderReq;
import com.ruoyi.xq.dto.app.pay.ConsumeResp;
import com.ruoyi.xq.dto.app.pay.OrderCreateVo;
import com.ruoyi.xq.enums.pay.PlatformTypeEnum;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

/**
 * 相亲会订单Service接口
 *
 * @author 77
 * @date 2024-05-09
 */
public interface ActivityOrderService extends IService<ActivityOrder> {

    ActivityOrder createOrder(CreateOrderReq req);

    ActivityOrder getByOrderNo(String orderNo);

    ConsumeResp doSuccess(String orderNo, Map<String, String> params, String appId, PlatformTypeEnum payTypeEnum);

    Page<ActivityOrderAdminVo> pageAdmin(PageQuery pageQuery, ActivityOrderAdminVo bo);
}
