package com.gyee.frame.mapper.auto;

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table P3_DEVICE_FAULT
     *
     * @mbg.generated
     */
    P3DeviceFault selectByPrimaryKey(String id);

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

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

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

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