package com.goafanti.common.dao;

import com.goafanti.common.model.PersonnelContact;
import com.goafanti.common.model.PersonnelContactExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PersonnelContactMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_contact
     *
     * @mbg.generated Fri Apr 24 10:48:50 CST 2020
     */
    long countByExample(PersonnelContactExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_contact
     *
     * @mbg.generated Fri Apr 24 10:48:50 CST 2020
     */
    int deleteByExample(PersonnelContactExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_contact
     *
     * @mbg.generated Fri Apr 24 10:48:50 CST 2020
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_contact
     *
     * @mbg.generated Fri Apr 24 10:48:50 CST 2020
     */
    int insert(PersonnelContact record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_contact
     *
     * @mbg.generated Fri Apr 24 10:48:50 CST 2020
     */
    int insertSelective(PersonnelContact record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_contact
     *
     * @mbg.generated Fri Apr 24 10:48:50 CST 2020
     */
    List<PersonnelContact> selectByExample(PersonnelContactExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_contact
     *
     * @mbg.generated Fri Apr 24 10:48:50 CST 2020
     */
    PersonnelContact selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_contact
     *
     * @mbg.generated Fri Apr 24 10:48:50 CST 2020
     */
    int updateByExampleSelective(@Param("record") PersonnelContact record, @Param("example") PersonnelContactExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_contact
     *
     * @mbg.generated Fri Apr 24 10:48:50 CST 2020
     */
    int updateByExample(@Param("record") PersonnelContact record, @Param("example") PersonnelContactExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_contact
     *
     * @mbg.generated Fri Apr 24 10:48:50 CST 2020
     */
    int updateByPrimaryKeySelective(PersonnelContact record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_contact
     *
     * @mbg.generated Fri Apr 24 10:48:50 CST 2020
     */
    int updateByPrimaryKey(PersonnelContact record);

	List<PersonnelContact> selectBypdId(Integer id);
}