package com.goafanti.common.dao;

import com.goafanti.common.model.ScAchievement;
import com.goafanti.common.model.ScAchievementExample;
import com.goafanti.sc.bo.inputAchievement;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ScAchievementMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_achievement
	 * @mbg.generated  Tue Jun 26 18:27:47 CST 2018
	 */
	long countByExample(ScAchievementExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_achievement
	 * @mbg.generated  Tue Jun 26 18:27:47 CST 2018
	 */
	int deleteByExample(ScAchievementExample example);

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

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_achievement
	 * @mbg.generated  Tue Jun 26 18:27:47 CST 2018
	 */
	int insert(ScAchievement record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_achievement
	 * @mbg.generated  Tue Jun 26 18:27:47 CST 2018
	 */
	int insertSelective(ScAchievement record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_achievement
	 * @mbg.generated  Tue Jun 26 18:27:47 CST 2018
	 */
	List<ScAchievement> selectByExample(ScAchievementExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_achievement
	 * @mbg.generated  Tue Jun 26 18:27:47 CST 2018
	 */
	ScAchievement selectByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_achievement
	 * @mbg.generated  Tue Jun 26 18:27:47 CST 2018
	 */
	int updateByExampleSelective(@Param("record") ScAchievement record, @Param("example") ScAchievementExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_achievement
	 * @mbg.generated  Tue Jun 26 18:27:47 CST 2018
	 */
	int updateByExample(@Param("record") ScAchievement record, @Param("example") ScAchievementExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_achievement
	 * @mbg.generated  Tue Jun 26 18:27:47 CST 2018
	 */
	int updateByPrimaryKeySelective(ScAchievement record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_achievement
	 * @mbg.generated  Tue Jun 26 18:27:47 CST 2018
	 */
	int updateByPrimaryKey(ScAchievement record);

	inputAchievement selectById(String id);
}