package com.goafanti.common.dao;

import com.goafanti.common.model.ScOrganization;
import com.goafanti.common.model.ScOrganizationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ScOrganizationMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sc_organization
     *
     * @mbg.generated Tue Jun 26 18:28:46 CST 2018
     */
    long countByExample(ScOrganizationExample example);

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

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

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

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

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

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

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

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

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

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

	int updateBypublisherId(ScOrganization o);
}