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);
|
}
|