package com.goafanti.common.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.goafanti.common.model.Banners;
import com.goafanti.common.model.BannersExample;

public interface BannersMapper {
    /**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	long countByExample(BannersExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	int deleteByExample(BannersExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	int deleteByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	int insert(Banners record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	int insertSelective(Banners record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	List<Banners> selectByExample(BannersExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	Banners selectByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	int updateByExampleSelective(@Param("record") Banners record, @Param("example") BannersExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	int updateByExample(@Param("record") Banners record, @Param("example") BannersExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	int updateByPrimaryKeySelective(Banners record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table banners
	 * @mbg.generated  Thu Aug 30 08:27:53 CST 2018
	 */
	int updateByPrimaryKey(Banners record);

	List<Banners> findBannerList(Map<String, Object> params);

	int findBannerListCount(@Param(value = "sign") String sign);
}