package com.goafanti.common.dao;

import com.goafanti.common.model.PersonnelQuit;
import com.goafanti.common.model.PersonnelQuitExample;
import com.goafanti.personnel.bo.PersonnelQuitBo;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PersonnelQuitMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_quit
     *
     * @mbg.generated Sun Apr 26 10:46:24 CST 2020
     */
    long countByExample(PersonnelQuitExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_quit
     *
     * @mbg.generated Sun Apr 26 10:46:24 CST 2020
     */
    int deleteByExample(PersonnelQuitExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_quit
     *
     * @mbg.generated Sun Apr 26 10:46:24 CST 2020
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_quit
     *
     * @mbg.generated Sun Apr 26 10:46:24 CST 2020
     */
    int insert(PersonnelQuit record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_quit
     *
     * @mbg.generated Sun Apr 26 10:46:24 CST 2020
     */
    int insertSelective(PersonnelQuit record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_quit
     *
     * @mbg.generated Sun Apr 26 10:46:24 CST 2020
     */
    List<PersonnelQuit> selectByExample(PersonnelQuitExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_quit
     *
     * @mbg.generated Sun Apr 26 10:46:24 CST 2020
     */
    PersonnelQuit selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_quit
     *
     * @mbg.generated Sun Apr 26 10:46:24 CST 2020
     */
    int updateByExampleSelective(@Param("record") PersonnelQuit record, @Param("example") PersonnelQuitExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_quit
     *
     * @mbg.generated Sun Apr 26 10:46:24 CST 2020
     */
    int updateByExample(@Param("record") PersonnelQuit record, @Param("example") PersonnelQuitExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_quit
     *
     * @mbg.generated Sun Apr 26 10:46:24 CST 2020
     */
    int updateByPrimaryKeySelective(PersonnelQuit record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_quit
     *
     * @mbg.generated Sun Apr 26 10:46:24 CST 2020
     */
    int updateByPrimaryKey(PersonnelQuit record);

	List<PersonnelQuitBo> selectBypdId(Integer id);
}