package iot.lidee.iot.mapper;

import java.util.List;
import iot.lidee.framework.mybatis.mapper.BaseMapperX;
import iot.lidee.iot.domain.EventLog;
import iot.lidee.iot.model.HistoryModel;

/**
 * 事件日志Mapper接口
 *
 * @author kerwincui
 * @date 2024-08-16
 */
public interface EventLogMapper extends BaseMapperX<EventLog>
{

    /**
     * 查询物模型历史数据
     * @param eventLog 事件日志
     * @return java.util.List<iot.lidee.iot.model.HistoryModel>
     */
    List<HistoryModel> listHistory(EventLog eventLog);

    Long selectEventLogCount(Long userId);

}
