liujie
2 天以前 7df0337148d9d6d6158ad93564aa2a3c827265cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package com.ruoyi.system.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.model.TSysPayRecord;
import com.ruoyi.system.query.DetectionPaymentReportQuery;
import com.ruoyi.system.vo.DetectionPaymentReportVO;
 
import java.math.BigDecimal;
import java.util.List;
 
/**
 * <p>
 * 微信支付记录 服务类
 * </p>
 *
 * @author xiaochen
 * @since 2025-09-18
 */
public interface TSysPayRecordService extends IService<TSysPayRecord> {
 
    /**
     * 保存数据
     * @param orderNo 支付单号
     * @param userId 用户id
     * @param aiPrice ai价格
     * @param state 支付状态 1=待支付 2=已支付
     */
    void saveData(String orderNo, String userId, BigDecimal aiPrice, Integer state);
 
    /**
     * 检测支付报表
     * @param query 查询参数
     * @return 结果
     */
    PageInfo<DetectionPaymentReportVO> detectionPaymentReport(DetectionPaymentReportQuery query);
 
    /**
     * 导出检测支付报表
     * @param query 查询参数
     * @return 结果
     */
    List<DetectionPaymentReportVO> exportDetectionPaymentReport(DetectionPaymentReportQuery query);
}