package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.Windsubstationtestingpoint2;
import com.gyee.frame.model.auto.Windsubstationtestingpoint2Example;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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


    int deleteAll();

    int insertBatch(List<Windsubstationtestingpoint2> ls);
}