package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcAutoInbound;
import com.bailuntec.domain.example.DcAutoInboundExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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