xuhy
2025-01-09 712f70b2936079a131ecb1e63c6d337171618cad
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
package com.stylefeng.guns.modular.system.dao;
 
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stylefeng.guns.modular.system.model.PaymentRecord;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
public interface PaymentRecordMapper extends BaseMapper<PaymentRecord> {
 
 
    /**
     * 获取数据
     * @param orderId
     * @param payType
     * @param state
     * @return
     */
    List<PaymentRecord> query(@Param("category") Integer category, @Param("userId") Integer userId,
               @Param("type") Integer type, @Param("orderId") Integer orderId,
               @Param("orderType") Integer orderType, @Param("payType") Integer payType,
               @Param("state") Integer state);
 
    /**
     * 获取数据
     * @param orderId
     * @param payType
     * @param state
     * @return
     */
    List<PaymentRecord> query_(@Param("category") Integer category, @Param("userId") Integer userId,
                        @Param("type") Integer type, @Param("orderId") Integer orderId,
                        @Param("orderType") Integer orderType, @Param("payType") Integer payType,
                        @Param("state") Integer state);
 
    /**
     * 导出
     * @return
     */
    List<Map<String,Object>> exportRecord(@Param("userName") String userName,@Param("phone") String phone,
                                          @Param("code") String code,@Param("startTime") String startTime,@Param("endTime") String endTime);
}