package com.goafanti.common.dao;

import java.util.List;

import com.goafanti.app.bo.AppConfigBo;
import com.goafanti.common.model.AppConfig;
import com.goafanti.common.model.AppConfigExample;
import org.apache.ibatis.annotations.Param;

public interface AppConfigMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	long countByExample(AppConfigExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	int deleteByExample(AppConfigExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	int insert(AppConfig record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	int insertSelective(AppConfig record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	List<AppConfig> selectByExample(AppConfigExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	AppConfig selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	int updateByExampleSelective(@Param("record") AppConfig record, @Param("example") AppConfigExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	int updateByExample(@Param("record") AppConfig record, @Param("example") AppConfigExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	int updateByPrimaryKeySelective(AppConfig record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:21:41 CST 2018
	 */
	int updateByPrimaryKey(AppConfig record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table app_config
	 * @mbg.generated  Wed Jan 24 16:14:16 CST 2018
	 */
	AppConfigBo getAppRelease();
}