package com.ruoyi.predict.mapper;

import com.ruoyi.predict.domain.WfStatType;

import java.util.List;

/**
 * WfStatTypeMapper接口
 *
 * @author hlf
 * @date 2022-01-10
 */
public interface WfStatTypeMapper {
    /**
     * 查询WfStatType
     *
     * @param windplantNo WfStatTypeID
     * @return WfStatType
     */
    public WfStatType selectWfStatTypeById(Long windplantNo);

    /**
     * 查询WfStatType列表
     *
     * @param wfStatType WfStatType
     * @return WfStatType集合
     */
    public List<WfStatType> selectWfStatTypeList(WfStatType wfStatType);

    /**
     * 新增WfStatType
     *
     * @param wfStatType WfStatType
     * @return 结果
     */
    public int insertWfStatType(WfStatType wfStatType);

    /**
     * 修改WfStatType
     *
     * @param wfStatType WfStatType
     * @return 结果
     */
    public int updateWfStatType(WfStatType wfStatType);

    /**
     * 删除WfStatType
     *
     * @param windplantNo WfStatTypeID
     * @return 结果
     */
    public int deleteWfStatTypeById(Long windplantNo);

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

    int checkWindplantNoUnique(Long windplantNo);
}
