package com.goafanti.common.dao;

import com.goafanti.common.model.PersonnelWelfare;
import com.goafanti.common.model.PersonnelWelfareExample;
import com.goafanti.personnel.bo.PersonnelWelfareBo;

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

public interface PersonnelWelfareMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_welfare
	 * @mbg.generated  Thu May 07 10:06:28 CST 2020
	 */
	long countByExample(PersonnelWelfareExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_welfare
	 * @mbg.generated  Thu May 07 10:06:28 CST 2020
	 */
	int deleteByExample(PersonnelWelfareExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_welfare
	 * @mbg.generated  Thu May 07 10:06:28 CST 2020
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_welfare
	 * @mbg.generated  Thu May 07 10:06:28 CST 2020
	 */
	int insert(PersonnelWelfare record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_welfare
	 * @mbg.generated  Thu May 07 10:06:28 CST 2020
	 */
	int insertSelective(PersonnelWelfare record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_welfare
	 * @mbg.generated  Thu May 07 10:06:28 CST 2020
	 */
	List<PersonnelWelfare> selectByExample(PersonnelWelfareExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_welfare
	 * @mbg.generated  Thu May 07 10:06:28 CST 2020
	 */
	PersonnelWelfare selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_welfare
	 * @mbg.generated  Thu May 07 10:06:28 CST 2020
	 */
	int updateByExampleSelective(@Param("record") PersonnelWelfare record,
			@Param("example") PersonnelWelfareExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_welfare
	 * @mbg.generated  Thu May 07 10:06:28 CST 2020
	 */
	int updateByExample(@Param("record") PersonnelWelfare record, @Param("example") PersonnelWelfareExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_welfare
	 * @mbg.generated  Thu May 07 10:06:28 CST 2020
	 */
	int updateByPrimaryKeySelective(PersonnelWelfare record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table personnel_welfare
	 * @mbg.generated  Thu May 07 10:06:28 CST 2020
	 */
	int updateByPrimaryKey(PersonnelWelfare record);

	List<PersonnelWelfareBo> selectBypdId(Integer id);
}