package com.gyee.frame.mapper.auto;

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

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

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

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

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

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

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

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

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

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

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

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