package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.Windsubstationtestingpoint;
import com.gyee.frame.model.auto.WindsubstationtestingpointExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WINDSUBSTATIONTESTINGPOINT2
     *
     * @mbg.generated
     */
    int deleteByExample(WindsubstationtestingpointExample 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(Windsubstationtestingpoint record);

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

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

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

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

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

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

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


    int deleteAll();

    int insertBatch(List<Windsubstationtestingpoint> ls);
}