package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcAutoInventory;
import com.bailuntec.domain.example.DcAutoInventoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_auto_inventory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    DcAutoInventory selectOneByExample(DcAutoInventoryExample example);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_auto_inventory
     *
     * @mbg.generated
     */
    DcAutoInventory selectByPrimaryKey(Integer id);

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_auto_inventory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int upsert(DcAutoInventory record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_auto_inventory
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int upsertSelective(DcAutoInventory record);
}