package com.njcn.advance.mapper;

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

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

/**
 * pqs
 *
 * @author cdf
 * @date 2023/6/19
 */
public interface BalanceMapper extends BaseMapper<RmpEventDetailPO> {


    List<AdvanceBaseDTO> getFeatureAmplitude(@Param("startTime")LocalDateTime startTime, @Param("endTime")LocalDateTime endTime, @Param("lineIds")List<String> lineIds);

    List<AdvanceBaseDTO> getSarfi(@Param("startTime")LocalDateTime startTime,@Param("endTime")LocalDateTime endTime,@Param("lineIds")List<String> lineIds,@Param("featureAmplitude")Float featureAmplitude);

    List<AdvanceBaseDTO> getSarfiSeverity(@Param("startTime")LocalDateTime startTime,@Param("endTime")LocalDateTime endTime,@Param("lineIds")List<String> lineIds,@Param("featureAmplitude")Float featureAmplitude);




}
