package com.njcn.harmonic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.harmonic.pojo.po.PQSComAssesPO;
import com.njcn.harmonic.pojo.po.day.RStatComassesDPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 电能质量综合评估 Mapper 接口
 * </p>
 *
 * @author wr
 * @since 2023-03-31
 */
public interface RStatComassesDMapper extends BaseMapper<RStatComassesDPO> {

    /**
     * 统计综合评估平均值
     * @param lineIndexes
     * @param searchBeginTime
     * @param searchEndTime
     * @return
     */
    List<PQSComAssesPO> getAvgCount(@Param("ids") List<String> lineIndexes,
                                    @Param("statTime") String searchBeginTime,
                                    @Param("endTime") String searchEndTime);
}
