package com.bailuntec.mapper;

import com.bailuntec.domain.entity.TOrderShipping;
import com.bailuntec.domain.entity.TOrderShippingWithBLOBs;
import com.bailuntec.domain.example.TOrderShippingExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_shipping
     *
     * @mbg.generated
     */
    TOrderShippingWithBLOBs selectByPrimaryKey(Long id);

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

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

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

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

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

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

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

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

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