package com.ruoyi.predict.mapper;

import com.ruoyi.predict.domain.WfTheoryenergyData;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * WfTheoryenergyDataMapper接口
 * 
 * @author hlf
 * @date 2022-09-20
 */
public interface WfTheoryenergyDataMapper 
{
    /**
     * 查询WfTheoryenergyData
     * 
     * @param windplantNo WfTheoryenergyDataID
     * @return WfTheoryenergyData
     */
    public WfTheoryenergyData selectWfTheoryenergyDataById(Long windplantNo);

    /**
     * 查询WfTheoryenergyData列表
     * 
     * @param wfTheoryenergyData WfTheoryenergyData
     * @return WfTheoryenergyData集合
     */
    public List<WfTheoryenergyData> selectWfTheoryenergyDataList(WfTheoryenergyData wfTheoryenergyData);

    /**
     * 新增WfTheoryenergyData
     * 
     * @param wfTheoryenergyData WfTheoryenergyData
     * @return 结果
     */
    public int insertWfTheoryenergyData(WfTheoryenergyData wfTheoryenergyData);

    /**
     * 修改WfTheoryenergyData
     * 
     * @param wfTheoryenergyData WfTheoryenergyData
     * @return 结果
     */
    public int updateWfTheoryenergyData(WfTheoryenergyData wfTheoryenergyData);

    /**
     * 删除WfTheoryenergyData
     * 
     * @param windplantNo WfTheoryenergyDataID
     * @return 结果
     */
    public int deleteWfTheoryenergyDataById(Long windplantNo);

    /**
     * 批量删除WfTheoryenergyData
     * 
     * @param windplantNos 需要删除的数据ID
     * @return 结果
     */
    public int deleteWfTheoryenergyDataByIds(String[] windplantNos);

    List<WfTheoryenergyData> selectWfTheoryenergyData(@Param("windplantNo") Long windplantNo, @Param("dataTime") Date dataTime);
}
