package com.goafanti.common.dao;

import com.goafanti.common.model.CompanyLibrary;
import com.goafanti.common.model.CompanyLibraryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CompanyLibraryMapper {
    /**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
	 * @mbg.generated  Thu Sep 03 09:21:51 CST 2020
	 */
	long countByExample(CompanyLibraryExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
	 * @mbg.generated  Thu Sep 03 09:21:51 CST 2020
	 */
	int deleteByExample(CompanyLibraryExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
	 * @mbg.generated  Thu Sep 03 09:21:51 CST 2020
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
	 * @mbg.generated  Thu Sep 03 09:21:51 CST 2020
	 */
	int insert(CompanyLibrary record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
	 * @mbg.generated  Thu Sep 03 09:21:51 CST 2020
	 */
	int insertSelective(CompanyLibrary record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
	 * @mbg.generated  Thu Sep 03 09:21:51 CST 2020
	 */
	List<CompanyLibrary> selectByExample(CompanyLibraryExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
	 * @mbg.generated  Thu Sep 03 09:21:51 CST 2020
	 */
	CompanyLibrary selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
	 * @mbg.generated  Thu Sep 03 09:21:51 CST 2020
	 */
	int updateByExampleSelective(@Param("record") CompanyLibrary record,
			@Param("example") CompanyLibraryExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
	 * @mbg.generated  Thu Sep 03 09:21:51 CST 2020
	 */
	int updateByExample(@Param("record") CompanyLibrary record, @Param("example") CompanyLibraryExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
	 * @mbg.generated  Thu Sep 03 09:21:51 CST 2020
	 */
	int updateByPrimaryKeySelective(CompanyLibrary record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
	 * @mbg.generated  Thu Sep 03 09:21:51 CST 2020
	 */
	int updateByPrimaryKey(CompanyLibrary record);

	List<CompanyLibrary> selectVague(@Param("name")String name, @Param("type")Integer type, @Param("aid")String aid);

	int insertSelectiveGetId(CompanyLibrary c);

	List<Integer> selectName(@Param("companyName")String companyName, @Param("type")Integer type, @Param("aid")String aid);
}