package com.goafanti.common.dao;

import com.goafanti.common.model.OrganizationYearProject;
import com.goafanti.common.model.OrganizationYearProjectExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrganizationYearProjectMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table organization_year_project
     *
     * @mbg.generated Fri Jul 20 16:32:47 CST 2018
     */
    long countByExample(OrganizationYearProjectExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table organization_year_project
     *
     * @mbg.generated Fri Jul 20 16:32:47 CST 2018
     */
    int deleteByExample(OrganizationYearProjectExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table organization_year_project
     *
     * @mbg.generated Fri Jul 20 16:32:47 CST 2018
     */
    int deleteByPrimaryKey(String id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table organization_year_project
     *
     * @mbg.generated Fri Jul 20 16:32:47 CST 2018
     */
    int insert(OrganizationYearProject record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table organization_year_project
     *
     * @mbg.generated Fri Jul 20 16:32:47 CST 2018
     */
    int insertSelective(OrganizationYearProject record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table organization_year_project
     *
     * @mbg.generated Fri Jul 20 16:32:47 CST 2018
     */
    List<OrganizationYearProject> selectByExample(OrganizationYearProjectExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table organization_year_project
     *
     * @mbg.generated Fri Jul 20 16:32:47 CST 2018
     */
    OrganizationYearProject selectByPrimaryKey(String id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table organization_year_project
     *
     * @mbg.generated Fri Jul 20 16:32:47 CST 2018
     */
    int updateByExampleSelective(@Param("record") OrganizationYearProject record, @Param("example") OrganizationYearProjectExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table organization_year_project
     *
     * @mbg.generated Fri Jul 20 16:32:47 CST 2018
     */
    int updateByExample(@Param("record") OrganizationYearProject record, @Param("example") OrganizationYearProjectExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table organization_year_project
     *
     * @mbg.generated Fri Jul 20 16:32:47 CST 2018
     */
    int updateByPrimaryKeySelective(OrganizationYearProject record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table organization_year_project
     *
     * @mbg.generated Fri Jul 20 16:32:47 CST 2018
     */
    int updateByPrimaryKey(OrganizationYearProject record);

	int checkYear(Integer year);

	int checkUser(String uid);
}