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.PowerQualityParam;
import com.njcn.harmonic.pojo.po.RStatOrgPvPowerQualityYPO;
import com.njcn.harmonic.pojo.vo.RStatOrgPvDetailVO;
import com.njcn.harmonic.pojo.vo.RStatOrgPvPowerStreamVO;
import org.apache.ibatis.annotations.Param;

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

    /**
     *
     * 低功率因数统计分页查询
     * @param page
     * @param param
     * @return
     */
    Page<RStatOrgPvPowerStreamVO> selectListPage(IPage<RStatOrgPvPowerStreamVO> page,
                                                 @Param("param") PowerQualityParam.PowerQualityDetailParam param);

    /**
     *
     * 详细数据表分页查询
     * @param page
     * @param param
     * @return
     */
    Page<RStatOrgPvDetailVO> selectDetailListPage(IPage<RStatOrgPvPowerStreamVO> page,
                                                  @Param("param") PowerQualityParam.PowerQualityDetailParam param);
}




