package com.goafanti.common.dao;

import com.goafanti.common.model.IdleContractNo;
import com.goafanti.common.model.IdleContractNoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface IdleContractNoMapper {
    /**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table idle_contract_no
	 * @mbg.generated  Tue Jan 07 16:15:44 CST 2020
	 */
	long countByExample(IdleContractNoExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table idle_contract_no
	 * @mbg.generated  Tue Jan 07 16:15:44 CST 2020
	 */
	int deleteByExample(IdleContractNoExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table idle_contract_no
	 * @mbg.generated  Tue Jan 07 16:15:44 CST 2020
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table idle_contract_no
	 * @mbg.generated  Tue Jan 07 16:15:44 CST 2020
	 */
	int insert(IdleContractNo record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table idle_contract_no
	 * @mbg.generated  Tue Jan 07 16:15:44 CST 2020
	 */
	int insertSelective(IdleContractNo record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table idle_contract_no
	 * @mbg.generated  Tue Jan 07 16:15:44 CST 2020
	 */
	List<IdleContractNo> selectByExample(IdleContractNoExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table idle_contract_no
	 * @mbg.generated  Tue Jan 07 16:15:44 CST 2020
	 */
	IdleContractNo selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table idle_contract_no
	 * @mbg.generated  Tue Jan 07 16:15:44 CST 2020
	 */
	int updateByExampleSelective(@Param("record") IdleContractNo record,
			@Param("example") IdleContractNoExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table idle_contract_no
	 * @mbg.generated  Tue Jan 07 16:15:44 CST 2020
	 */
	int updateByExample(@Param("record") IdleContractNo record, @Param("example") IdleContractNoExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table idle_contract_no
	 * @mbg.generated  Tue Jan 07 16:15:44 CST 2020
	 */
	int updateByPrimaryKeySelective(IdleContractNo record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table idle_contract_no
	 * @mbg.generated  Tue Jan 07 16:15:44 CST 2020
	 */
	int updateByPrimaryKey(IdleContractNo record);

	IdleContractNo selectByAbbreviation(@Param("abbreviation")String abbreviation, @Param("year")Integer year);
}