package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.StateDuratime;
import com.gyee.frame.model.auto.StateDuratimeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table STATEDURATIME
     *
     * @mbg.generated
     */
    StateDuratime selectByPrimaryKey(Short id);

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

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

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

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