package com.goafanti.common.dao;

import com.goafanti.common.model.TOrderBack;
import com.goafanti.common.model.TOrderBackExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TOrderBackMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_back
     *
     * @mbg.generated Wed Nov 21 11:44:14 CST 2018
     */
    long countByExample(TOrderBackExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_back
     *
     * @mbg.generated Wed Nov 21 11:44:14 CST 2018
     */
    int deleteByExample(TOrderBackExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_back
     *
     * @mbg.generated Wed Nov 21 11:44:14 CST 2018
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_back
     *
     * @mbg.generated Wed Nov 21 11:44:14 CST 2018
     */
    int insert(TOrderBack record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_back
     *
     * @mbg.generated Wed Nov 21 11:44:14 CST 2018
     */
    int insertSelective(TOrderBack record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_back
     *
     * @mbg.generated Wed Nov 21 11:44:14 CST 2018
     */
    List<TOrderBack> selectByExampleWithBLOBs(TOrderBackExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_back
     *
     * @mbg.generated Wed Nov 21 11:44:14 CST 2018
     */
    List<TOrderBack> selectByExample(TOrderBackExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_back
     *
     * @mbg.generated Wed Nov 21 11:44:14 CST 2018
     */
    TOrderBack selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_back
     *
     * @mbg.generated Wed Nov 21 11:44:14 CST 2018
     */
    int updateByExampleSelective(@Param("record") TOrderBack record, @Param("example") TOrderBackExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_back
     *
     * @mbg.generated Wed Nov 21 11:44:14 CST 2018
     */
    int updateByExampleWithBLOBs(@Param("record") TOrderBack record, @Param("example") TOrderBackExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_back
     *
     * @mbg.generated Wed Nov 21 11:44:14 CST 2018
     */
    int updateByExample(@Param("record") TOrderBack record, @Param("example") TOrderBackExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_back
     *
     * @mbg.generated Wed Nov 21 11:44:14 CST 2018
     */
    int updateByPrimaryKeySelective(TOrderBack record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_back
     *
     * @mbg.generated Wed Nov 21 11:44:14 CST 2018
     */
    int updateByPrimaryKeyWithBLOBs(TOrderBack record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_back
     *
     * @mbg.generated Wed Nov 21 11:44:14 CST 2018
     */
    int updateByPrimaryKey(TOrderBack record);

	int updateByOrderNoAndBackStatus(String orderNo);
}