package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.ContractSubTemplate;
import org.linlinjava.jz.db.domain.ContractSubTemplateExample;

public interface ContractSubTemplateMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    long countByExample(ContractSubTemplateExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    int deleteByExample(ContractSubTemplateExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    int insert(ContractSubTemplate record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    int insertSelective(ContractSubTemplate record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    ContractSubTemplate selectOneByExample(ContractSubTemplateExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    ContractSubTemplate selectOneByExampleSelective(@Param("example") ContractSubTemplateExample example, @Param("selective") ContractSubTemplate.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    List<ContractSubTemplate> selectByExampleSelective(@Param("example") ContractSubTemplateExample example, @Param("selective") ContractSubTemplate.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    List<ContractSubTemplate> selectByExample(ContractSubTemplateExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    ContractSubTemplate selectByPrimaryKeySelective(@Param("id") Long id, @Param("selective") ContractSubTemplate.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    ContractSubTemplate selectByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") ContractSubTemplate record, @Param("example") ContractSubTemplateExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") ContractSubTemplate record, @Param("example") ContractSubTemplateExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(ContractSubTemplate record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(ContractSubTemplate record);
}