package com.bailuntec.mapper;

import com.bailuntec.domain.entity.TOrderShippings;
import com.bailuntec.domain.entity.TOrderShippingsWithBLOBs;
import com.bailuntec.domain.example.TOrderShippingsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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