package com.stylefeng.guns.modular.system.service; import com.baomidou.mybatisplus.service.IService; import com.stylefeng.guns.modular.system.model.PaymentRecord; import java.util.List; import java.util.Map; public interface IPaymentRecordService extends IService { /** * 添加数据 * @param orderId 订单id * @param orderType 订单类型 * @param payType 支付方式(1=微信,2=支付宝) * @param amount 支付金额 * @param code 第三方支付单号 * @param state 支付状态(1=待支付,2=已支付) * @throws Exception */ Integer saveData(Integer category, Integer userId, Integer type, Integer orderId, Integer orderType, Integer payType, Double amount, String code, Integer state) throws Exception; /** * 获取数据 * @param orderId * @param payType * @param state * @return * @throws Exception */ List query(Integer category, Integer userId, Integer type, Integer orderId, Integer orderType, Integer payType, Integer state) throws Exception; /** * 获取数据 * @param orderId * @param payType * @param state * @return * @throws Exception */ List query_(Integer category, Integer userId, Integer type, Integer orderId, Integer orderType, Integer payType, Integer state) throws Exception; /** * 导出 * @return */ List> exportRecord(String userName, String phone, String code, String startTime, String endTime); }