package com.goafanti.common.dao;

import com.goafanti.common.model.TmpTable;
import com.goafanti.common.model.TmpTableExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TmpTableMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tmp_table
     *
     * @mbg.generated Wed Apr 11 14:10:27 CST 2018
     */
    long countByExample(TmpTableExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tmp_table
     *
     * @mbg.generated Wed Apr 11 14:10:27 CST 2018
     */
    int deleteByExample(TmpTableExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tmp_table
     *
     * @mbg.generated Wed Apr 11 14:10:27 CST 2018
     */
    int deleteByPrimaryKey(String orderNo);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tmp_table
     *
     * @mbg.generated Wed Apr 11 14:10:27 CST 2018
     */
    int insert(TmpTable record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tmp_table
     *
     * @mbg.generated Wed Apr 11 14:10:27 CST 2018
     */
    int insertSelective(TmpTable record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tmp_table
     *
     * @mbg.generated Wed Apr 11 14:10:27 CST 2018
     */
    List<TmpTable> selectByExample(TmpTableExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tmp_table
     *
     * @mbg.generated Wed Apr 11 14:10:27 CST 2018
     */
    TmpTable selectByPrimaryKey(String orderNo);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tmp_table
     *
     * @mbg.generated Wed Apr 11 14:10:27 CST 2018
     */
    int updateByExampleSelective(@Param("record") TmpTable record, @Param("example") TmpTableExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tmp_table
     *
     * @mbg.generated Wed Apr 11 14:10:27 CST 2018
     */
    int updateByExample(@Param("record") TmpTable record, @Param("example") TmpTableExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tmp_table
     *
     * @mbg.generated Wed Apr 11 14:10:27 CST 2018
     */
    int updateByPrimaryKeySelective(TmpTable record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tmp_table
     *
     * @mbg.generated Wed Apr 11 14:10:27 CST 2018
     */
    int updateByPrimaryKey(TmpTable record);

	List<TmpTable> selectAll();
}