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

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

import java.time.LocalDateTime;
import java.util.List;

/**
 * Description:
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2023/4/23  13:50【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
public interface RMpEventDetailMapper extends BaseMapper<RmpEventDetailPO> {


    /***
     * 处理在暂态指标明细——日报表数据获取
     * @author hongawen
     * @date 2023/11/2 10:54
     * @param lineIds 监测点集合
     * @param dataDate 统计日期
     * @param beginDay 起始时间
     * @param endDay 截止时间
     * @param voltageDip 电压暂降
     * @param voltageRise 电压暂升
     * @param shortInterruptions 短时中断
     * @return List<RMpEventDetailDPO>
     */
    List<RMpEventDetailD> handleDay(@Param("lineIds") List<String> lineIds, @Param("dataDate") String dataDate, @Param("beginDay") LocalDateTime beginDay, @Param("endDay") LocalDateTime endDay, @Param("voltageDip") String voltageDip, @Param("voltageRise") String voltageRise, @Param("shortInterruptions") String shortInterruptions);
}