package com.njcn.prepare.harmonic.mapper.mysql;

import cn.hutool.core.date.DateTime;
import com.njcn.event.pojo.dto.EventCount;
import com.njcn.harmonic.pojo.vo.IntegrityVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xuyang
 * @since 2024-01-25
 */
public interface EventMapper {

    List<EventCount> getEventCount(@Param("startTime") DateTime startTime, @Param("endTime")DateTime endTime);

    List<IntegrityVO> getIntegrity(@Param("startTime") DateTime startTime, @Param("endTime")DateTime endTime);

    List<IntegrityVO> getOnlineRate(@Param("startTime") DateTime startTime, @Param("endTime")DateTime endTime);

}
