package com.njcn.mapper.configuration;

import com.njcn.pojo.configuration.EventPushLogsDetail;
import com.njcn.pojo.configuration.TerminalLogs;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;
import java.util.List;

/**
 * @Auther denghuajun
 * @Date 2021/8/18
 * @describe 暂降事件推送记录日志Mapper
 */
public interface EventPushLogsDetailMapper extends Mapper<EventPushLogsDetail> {
    List<EventPushLogsDetail> getEventPushLogsDetail(@Param("result") int result, @Param("startTime") Date startTime, @Param("endTime") Date endTime);
    List<EventPushLogsDetail> getEventPushLogsDetails(@Param("startTime") Date startTime, @Param("endTime") Date endTime);
    int updatEventPushLog(@Param("eventDetailIndex") String eventDetailIndex, @Param("lineId") Integer lineId, @Param("userUpdateTime") Date userUpdateTime);
}
