package com.gyee.frame.mapper.auto;

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

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

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

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

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

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

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

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

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

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

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

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