package com.njcn.device.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.device.pojo.po.RmpEventDetailPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 暂态事件明细
 *
 * @author yzh
 * @date 2022/10/12
 */
@Mapper
public interface RmpEventDetailMapper extends BaseMapper<RmpEventDetailPO> {

    /**
     * 获取暂态事件明细
     *
     * @param startTime  开始时间
     * @param endTime    结束时间
     * @return 暂态事件明细
     */
    List<RmpEventDetailPO> getDetailsOfTransientEvents(
                                                       @Param("startTime") String startTime,
                                                       @Param("endTime") String endTime);


}
