package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.WindPowerStationTestingPoint;
import com.gyee.frame.model.auto.WindPowerStationTestingPointExample;
import com.gyee.frame.model.custom.SimpleVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WINDPOWERSTATIONTESTINGPOINT2
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(String code);

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WINDPOWERSTATIONTESTINGPOINT2
     *
     * @mbg.generated
     */
    WindPowerStationTestingPoint selectByPrimaryKey(String code);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WINDPOWERSTATIONTESTINGPOINT2
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") WindPowerStationTestingPoint record, @Param("example") WindPowerStationTestingPointExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WINDPOWERSTATIONTESTINGPOINT2
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") WindPowerStationTestingPoint record, @Param("example") WindPowerStationTestingPointExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WINDPOWERSTATIONTESTINGPOINT2
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(WindPowerStationTestingPoint record);

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

    List<SimpleVo> getWpPointTotal(@Param("wpId") String wpId, @Param("type") String type);

}