package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcAutoConfigSafeInventory;
import com.bailuntec.domain.example.DcAutoConfigSafeInventoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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