wlzboy
6 天以前 3bbd80a63ac7728ac01b641a48a26befcb171a0f
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
package com.ruoyi.payment.infrastructure.persistence.mapper;
 
import com.ruoyi.payment.domain.model.NotifyLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
/**
 * 渠道回调日志Mapper
 * 
 * @author ruoyi
 */
@Mapper
public interface NotifyLogMapper {
 
    /**
     * 插入回调日志
     */
    int insert(NotifyLog notifyLog);
 
    /**
     * 更新回调日志
     */
    int update(NotifyLog notifyLog);
 
    /**
     * 根据ID查询
     */
    NotifyLog selectById(@Param("id") Long id);
 
    /**
     * 查询已处理的回调记录数量(幂等性检查)
     */
    int selectProcessedCount(@Param("channel") String channel, 
                             @Param("notifyIdOrSerial") String notifyIdOrSerial);
}