package com.goafanti.common.dao;

import com.goafanti.common.model.TOrderBill;
import com.goafanti.common.model.TOrderBillExample;

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

public interface TOrderBillMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bill
	 * @mbg.generated  Wed Jan 24 10:59:50 CST 2018
	 */
	long countByExample(TOrderBillExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bill
	 * @mbg.generated  Wed Jan 24 10:59:50 CST 2018
	 */
	int deleteByExample(TOrderBillExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bill
	 * @mbg.generated  Wed Jan 24 10:59:50 CST 2018
	 */
	int deleteByPrimaryKey(String billNo);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bill
	 * @mbg.generated  Wed Jan 24 10:59:50 CST 2018
	 */
	int insert(TOrderBill record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bill
	 * @mbg.generated  Wed Jan 24 10:59:50 CST 2018
	 */
	int insertSelective(TOrderBill record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bill
	 * @mbg.generated  Wed Jan 24 10:59:50 CST 2018
	 */
	List<TOrderBill> selectByExample(TOrderBillExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bill
	 * @mbg.generated  Wed Jan 24 10:59:50 CST 2018
	 */
	TOrderBill selectByPrimaryKey(String billNo);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bill
	 * @mbg.generated  Wed Jan 24 10:59:50 CST 2018
	 */
	int updateByExampleSelective(@Param("record") TOrderBill record, @Param("example") TOrderBillExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bill
	 * @mbg.generated  Wed Jan 24 10:59:50 CST 2018
	 */
	int updateByExample(@Param("record") TOrderBill record, @Param("example") TOrderBillExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bill
	 * @mbg.generated  Wed Jan 24 10:59:50 CST 2018
	 */
	int updateByPrimaryKeySelective(TOrderBill record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bill
	 * @mbg.generated  Wed Jan 24 10:59:50 CST 2018
	 */
	int updateByPrimaryKey(TOrderBill record);
}