package com.njcn.harmonic.mapper.specialanalysis;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njcn.harmonic.pojo.param.OverviewParam;
import com.njcn.harmonic.pojo.po.RStatOrgPvPowerQualityMPO;
import com.njcn.harmonic.pojo.vo.OverviewVO;
import com.njcn.harmonic.pojo.vo.StreamReverseOrgVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* @author yzh
* @description 针对表【r_stat_org_pv_power_quality_m(分布式光伏_台区电能质量统计_月表)】的数据库操作Mapper
* @createDate 2022-11-25 09:08:58
* @Entity generator.domain.RStatOrgPvPowerQualityMPO
*/
public interface RStatOrgPvPowerQualityMMapper extends BaseMapper<RStatOrgPvPowerQualityMPO> {

    Page<StreamReverseOrgVO> getStreamReverseByOrg(IPage<StreamReverseOrgVO> page, @Param("condMap")Map<String, Object> condMap);

    /**
     * 分布式光伏概览-电压问题
     * @param deptCodes
     * @param ids
     * @return
     */
    List<OverviewVO.VoltageVO> selectVoltage(@Param("deptCodes") List<String> deptCodes,
                                             @Param("ids") List<String> ids,
                                             @Param("param") OverviewParam param);
}




