package com.goafanti.common.dao;

import com.goafanti.common.model.TOrderLog;
import com.goafanti.common.model.TOrderLogExample;
import com.goafanti.order.bo.TOrderLogBo;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TOrderLogMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_log
	 * @mbg.generated  Thu Nov 28 11:28:43 CST 2019
	 */
	long countByExample(TOrderLogExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_log
	 * @mbg.generated  Thu Nov 28 11:28:43 CST 2019
	 */
	int deleteByExample(TOrderLogExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_log
	 * @mbg.generated  Thu Nov 28 11:28:43 CST 2019
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_log
	 * @mbg.generated  Thu Nov 28 11:28:43 CST 2019
	 */
	int insert(TOrderLog record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_log
	 * @mbg.generated  Thu Nov 28 11:28:43 CST 2019
	 */
	int insertSelective(TOrderLog record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_log
	 * @mbg.generated  Thu Nov 28 11:28:43 CST 2019
	 */
	List<TOrderLog> selectByExample(TOrderLogExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_log
	 * @mbg.generated  Thu Nov 28 11:28:43 CST 2019
	 */
	TOrderLog selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_log
	 * @mbg.generated  Thu Nov 28 11:28:43 CST 2019
	 */
	int updateByExampleSelective(@Param("record") TOrderLog record, @Param("example") TOrderLogExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_log
	 * @mbg.generated  Thu Nov 28 11:28:43 CST 2019
	 */
	int updateByExample(@Param("record") TOrderLog record, @Param("example") TOrderLogExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_log
	 * @mbg.generated  Thu Nov 28 11:28:43 CST 2019
	 */
	int updateByPrimaryKeySelective(TOrderLog record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_log
	 * @mbg.generated  Thu Nov 28 11:28:43 CST 2019
	 */
	int updateByPrimaryKey(TOrderLog record);

	List<TOrderLogBo> selectOrderByNo(String orderNo);

	void insertBatch(List<TOrderLogBo> newtl1);


}