package com.goafanti.common.dao;

import com.goafanti.common.model.OrderChangeLog;
import com.goafanti.common.model.OrderChangeLogExample;
import com.goafanti.order.bo.OrderChangeLogBo;

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

public interface OrderChangeLogMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table order_change_log
	 * @mbg.generated  Fri Aug 16 14:22:36 CST 2019
	 */
	long countByExample(OrderChangeLogExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table order_change_log
	 * @mbg.generated  Fri Aug 16 14:22:36 CST 2019
	 */
	int deleteByExample(OrderChangeLogExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table order_change_log
	 * @mbg.generated  Fri Aug 16 14:22:36 CST 2019
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table order_change_log
	 * @mbg.generated  Fri Aug 16 14:22:36 CST 2019
	 */
	int insert(OrderChangeLog record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table order_change_log
	 * @mbg.generated  Fri Aug 16 14:22:36 CST 2019
	 */
	int insertSelective(OrderChangeLog record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table order_change_log
	 * @mbg.generated  Fri Aug 16 14:22:36 CST 2019
	 */
	List<OrderChangeLog> selectByExample(OrderChangeLogExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table order_change_log
	 * @mbg.generated  Fri Aug 16 14:22:36 CST 2019
	 */
	OrderChangeLog selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table order_change_log
	 * @mbg.generated  Fri Aug 16 14:22:36 CST 2019
	 */
	int updateByExampleSelective(@Param("record") OrderChangeLog record,
			@Param("example") OrderChangeLogExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table order_change_log
	 * @mbg.generated  Fri Aug 16 14:22:36 CST 2019
	 */
	int updateByExample(@Param("record") OrderChangeLog record, @Param("example") OrderChangeLogExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table order_change_log
	 * @mbg.generated  Fri Aug 16 14:22:36 CST 2019
	 */
	int updateByPrimaryKeySelective(OrderChangeLog record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table order_change_log
	 * @mbg.generated  Fri Aug 16 14:22:36 CST 2019
	 */
	int updateByPrimaryKey(OrderChangeLog record);

	List<OrderChangeLogBo> selectOrderChangeLogList(String changeId);
}