package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcAutoShortSupply;
import com.bailuntec.domain.example.DcAutoShortSupplyExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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


}