package com.bailuntec.mapper;

import com.bailuntec.domain.entity.TOrderOriginal;
import com.bailuntec.domain.entity.TOrderOriginalKey;
import com.bailuntec.domain.entity.TOrderOriginalWithBLOBs;
import com.bailuntec.domain.example.TOrderOriginalExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_original
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(TOrderOriginalKey key);

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_original
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    TOrderOriginalWithBLOBs selectOneByExampleWithBLOBs(TOrderOriginalExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_original
     *
     * @mbg.generated
     */
    List<TOrderOriginalWithBLOBs> selectByExampleWithBLOBs(TOrderOriginalExample example);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_original
     *
     * @mbg.generated
     */
    TOrderOriginalWithBLOBs selectByPrimaryKey(TOrderOriginalKey key);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_original
     *
     * @mbg.generated
     */
    int updateByExampleWithBLOBs(@Param("record") TOrderOriginalWithBLOBs record, @Param("example") TOrderOriginalExample example);

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_original
     *
     * @mbg.generated
     */
    int updateByPrimaryKeyWithBLOBs(TOrderOriginalWithBLOBs record);

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

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

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

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