package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.Companys;
import com.gyee.frame.model.auto.CompanysExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table COMPANYS
     *
     * @mbg.generated
     */
    Companys selectByPrimaryKey(String id);

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

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

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

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