package com.goafanti.common.dao;

import com.goafanti.common.model.ExpertPublish;
import com.goafanti.common.model.ExpertPublishExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ExpertPublishMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    long countByExample(ExpertPublishExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    int deleteByExample(ExpertPublishExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    int deleteByPrimaryKey(String id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    int insert(ExpertPublish record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    int insertSelective(ExpertPublish record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    List<ExpertPublish> selectByExample(ExpertPublishExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    ExpertPublish selectByPrimaryKey(String id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    int updateByExampleSelective(@Param("record") ExpertPublish record, @Param("example") ExpertPublishExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    int updateByExample(@Param("record") ExpertPublish record, @Param("example") ExpertPublishExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    int updateByPrimaryKeySelective(ExpertPublish record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table expert_publish
     *
     * @mbg.generated Wed Jan 31 14:57:15 CST 2018
     */
    int updateByPrimaryKey(ExpertPublish record);

	int checkExisting(ExpertPublish e);
}