package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.ContractSub;
import org.linlinjava.jz.db.domain.ContractSubExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub
     *
     * @mbg.generated
     */
    ContractSub selectOneByExample(ContractSubExample example);

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

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

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

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

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

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

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

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

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