Administrator
2026-08-13 a23f23570935850192099133509e90c33769d26c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.xcong.excoin.modules.station.dao;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xcong.excoin.modules.station.entity.StrategyEventLog;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * 策略事件日志 DAO
 */
public interface StrategyEventLogDao extends BaseMapper<StrategyEventLog> {
 
    /**
     * 按 apiKeyMd5 分页查询事件(最近 200 条)
     */
    List<StrategyEventLog> selectByApiKeyMd5(@Param("apiKeyMd5") String apiKeyMd5);
 
    /**
     * eventId 是否存在(幂等去重)
     */
    int countByEventId(@Param("eventId") String eventId);
}