package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.Noscwfdata;
import com.gyee.frame.model.auto.Wfpfdata;
import com.gyee.frame.model.auto.WfpfdataExample;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface WfpfdataMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    long countByExample(WfpfdataExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    int deleteByExample(WfpfdataExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(@Param("windplantNo") Short windplantNo, @Param("modelNo") Integer modelNo, @Param("dataTime") Date dataTime);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    int insert(Wfpfdata record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    int insertSelective(Wfpfdata record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    List<Wfpfdata> selectByExample(WfpfdataExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    Wfpfdata selectByPrimaryKey(@Param("windplantNo") Short windplantNo, @Param("modelNo") Integer modelNo, @Param("dataTime") Date dataTime);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") Wfpfdata record, @Param("example") WfpfdataExample example);
    @Select("select windplant_no,model_no,data_time,accuracy_rate from WF_DA_PF_DAY_DATA  where MODEL_NO = 7007 order by DATA_TIME desc")
    List<Noscwfdata> slectGlyc();
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") Wfpfdata record, @Param("example") WfpfdataExample example);
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(Wfpfdata record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(Wfpfdata record);
}