package com.hdkj.lt.bf.mapper;

import com.hdkj.lt.bf.entity.SjztPwwyyqxtPrmPdrOutageMvDs;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.hdkj.lt.bf.entity.dto.OutageAggregationDTO;
import org.apache.ibatis.annotations.Param;

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

/**
* @author lenovo
* @description 针对表【sjzt_pwwyyqxt_prm_pdr_outage_mv_ds(un4113_02_pwwyyqxt_prm_pdr_outage_mv_ds)】的数据库操作Mapper
* @createDate 2026-07-18 14:32:38
* @Entity com.hdkj.lt.bf.entity.SjztPwwyyqxtPrmPdrOutageMvDs
*/
@Mapper
public interface SjztPwwyyqxtPrmPdrOutageMvDsMapper extends BaseMapper<SjztPwwyyqxtPrmPdrOutageMvDs> {

    BigDecimal selectStaticOutageDurationHoursHouseholds(@Param("feederNameList")List<String> feederNameList, @Param("startOfMonth")LocalDateTime startOfMonth, @Param("endOfToday")LocalDateTime endOfToday);

    OutageAggregationDTO selectOutageAggregation(@Param("feederNameList")List<String> feederNameList, @Param("startTime")LocalDateTime startTime, @Param("endTime")LocalDateTime endTime);
}




