package com.goafanti.common.dao;

import com.goafanti.common.model.ThirdPartyCompany;
import com.goafanti.common.model.ThirdPartyCompanyExample;
import com.goafanti.organization.bo.OutThirdPartyCompany;
import com.goafanti.organization.bo.ProjectTypePuls;

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

public interface ThirdPartyCompanyMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	long countByExample(ThirdPartyCompanyExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	int deleteByExample(ThirdPartyCompanyExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	int insert(ThirdPartyCompany record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	int insertSelective(ThirdPartyCompany record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	List<ThirdPartyCompany> selectByExample(ThirdPartyCompanyExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	ThirdPartyCompany selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	int updateByExampleSelective(@Param("record") ThirdPartyCompany record,
			@Param("example") ThirdPartyCompanyExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	int updateByExample(@Param("record") ThirdPartyCompany record, @Param("example") ThirdPartyCompanyExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	int updateByPrimaryKeySelective(ThirdPartyCompany record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table third_party_company
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	int updateByPrimaryKey(ThirdPartyCompany record);

	List<OutThirdPartyCompany> selectByTid(Integer tid);


	void deleteByTid(Integer id);


}
