package com.goafanti.common.dao;

import com.goafanti.business.bo.ProjectSizeBo;
import com.goafanti.common.model.BusinessProjectModel;
import com.goafanti.common.model.BusinessProjectModelExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BusinessProjectModelMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
	 */
	long countByExample(BusinessProjectModelExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
	 */
	int deleteByExample(BusinessProjectModelExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
	 */
	int deleteByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
	 */
	int insert(BusinessProjectModel record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
	 */
	int insertSelective(BusinessProjectModel record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
	 */
	List<BusinessProjectModel> selectByExample(BusinessProjectModelExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
	 */
	BusinessProjectModel selectByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
	 */
	int updateByExampleSelective(@Param("record") BusinessProjectModel record, @Param("example") BusinessProjectModelExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
	 */
	int updateByExample(@Param("record") BusinessProjectModel record, @Param("example") BusinessProjectModelExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
	 */
	int updateByPrimaryKeySelective(BusinessProjectModel record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
	 */
	int updateByPrimaryKey(BusinessProjectModel record);

	List<ProjectSizeBo> selectByPrimaryBusinessId(String id);
					
	ProjectSizeBo selectByBusinessId(String id);
	List<ProjectSizeBo> getgetPnamecount(String pname);

	List<String> selectPidList(String pid);
}