package com.goafanti.common.dao;

import com.goafanti.common.model.BranchOfficeInfo;
import com.goafanti.common.model.BranchOfficeInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BranchOfficeInfoMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table branch_office_info
	 * @mbg.generated  Tue Aug 22 09:20:20 CST 2017
	 */
	long countByExample(BranchOfficeInfoExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table branch_office_info
	 * @mbg.generated  Tue Aug 22 09:20:20 CST 2017
	 */
	int deleteByExample(BranchOfficeInfoExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table branch_office_info
	 * @mbg.generated  Tue Aug 22 09:20:20 CST 2017
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table branch_office_info
	 * @mbg.generated  Tue Aug 22 09:20:20 CST 2017
	 */
	int insert(BranchOfficeInfo record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table branch_office_info
	 * @mbg.generated  Tue Aug 22 09:20:20 CST 2017
	 */
	int insertSelective(BranchOfficeInfo record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table branch_office_info
	 * @mbg.generated  Tue Aug 22 09:20:20 CST 2017
	 */
	List<BranchOfficeInfo> selectByExample(BranchOfficeInfoExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table branch_office_info
	 * @mbg.generated  Tue Aug 22 09:20:20 CST 2017
	 */
	BranchOfficeInfo selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table branch_office_info
	 * @mbg.generated  Tue Aug 22 09:20:20 CST 2017
	 */
	int updateByExampleSelective(@Param("record") BranchOfficeInfo record,
			@Param("example") BranchOfficeInfoExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table branch_office_info
	 * @mbg.generated  Tue Aug 22 09:20:20 CST 2017
	 */
	int updateByExample(@Param("record") BranchOfficeInfo record, @Param("example") BranchOfficeInfoExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table branch_office_info
	 * @mbg.generated  Tue Aug 22 09:20:20 CST 2017
	 */
	int updateByPrimaryKeySelective(BranchOfficeInfo record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table branch_office_info
	 * @mbg.generated  Tue Aug 22 09:20:20 CST 2017
	 */
	int updateByPrimaryKey(BranchOfficeInfo record);
}