package com.goafanti.common.dao;

import com.goafanti.common.model.ScPublisher;
import com.goafanti.common.model.ScPublisherExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ScPublisherMapper {

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

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

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

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

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

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

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

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

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

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

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