package com.fdkankan.ucenter.service;

import com.fdkankan.ucenter.common.PageInfo;
import com.fdkankan.ucenter.entity.DownloadOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fdkankan.ucenter.entity.User;
import com.fdkankan.ucenter.vo.request.DownNumParam;
import com.fdkankan.ucenter.vo.request.IncrementOrderParam;

import java.math.BigDecimal;

/**
 * <p>
 * 下载次数订单表 服务类
 * </p>
 *
 * @author 
 * @since 2022-07-13
 */
public interface IDownloadOrderService extends IService<DownloadOrder> {


     PageInfo pageList(IncrementOrderParam param);

    DownloadOrder getByOrderSn(String orderSn);

    boolean paySuccessDownloadOrder(String orderSn, String tradeNo, int paymentTypeName);

    DownloadOrder insertDownloadOrder(User user, DownNumParam param, BigDecimal bigDecimal);

    DownloadOrder getByOrderSnNoPay(String orderSn);
}










































































































































































































