package com.yeejoin.amos.boot.module.jxiop.api.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.amos.boot.module.jxiop.api.dto.EquipMessageExport;
import com.yeejoin.amos.boot.module.jxiop.api.dto.HouseholdPvDeviceDto;
import com.yeejoin.amos.boot.module.jxiop.api.dto.HouseholdPvDto;
import com.yeejoin.amos.boot.module.jxiop.api.dto.HouseholdPvExport;
import com.yeejoin.amos.boot.module.jxiop.api.entity.CommonFile;
import com.yeejoin.amos.boot.module.jxiop.api.entity.HouseholdPv;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 户用光伏表 Mapper 接口
 *
 * @author system_generator
 * @date 2023-03-17
 */
public interface HouseholdPvMapper extends BaseMapper<HouseholdPv> {

    List<HouseholdPvExport> selectExportList(@Param("dto")HouseholdPvDto dto, @Param("ids")  List<Long> ids);

    List<EquipMessageExport> selectExportEquipMessage(@Param("dto")HouseholdPvDto dto, @Param("ids")  List<Long> ids);

    List<HouseholdPvDeviceDto> selectEquipList(@Param("id")Long id );


    Page<HouseholdPvDto> selectPageMessage(@Param("page")Page<HouseholdPvDto> page, @Param("dto") HouseholdPvDto dto);

    String selectImg(@Param("id") Long id);
}
