package com.hdkj.lt.bf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hdkj.lt.core.bizms.modle.po.fault.FaultPowerCutPvUsers;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 故障停电光伏用户信息表 Mapper 接口
 * </p>
 *
 * @author luorui
 * @since 2025-05-29
 */
@Mapper
public interface FaultPowerCutPvUsersMapper extends BaseMapper<FaultPowerCutPvUsers> {

    /**
     *
     * @author luorui
     * @date 2025/5/20 16:16
     * @discription 根据故障停电id统计光伏用户数量
     *
     **/
    List<FaultPowerCutPvUsers> countByPlanId(@Param("faultIdList") List<Long> idList);
}
