package com.goafanti.common.dao;

import com.goafanti.common.model.JtBusinessProject;
import com.goafanti.common.model.JtBusinessProjectExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface JtBusinessProjectMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jt_business_project
     *
     * @mbg.generated Wed Jun 20 11:08:54 CST 2018
     */
    long countByExample(JtBusinessProjectExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jt_business_project
     *
     * @mbg.generated Wed Jun 20 11:08:54 CST 2018
     */
    int deleteByExample(JtBusinessProjectExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jt_business_project
     *
     * @mbg.generated Wed Jun 20 11:08:54 CST 2018
     */
    int deleteByPrimaryKey(String id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jt_business_project
     *
     * @mbg.generated Wed Jun 20 11:08:54 CST 2018
     */
    int insert(JtBusinessProject record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jt_business_project
     *
     * @mbg.generated Wed Jun 20 11:08:54 CST 2018
     */
    int insertSelective(JtBusinessProject record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jt_business_project
     *
     * @mbg.generated Wed Jun 20 11:08:54 CST 2018
     */
    List<JtBusinessProject> selectByExample(JtBusinessProjectExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jt_business_project
     *
     * @mbg.generated Wed Jun 20 11:08:54 CST 2018
     */
    JtBusinessProject selectByPrimaryKey(String id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jt_business_project
     *
     * @mbg.generated Wed Jun 20 11:08:54 CST 2018
     */
    int updateByExampleSelective(@Param("record") JtBusinessProject record, @Param("example") JtBusinessProjectExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jt_business_project
     *
     * @mbg.generated Wed Jun 20 11:08:54 CST 2018
     */
    int updateByExample(@Param("record") JtBusinessProject record, @Param("example") JtBusinessProjectExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jt_business_project
     *
     * @mbg.generated Wed Jun 20 11:08:54 CST 2018
     */
    int updateByPrimaryKeySelective(JtBusinessProject record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jt_business_project
     *
     * @mbg.generated Wed Jun 20 11:08:54 CST 2018
     */
    int updateByPrimaryKey(JtBusinessProject record);
    
     List<JtBusinessProject> getBusinessProjectByCategoryId(String id,Integer size);
}