package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.Partstatisticsmain;
import com.gyee.frame.model.auto.PartstatisticsmainExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table PARTSTATISTICSMAIN
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Integer id);

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table PARTSTATISTICSMAIN
     *
     * @mbg.generated
     */
    Partstatisticsmain selectByPrimaryKey(Integer id);

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

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

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

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