package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.EquipmentSql;
import com.gyee.frame.model.auto.EquipmentSqlExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table EQUIPMENT
     *
     * @mbg.generated
     */
    EquipmentSql selectByPrimaryKey(Double id);

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

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

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

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

    List<EquipmentSql> getEquipmentListByLocation(@Param("location") String location);

}