package com.goafanti.common.dao;

import com.goafanti.common.model.ScAttachment;
import com.goafanti.common.model.ScAttachmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ScAttachmentMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_attachment
	 * @mbg.generated  Tue Jun 26 18:28:00 CST 2018
	 */
	long countByExample(ScAttachmentExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_attachment
	 * @mbg.generated  Tue Jun 26 18:28:00 CST 2018
	 */
	int deleteByExample(ScAttachmentExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_attachment
	 * @mbg.generated  Tue Jun 26 18:28:00 CST 2018
	 */
	int deleteByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_attachment
	 * @mbg.generated  Tue Jun 26 18:28:00 CST 2018
	 */
	int insert(ScAttachment record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_attachment
	 * @mbg.generated  Tue Jun 26 18:28:00 CST 2018
	 */
	int insertSelective(ScAttachment record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_attachment
	 * @mbg.generated  Tue Jun 26 18:28:00 CST 2018
	 */
	List<ScAttachment> selectByExample(ScAttachmentExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_attachment
	 * @mbg.generated  Tue Jun 26 18:28:00 CST 2018
	 */
	ScAttachment selectByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_attachment
	 * @mbg.generated  Tue Jun 26 18:28:00 CST 2018
	 */
	int updateByExampleSelective(@Param("record") ScAttachment record, @Param("example") ScAttachmentExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_attachment
	 * @mbg.generated  Tue Jun 26 18:28:00 CST 2018
	 */
	int updateByExample(@Param("record") ScAttachment record, @Param("example") ScAttachmentExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_attachment
	 * @mbg.generated  Tue Jun 26 18:28:00 CST 2018
	 */
	int updateByPrimaryKeySelective(ScAttachment record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_attachment
	 * @mbg.generated  Tue Jun 26 18:28:00 CST 2018
	 */
	int updateByPrimaryKey(ScAttachment record);
}