package com.goafanti.common.dao;

import com.goafanti.common.model.ScDemand;
import com.goafanti.common.model.ScDemandExample;
import com.goafanti.sc.bo.inputDemands;

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

public interface ScDemandMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	long countByExample(ScDemandExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	int deleteByExample(ScDemandExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	int deleteByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	int insert(ScDemand record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	int insertSelective(ScDemand record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	List<ScDemand> selectByExample(ScDemandExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	ScDemand selectByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	int updateByExampleSelective(@Param("record") ScDemand record, @Param("example") ScDemandExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	int updateByExample(@Param("record") ScDemand record, @Param("example") ScDemandExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	int updateByPrimaryKeySelective(ScDemand record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_demand
	 * @mbg.generated  Tue Jun 26 18:28:31 CST 2018
	 */
	int updateByPrimaryKey(ScDemand record);

	inputDemands selectById(String id);

	
}