package com.yeejoin.amos.boot.module.hygf.api.tdenginemapper;

import com.yeejoin.amos.boot.module.hygf.api.dto.JpStationDto;

import com.yeejoin.amos.boot.module.hygf.api.dto.TdHygfJpInverterWarnDto;

import com.yeejoin.amos.boot.module.hygf.api.entity.JpStation;
import com.yeejoin.amos.boot.module.hygf.api.entity.TdHygfJpInverterWarn;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

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

/**
 * 户用光伏监盘逆变器报警表 Mapper 接口
 *
 * @author system_generator
 * @date 2023-09-19
 */
public interface TdHygfJpInverterWarnMapper extends BaseMapper<TdHygfJpInverterWarn> {

	List<Map<String, Object>> getCountTdHygfJpInverterWarn(@Param("dto") List<JpStation> dto);

	List<TdHygfJpInverterWarnDto> list(@Param("param") TdHygfJpInverterWarnDto tdHygfJpInverterWarnDto);

	TdHygfJpInverterWarnDto getByTime(@Param("createdTime") long createdTime);
}
