package com.goafanti.common.dao;

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

public interface ProjectSizeMapper {

	/**
	 * 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(ProjectSizeExample 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(ProjectSizeExample 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(ProjectSize 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(ProjectSize 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<ProjectSize> selectByExample(ProjectSizeExample 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
	 */
	ProjectSize 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") ProjectSize record, @Param("example") ProjectSizeExample 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") ProjectSize record, @Param("example") ProjectSizeExample 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(ProjectSize 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(ProjectSize record);

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

	List<String> selectPidList(String pid);
}