package com.njcn.device.pms.mapper.majornetwork;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.device.pms.pojo.po.PowerDistributionarea;
import com.njcn.device.pms.pojo.vo.PVCapacity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 台区
 * </p>
 *
 * @author hongawen
 * @since 2022-10-14
 */
public interface PowerDistributionareaMapper extends BaseMapper<PowerDistributionarea> {


    /**
     * 冀北分布式光伏获取分布式光伏容量
     * @param orgId
     * @return
     */
    PVCapacity selectPVCapacity(@Param("orgIds") List<String> orgId);

    /**
     * 冀北分布式光伏获取分布式光伏渗透率
     * @param deptCode
     * @return
     */
    PVCapacity.PVCapacityCount selectPPVPermeability(@Param("orgIds")List<String> deptCode);

    /**
     * 冀北分布式光伏获取消纳能力
     * @param deptCode
     * @return
     */
    List<PVCapacity.Absorptive> selectAbsorptiveCapacity(@Param("orgIds")List<String> deptCode);
}
