package com.goafanti.common.dao;

import com.goafanti.common.model.DemandCollection;
import com.goafanti.common.model.DemandCollectionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DemandCollectionMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
	 * @mbg.generated  Thu Jul 23 09:20:14 CST 2020
	 */
	long countByExample(DemandCollectionExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
	 * @mbg.generated  Thu Jul 23 09:20:14 CST 2020
	 */
	int deleteByExample(DemandCollectionExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
	 * @mbg.generated  Thu Jul 23 09:20:14 CST 2020
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
	 * @mbg.generated  Thu Jul 23 09:20:14 CST 2020
	 */
	int insert(DemandCollection record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
	 * @mbg.generated  Thu Jul 23 09:20:14 CST 2020
	 */
	int insertSelective(DemandCollection record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
	 * @mbg.generated  Thu Jul 23 09:20:14 CST 2020
	 */
	List<DemandCollection> selectByExample(DemandCollectionExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
	 * @mbg.generated  Thu Jul 23 09:20:14 CST 2020
	 */
	DemandCollection selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
	 * @mbg.generated  Thu Jul 23 09:20:14 CST 2020
	 */
	int updateByExampleSelective(@Param("record") DemandCollection record,
			@Param("example") DemandCollectionExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
	 * @mbg.generated  Thu Jul 23 09:20:14 CST 2020
	 */
	int updateByExample(@Param("record") DemandCollection record, @Param("example") DemandCollectionExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
	 * @mbg.generated  Thu Jul 23 09:20:14 CST 2020
	 */
	int updateByPrimaryKeySelective(DemandCollection record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
	 * @mbg.generated  Thu Jul 23 09:20:14 CST 2020
	 */
	int updateByPrimaryKey(DemandCollection record);
}