package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcAutoOrder;
import com.bailuntec.domain.example.DcAutoOrderExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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