package com.goafanti.common.dao;

import com.goafanti.common.model.TOrderDetail;
import com.goafanti.common.model.TOrderDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TOrderDetailMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_detail
	 * @mbg.generated  Sat Jan 20 15:19:07 CST 2018
	 */
	long countByExample(TOrderDetailExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_detail
	 * @mbg.generated  Sat Jan 20 15:19:07 CST 2018
	 */
	int deleteByExample(TOrderDetailExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_detail
	 * @mbg.generated  Sat Jan 20 15:19:07 CST 2018
	 */
	int deleteByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_detail
	 * @mbg.generated  Sat Jan 20 15:19:07 CST 2018
	 */
	int insert(TOrderDetail record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_detail
	 * @mbg.generated  Sat Jan 20 15:19:07 CST 2018
	 */
	int insertSelective(TOrderDetail record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_detail
	 * @mbg.generated  Sat Jan 20 15:19:07 CST 2018
	 */
	List<TOrderDetail> selectByExample(TOrderDetailExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_detail
	 * @mbg.generated  Sat Jan 20 15:19:07 CST 2018
	 */
	TOrderDetail selectByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_detail
	 * @mbg.generated  Sat Jan 20 15:19:07 CST 2018
	 */
	int updateByExampleSelective(@Param("record") TOrderDetail record, @Param("example") TOrderDetailExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_detail
	 * @mbg.generated  Sat Jan 20 15:19:07 CST 2018
	 */
	int updateByExample(@Param("record") TOrderDetail record, @Param("example") TOrderDetailExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_detail
	 * @mbg.generated  Sat Jan 20 15:19:07 CST 2018
	 */
	int updateByPrimaryKeySelective(TOrderDetail record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_detail
	 * @mbg.generated  Sat Jan 20 15:19:07 CST 2018
	 */
	int updateByPrimaryKey(TOrderDetail record);
}